current location:Home >> Blockchain knowledge >> how do i solana airdrop to another wallet

how do i solana airdrop to another wallet

admin Blockchain knowledge 524

To perform a Solana airdrop to another wallet, you typically send SOL or SPL tokens (like USDC, BONK, etc.) to the recipient's wallet address. Here’s how you can do it:

1. Airdropping SOL (Native Token)

how do i solana airdrop to another wallet

If you want to send SOL to another wallet, you can:

  • Manually send SOL using a wallet like Phantom, Solflare, or Backpack.

  • Use the Solana CLI (if you're a developer).

Using Phantom Wallet (Browser Extension)

  1. Open your Phantom wallet.

  2. Click "Send".

  3. Paste the recipient’s Solana wallet address.

  4. Enter the amount of SOL you want to airdrop.

  5. Confirm the transaction.

Using Solana CLI (For Devnet/Testnet Airdrops)

If you're on Devnet (for testing), you can use the Solana CLI to airdrop free SOL:

bash
复制
下载
solana airdrop 1 RECIPIENT_WALLET_ADDRESS --url devnet

(Replace RECIPIENT_WALLET_ADDRESS with the target wallet.)

2. Airdropping SPL Tokens (USDC, BONK, etc.)

To send custom tokens (like meme coins or stablecoins), you need their token mint address and a wallet that supports SPL tokens.

Using Phantom Wallet

  1. Ensure the token is added to your wallet (if not, manually import it using its mint address).

  2. Click "Send", select the token (e.g., BONK, USDC).

  3. Enter the recipient’s wallet address and amount.

  4. Confirm the transaction.

Using Solana CLI (Advanced)

If you're a developer, you can airdrop SPL tokens programmatically:

spl-token transfer TOKEN_MINT_ADDRESS AMOUNT RECIPIENT_ADDRESS --fund-recipient --allow-unfunded-recipient

(Replace TOKEN_MINT_ADDRESS with the token’s mint, e.g., EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v for USDC.)

3. Mass Airdrops (For Multiple Wallets)

If you need to airdrop to many wallets at once, you can:

  • Use Solana’s @solana/web3.js library to batch transactions.

  • Use third-party airdrop tools (e.g., Birdeye, Jupiter’s tooling).

Example in JavaScript:

import { Connection, Keypair, PublicKey, Transaction, SystemProgram } from '@solana/web3.js';

const connection = new Connection("https://api.mainnet-beta.solana.com");
const senderWallet = Keypair.fromSecretKey(YOUR_PRIVATE_KEY);

async function airdropSOL(recipientAddress, amount) {
    const tx = new Transaction().add(
        SystemProgram.transfer({
            fromPubkey: senderWallet.publicKey,
            toPubkey: new PublicKey(recipientAddress),
            lamports: amount * 1000000000, // SOL to lamports
        })
    );
    await connection.sendTransaction(tx, [senderWallet]);
}

// Example: airdrop 1 SOL to a wallet
await airdropSOL("RECIPIENT_WALLET_ADDRESS", 1);

Important Notes

  • Mainnet SOL costs real money (no free airdrops).

  • Devnet/Testnet SOL is free (use solana airdrop command).

  • SPL tokens require gas (SOL) for transfers.

  • Always verify wallet addresses before sending.

If you have any questions or uncertainties, please join the official Telegram group: https://t.me/GToken_EN

GTokenTool

GTokenTool is the most comprehensive one click coin issuance tool, supporting multiple public chains such as TON, SOL, BSC, etc. Function: Create tokensmarket value managementbatch airdropstoken pre-sales IDO、 Lockpledge mining, etc. Provide a visual interface that allows users to quickly create, deploy, and manage their own cryptocurrencies without writing code.

Similar recommendations