This is the official repository for Airdrop Merkle Smart Contract using Truffle Framework.
Airdrop Merkle contract allows to cryptographically prove that an element is contained in a set without revealing the entire set.
See AirdropMerkle to understand how merkle trees work.
To install the latest version of Node.js, click here and follow the steps.
To install truffle, run the following command:
npm i -g truffle
npm i
All the testing scripts are under the test
folder. To run the test run the following commands:
$ truffle test
I have already deployed a sample contract to Goerli testnet network. You can play with it.
Contract | Token address |
---|---|
AirdropMerkle |
0x97C4Ca356B3c9dF92EFA2147a1E550F07427e1c3 |