Open h4x3rotab opened 4 years ago
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
The funding of 500.0 USDT (500.0 USD @ $1.0/USDT) attached to this issue has been cancelled by the bounty submitter
Done. Launched at: https://award.phala.network
ETH gas price has already skyrocketed. We need a better way to reduce the costs for airdrop.
"Merkle Airdrop" is a solution. We ask the users to claim instead of sending the rewards. It's unnecessary to store the reward list on-chain at all. We can just keep a merkle root of the list so that publishing an airdrop is O(1), and validate the merkle inclusion proof each time a user claims the reward.
There are reference implementations. This one has both frontend and contract, but it's based on Aragon. We should make the following changes:
transferFrom
instead of minting new token or transfer from its own account