Skip to content

A merkle-based token distributor for the Solana network that allows distributing a combination of unlocked and linearly unlocked tokens.

License

Notifications You must be signed in to change notification settings

Access-Labs-Inc/distributor

 
 

Repository files navigation

merkle-distributor

A program for distributing tokens efficiently via uploading a Merkle root.

Claiming Airdrop via CLI

To claim via CLI instead of using https://jito.network/airdrop, run the following commands.

  1. Build the cli (must have rust + cargo installed):
cargo b -r
  1. Run claim with the proper args. Be sure to replace <YOUR KEYPAIR> with the full path of your keypair file. This will transfer tokens from the program account to a the associated token account owned by your keypair, creating it if it doesn't exist.
./target/release/cli --rpc-url https://api.mainnet-beta.solana.com --keypair-path <YOUR KEYPAIR> --airdrop-version 0 --mint <YOUR MINT> --program-id ADis3cccJHS6dmj8MPCG1NGGuXBN2ZSaaXFwKKU7UUgF claim --merkle-tree-path merkle_tree.json

About

A merkle-based token distributor for the Solana network that allows distributing a combination of unlocked and linearly unlocked tokens.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 41.3%
  • Python 35.9%
  • TypeScript 22.4%
  • Dockerfile 0.4%