The airdrop script allows sending tokens to multiple recipients on Solana, assuming that the recipients already have the mint ATA initialized, if not initialized it is skipped. The balances_post_content.json is read, splitted into batches of 22 transfers per transaction.

  • config virtual env:
    • cd solana-airdrop
    • python3 -m venv virtualenv
    • source virtualenv/bin/activate
    • pip install solana
  • create your own solana keypair: solana-keygen new --outfile id.json
  • python airdrop.py

Note: I've also created tests to use a fake mint: