solana-airdrop-checker

2.0.0 • Public • Published

Solana Airdrop checker

Prerequisite

  • Node

Install

npm install

Run

ts-node src/index.ts --addresses [your_path].txt --apikey [your_api_key]

NOTE:
[your_path].txt is the path to the file containing the list of addresses to check, that contains one address per line.

Example:

EtfaPcTB9xt4QD4ixdmffU7SLYraKXnDM6YMxpgoaz1o
EoJLNYSqtc36po2sD3NKZpv1NEu4UmNWTdG84uJVhNkU

Example

ts-node src/index.ts --addresses ./addresses.txt --apikey 123456789

Result:
┌─────────┬────────────────────────────────────────────────┬───────────┬─────┬──────┬─────────┬─────┬─────┬──────┬──────┬─────┬──────┬─────────────┐
│ (index) │ address                                        │ WEN       │ JTO │ HXRO │ PYTH    │ JUP │ LFG │ BONK │ FOMO │ RKT │ PONK │ BSKT        │
├─────────┼────────────────────────────────────────────────┼───────────┼─────┼──────┼─────────┼─────┼─────┼──────┼──────┼─────┼──────┼─────────────┤
│ 0       │ 'EtfaPcTB9xt4QD4ixdmffU7SLYraKXnDM6YMxpgoaz1o' │ '643,652' │ '0' │ '0'  │ '1,000' │ '0' │ '0' │ '0'  │ '0'  │ '0' │ '0'  │ '1,150,000' │
│ 1       │ 'EoJLNYSqtc36po2sD3NKZpv1NEu4UmNWTdG84uJVhNkU' │ '643,652' │ '0' │ '0'  │ '0'     │ '0' │ '0' │ '0'  │ '0'  │ '0' │ '0'  │ '400,000'   │
└─────────┴────────────────────────────────────────────────┴───────────┴─────┴──────┴─────────┴─────┴─────┴──────┴──────┴─────┴──────┴─────────────┘
Output eligible airdrop path: /Users/lyhv/Documents/crypto/solana_check_airdrop/src/output.json

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i solana-airdrop-checker

Weekly Downloads

132

Version

2.0.0

License

ISC

Unpacked Size

6.61 kB

Total Files

4

Last publish

Collaborators

  • lyhv