Tested node version 16.15
yarn
Required env variables can be found in the .env.example file. Copy .env.example to .env and fill in the missing variables.
wallets: number of wallets to use
fund: the amount of native tokens per wallet
node ./src/batchMinter.js --stage=fund --wallets=10 --fund=0.02
mintAmount: the amount of ERC20 tokens to mint
node ./src/batchMinter.js --stage=mint --wallets=10 --mintAmount=10
node ./src/batchMinter.js --stage=transfer --wallets=10
node ./src/batchMinter.js --stage=refund --wallets=10
The amount of gwei for gas price
--gasPrice=0.3