Skip to content

jshiohaha/bulk-airdrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bulk Airdrop

Disclaimer: This script was written quickly & not tested thoroughly. There are probably bugs. If you find some & feel so inclined, PRs for fixes are welcomed 🙂

Tired of repeatedly typing solana airdrop? Well, now you don't have to 🤝

You can use this script to make the process a little less painful. Still, please be mindful and don't infinitely airdrop yourself devnet/testnet SOL.

Note: this might be obvious to some, but you cannot airdrop yourself SOL on mainnet-beta. If you try, we will throw an error.

Installation

  1. Clone the repo
  2. Run yarn
  3. Done! That (hopefully) wasn't too painful.

Now, you should be able to run the following command to get some SOL:

ts-node src/index.ts bulk_airdrop --env [network] --amount [amount] --destination [destination]

where

  • network = on which network to request airdrops. This script is really only useful on devnet or testnet. You can't airdrop SOL on mainnet-beta, and you can airdrop an unlimited amount on localnet.
  • amount = the amount of SOL to airdrop in SOL, not lamports
  • destination = public key of the wallet you want to fund via the airdrop

License

There is no license. Do whatever you want with this script.

About

Script to bulk airdrop SOL to a wallet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published