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>
npm run generate-lp-address-list -- --amount <airdrop amount>
npm run generate-user-address-list -- --amount <airdrop amount>
npm run generate-merkle-root -- --input data/drc_users.json --output data/merkle_users.json
npm run generate-merkle-root -- --input data/drc_lp_holders.json --output data/merkle_lp.json
npm run verify-merkle-root -- --input data/merkle_users.json
npm run verify-merkle-root -- --input data/merkle_lp.json
Mainnet
npm run deploy
Ganache
npm run deploy:ganache
Ganache (manual instance of ganache)
npm run deploy:ganachelocal