Skip to content

Latest commit

 

History

History
 
 

aptos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Aptos Examples

Prerequisite

  1. Install Aptos in your local machine

Download here: https://aptos.dev/cli-tools/aptos-cli-tool/

Note: Our examples are tested on Aptos version 1.0.4

  1. Setup Env

To set up your environment:

  • If you don't have a .env file, run npm run setup to create one quickly.
  • If you already have a .env file but it's missing the APTOS_TOKEN_LINKER_ADDRESS and APTOS_ADDRESS variables, copy them from the .env.example` file.
  1. Build the Aptos modules
npm ci
npm run build
npm run build-aptos
  1. Run the aptos local network
aptos node run-local-testnet --with-faucet --force-restart
  1. Run the local server
npm run start

Basic

Advanced