A massive airdrop tool
- git clone https://github.com/en/airdrop.git
- cd airdrop
- npm install
- npm install -g truffle
- edit migrations/2_deploy_contracts.js, replace 0xfFF9C805F14E34664ADDC108a30BCC2034cA4a87 to your token contract address
- truffle compile
- modify truffle.js, add mainnet configuration
- truffle migrate --network mainnet
- modify the following lines in scripts/aridrop.js
const CONTRACT_ADDRESS = '0xe5203EE823962ca34b70F8a137c68894C869eFa8' // your airdrop contract address
const TOKEN_DECIMALS = 18
const RPC_URL = 'http://localhost:8545'
const gas = 4500000
const gasPrice = 330 * Math.pow(10, 9) // 330 Gwei
await delay(90000)
- fill in airdrop data in scripts/data/addrs.csv
- npm run airdrop YOUR-WALLET-PRIVATE-KEY