Sol Batch Token Transfer CSV
This script can batch transfer any SPL token to multiple addresses listed in a CSV, and then save the tx hash to a new CSV. You can use the following mainnet fork RPC to test the functionalities for free.
- Mainnet: https://api.mainnet-beta.solana.com
- Mainnet Fork: https://rpc-mainnet-fork.dappio.xyz
Send test SOL to Z Vault
solana transfer 7PDqBQdPMZYiF2iS9ANbc1qYXL2QMkNv6aW9STgu8iNb 0.5 --allow-unfunded-recipient --url https://rpc-mainnet-fork.dappio.xyz
solana balance 7PDqBQdPMZYiF2iS9ANbc1qYXL2QMkNv6aW9STgu8iNb --url https://rpc-mainnet-fork.dappio.xyz
solana balance HXcdCwwu1wkS882Gs8rRV6f83MyestRyB5HmWGwuiFiq --url https://rpc-mainnet-fork.dappio.xyz
Running the Project
- You have a SPL token
- Create
data.csv
referencingdata.csv.example
- Create
.env
referencing.env.example
cargo run
to batch transfer token- Result will be saved in
done.csv