Prepare
Install
Integrate aoffp into the project.
npm install aoffpInstall dependencies.
npm install
# or
yarn installSetup config
Create a wallet and save it to the wallets folder:
mkdir wallets
node ./generate.jsConfigure 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.jsCheck Balances:
The output result is similar:
Last updated