Merkle Airdrop is a smart contract used for bulk token distribution on the Ethereum network. Unlike the traditional Airdrop for sending tokens to people, Merkle Airdrop is the new way to share tokens to many users on the Ethereum blockchain platform simultaneously. This process is efficient, cost-effective, faster, secure and makes it effortless for businesses to reach a large pool of their customers or users.
By developing a flawless algorithm, using Merkle Airdrop allows you to simultaneously solve multiple problems associated with an extensive directory of user addresses using a smart contract. The solution lies in the fact that the contract stores one number known as the Merkle-root, and the user or customer then confirms if the address is whitelisted.
What is an Airdrop?
An airdrop is an event when a project decides to give tokens away to a group of users. Traditional airdrop methods involve sending tokens to thousands of random addresses, many of whom might not even be interested or aware of the project existence, and they consider it spam.
What is a Merkle Tree?
A Merkle tree is a cryptography solution in smart contracts that distributes tokens to specific users instead of randomly. It is a cryptographic structure that allows secure and scalable verification of token ownership using proofs.
How Does Merkle Airdrop Work?
Based on the Merkle Tree (also referred to as hash tree), a solution widely applied in cryptography, this smart contract is centered around a fundamentally different concept: instead of sending tokens to every single address, the distributor simply specifies users who are allowed to receive tokens in the so-called whitelist. Now it is the user who has to ask for the transfer to happen, with all required calculations being shifted to the user respectively.
The contract stores one number known as the Merkle-root, and the user or customer then confirms if the address is whitelisted. This process helps to verify the integrity of the data source.
Users have to validate that their account is included in the list by carrying out a massive calculation on the client side and paying the transfer fees. Pre-extracted wallet addresses are hashed using the Merkle tree, and the final Merkle Root is derived, with the Merkle proof verifying that the root is obtained by using the hash value of the leaf element and other leaves.
Advantages
- Less ether is used for transactions requiring tokens even though the amount needed for gas depends on the size of the generated whitelist.
- The client-side application performs all the necessary operations.
- The launched smart contract does not require any support or surveillance by the programmer.
- This process is efficient, cost-effective, faster, and secure, making it effortless for businesses to reach a large pool of their customers or users.
- Project owners prevent sending tokens to random people — the contract is programmed to verify if an address is whitelisted.
- Transaction cost is shifted to the user.
- Users only receive tokens they want on their wallets, creating an ecosystem of people who are genuinely interested in the project.
Disadvantages
- The address list needs to be uploaded to a public resource.
- The client code will have to process all contact details in the whitelist and undergo quite resource-intensive calculations.
Case Study: LOTTO (Lotto Finance)
Expert DeFi developers at Applicature implemented the Merkle Airdrop in a popular project known as LOTTO, a token for the lotto finance lottery. LOTTO was the first-ever lottery token distributed via Airdrop to DeFi users, and the first 100% decentralized lottery token on Ethereum.
The client collected over 900,000 unique addresses among token holders on the lottery smart contract blockchain that were whitelisted. A sizeable number of individuals claimed the lotto finance token.
The project owners were satisfied with the Merkle Airdrop algorithm success developed by blockchain DeFi developers from Applicature.
Conclusion
Merkle Airdrop represents a significant advancement over traditional token distribution methods. By shifting computation to the client side and using cryptographic proofs to verify eligibility, it enables efficient, cost-effective, and targeted airdrops at scale. Contact our DeFi developers to discuss implementing Merkle Airdrop for your project.
Need help with a blockchain project?
Applicature has been building blockchain solutions since 2017. Talk to our experts.
Get a Free Consultation