Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[contracts] feat: Implement Merkle Airdrop Support for Initial Token Distribution #28

Open
AbdelStark opened this issue Dec 13, 2023 · 5 comments
Assignees
Labels

Comments

@AbdelStark
Copy link
Contributor

Issue: Implement Merkle Airdrop Support for Initial Token Distribution

Description

This issue aims to implement Merkle airdrop support for the initial distribution of tokens in the Unruggable Memecoin project. This feature will enable users to claim their allocated tokens by submitting a Merkle proof, verifying their inclusion in the eligibility Merkle tree. The Merkle root for the airdrop eligibility will be provided during the deployment of the token.

Requirements

  1. Merkle Root Integration: Include a parameter for the Merkle root in the token deployment process, representing the root of the airdrop eligibility tree.
  2. Claim Function: Develop a smart contract function that allows users to claim their tokens by submitting a valid Merkle proof.
  3. Verification Process: Implement a verification mechanism in the contract to check the submitted Merkle proof against the stored Merkle root.
  4. Efficient Claiming Process: Optimize the claiming process to be gas-efficient and user-friendly.

Implementation Notes

  • Ensure the accuracy and security of the Merkle proof verification process.
  • The Merkle root should be immutable post-deployment to maintain the integrity of the airdrop.
  • Provide clear documentation and examples on how users can generate and submit their Merkle proofs.
  • Thoroughly test the claim functionality to handle various cases, including invalid proofs or attempts to claim more than once.
@Akashneelesh
Copy link
Contributor

Hey @abdelhamidbakhta I would like to take this issue could you assign this to me.
Thanks

@AbdelStark
Copy link
Contributor Author

Hey @abdelhamidbakhta I would like to take this issue could you assign this to me. Thanks

great, assigned to you

@Akashneelesh
Copy link
Contributor

Hey @abdelhamidbakhta I would like to take this issue could you assign this to me. Thanks

great, assigned to you

Thank you

@cpp-phoenix
Copy link
Contributor

Hey, Is it closed? Otherwise I can work on it

@0xDegenDeveloper
Copy link

Also curious if this issue is still open, can tackle it if so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants