This is a command-line tool for scanning Solana tokens and SOL balances, and transferring tokens to multiple wallets. It supports both mainnet and devnet networks.
- Scan and display SOL balance and token balances
- Transfer SOL or tokens to multiple wallets
- Support for child wallets and public key addresses
- Even or random distribution of tokens
- Option to choose fee payer (main wallet or recipient wallets)
- Detailed transaction summaries and error handling
- Node.js (v14 or later recommended)
- npm (comes with Node.js)
- Clone this repository:
git clone https://github.com/pinkyhW/Solana-Wallet-Scanner-and-Airdrop-Tool.git
cd Solana-Wallet-Scanner-and-Airdrop-Tool
- Install dependencies:
npm install
- Create a
.env
file in the root directory with the following content:
DEFAULT_MAINNET_RPC=https://api.mainnet-beta.solana.com
DEFAULT_DEVNET_RPC=https://api.devnet.solana.com
MAIN_WALLET_PRIVATE_KEY=your_private_key_here
Replace your_private_key_here
with your actual private key.
Run the program with:
npm start
Follow the prompts to:
- Select the network (mainnet or devnet)
- View your token balances
- Choose to send tokens to child wallets or airdrop to public keys
- Select the token to send
- Specify the amount and number of recipient wallets
- Choose distribution method (even or random)
- Select fee payer (main wallet or recipient wallets)
- Never share your
.env
file or private keys. - This tool is for educational and development purposes. Use on mainnet at your own risk.
This project is open source and available under the MIT License.