Skip to content

Latest commit

 

History

History
72 lines (51 loc) · 1.81 KB

File metadata and controls

72 lines (51 loc) · 1.81 KB

Solana Token Scanner and Transfer Tool

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.

Custom Solana development

https://t.me/@zen_devs

Features

  • 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

Prerequisites

  • Node.js (v14 or later recommended)
  • npm (comes with Node.js)

Installation

  1. Clone this repository:
git clone https://github.com/pinkyhW/Solana-Wallet-Scanner-and-Airdrop-Tool.git
cd Solana-Wallet-Scanner-and-Airdrop-Tool
  1. Install dependencies:
npm install
  1. 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.

Usage

Run the program with:

npm start

Follow the prompts to:

  1. Select the network (mainnet or devnet)
  2. View your token balances
  3. Choose to send tokens to child wallets or airdrop to public keys
  4. Select the token to send
  5. Specify the amount and number of recipient wallets
  6. Choose distribution method (even or random)
  7. Select fee payer (main wallet or recipient wallets)

Security

  • Never share your .env file or private keys.
  • This tool is for educational and development purposes. Use on mainnet at your own risk.

License

This project is open source and available under the MIT License.