npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

claimy

v0.4.0

Published

Solana airdrop CLI: snapshot SPL holders, build merkle trees, deploy distributors.

Downloads

118

Readme

claimy (CLI)

npm downloads License: MIT

Command-line tool for running a Solana SPL / Token-2022 airdrop end-to-end: snapshot holders, weight allocations, build a Jupiter-compatible merkle tree, verify proofs.

Part of the claimy toolkit. See the repo for the SDK (@claimy/sdk) and the React widget (@claimy/widget).

Install

# global
npm install -g claimy

# or one-shot
npx claimy --help

Environment

All commands that touch the chain accept --rpc. If not passed, the CLI reads SOLANA_RPC_URL or HELIUS_RPC_URL from the environment.

export SOLANA_RPC_URL="https://your-rpc-provider/…"

The CLI never reads or writes a private key. If a command needs one, it's the wrong CLI.

Commands

| Command | What it does | |---|---| | airdrop snapshot | Fetch every SPL holder of a mint, write holders.csv | | airdrop weight | Apply a weighting strategy (linear / sqrt / tiered / uniform) | | airdrop tree | Build a Jupiter-compatible merkle tree → proofs.json + root.txt | | airdrop stats | Summary of a proofs file (root, claimants, totals) | | airdrop verify | Verify an owner's proof against the recorded root (local, no chain) | | airdrop format | Minify / pretty-print proofs.json for hosting |

End-to-end example

# 1. snapshot every holder of a source mint
airdrop snapshot \
  --mint 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU \
  --exclude-cex \
  -o holders.csv

# 2. weight the holders (sqrt = anti-whale)
airdrop weight \
  --input holders.csv \
  --mode sqrt \
  --total 1000000000000 \
  --output allocations.csv

# 3. build a merkle tree for YOUR airdrop mint
airdrop tree \
  --input allocations.csv \
  --mint <YOUR_AIRDROP_MINT> \
  --decimals 6

# 4. sanity check
airdrop stats -i proofs.json
airdrop verify -i proofs.json --owner <SAMPLE_WALLET>

# 5. deploy a Jupiter merkle-distributor with root.txt
#    (lock.jup.ag UI works today; `airdrop deploy` lands in v0.4)

# 6. host proofs.json on any static CDN, ship the claim page

Leaf format

Leaves are:

keccak256( index_le_u64 || owner_pubkey_32 || amount_le_u64 )

Matches the Jupiter merkle-distributor convention exactly — so proofs produced here verify against any Jupiter distributor without modification. Full details in docs/tree-format.md.

Exit codes

  • 0 success
  • 1 user error (missing flag, bad file, no RPC configured)
  • 2 network / RPC error
  • 3 on-chain / verification mismatch (verify command only)

Full reference

See docs/cli.md for every flag on every command and common pipelines.

License

MIT — see LICENSE.