The following assumes the use of node@>=10
and python>=3
.
Copy .env.example
to .env
and update variables
npm install
npm run build
npm run test
./scripts/get_data.sh <INFURA_PROJECT_ID> <to-block-hex>
npm run generate-address-list -- --amount <total airdrop amount> -b <drc-per-lp-token>
npm run generate-uni-address-list -- --amount <amount per account>
npm run generate-merkle-root -- --input data/address-list.json --output data/merkle_data.json
npm run generate-merkle-root -- --input data/uni-address-list.json --output data/uni_merkle_data.json
npm run verify-merkle-root -- --input data/merkle_data.json
npm run verify-merkle-root -- --input data/uni_merkle_data.json
npm run verivy-amounts
Mainnet
npm run deploy
Ganache
npm run deploy:ganache
Ganache (manual instance of ganache)
npm run deploy:ganachelocal