#Airdrop
//////////DEPLOYING CONTRACTS/////////////////
-
Go to Remix - Solidity IDE and copy and paste both files
-
Under Airdrop Tokens file, deploy "Chad Coin" Contract
-
Under Airdrop Contract file, deploy 'Airdrop' Contract with arguments ~ 'Address of "Chad Coin" Contract 'Address of deployer of "Chad Coin" Contract 'Fixed amount of tokens to airdrop'
-
Access 'Chad Coin' Contract, go to 'approve' function and use arguments below and then click approve 'Address of "Airdrop" Contract 'Amount of tokens allowed to airdrop in total'
/////////INTERACTING WITH AIRDROP////////////////
- Create or use an existing MyEtherWallet address
- Go to 'Contracts' tab under MyEtherWallet and copy and paste address and ABI of 'Airdrop' Contract
- Click access, select function 'drop' and finally generate transaction