Prepare

Install

Integrate aoffp into the project.

npm install aoffp

Install dependencies.

npm install
# or 
yarn install

Setup config

Create a wallet and save it to the wallets folder:

mkdir wallets
node ./generate.js

Configure WALLET1 and WALLET2 as environment variables in the .env.local file:

export $(cat .env.local | xargs)

Claim test tokens

The example supports $HELLO and $KITTY as test tokens, which can be obtained using the following commands:

node ./airdrop.js

Check Balances:

The output result is similar:

Last updated