0.0.1 • Published 4 years ago

ethereum-cli v0.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Airdrop

To run an airdrop, first clone this repo and then run yarn to install dependencies.

Create a file in the directory named .private_key and paste in a key. Do not use you usual wallet for this. One way to create a private key is to generate a new account with Metamask and then under 'Account Details' 'Export Private Key'.

Now update settings.json:

  • Set the provider to the correct network, e.g. mainnet
  • Update config including the airdrop amount
  • Populate the array of addresses

Run yarn start and the bot will tell you how much it needs e.g.

Script account: 0x44446D0d742c7BA82238Fe5Ad047daba53F76dd9 has 0 ETH
Bot cannot afford this drop - we need 0.0020420042 more

Send the script account's address exactly the eth specified (make sure you are on the same network!) and then run the bot again.