Skip to content
 
 

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages