by Solana Airdroper
Task: Write a script for the automatic sending of tokens and NFT to the Solana network to the address list.Implementation: A realised Python script based on Solana CLI with two operating modes:
1 .The user enters the token address name and the amount of tokens to be sent to each address in the .env configuration file, then puts a list of addresses in airdrop.txt and starts the script.2ndPRO mode: The script passes and performs sendings through the airdrop.csv file that contains 3 columns: token address, recipient address, number.Advantages of the script: Before the airdrop'a start, the script removes information about the number of recipients and the amount of SOL that will be spent on the airdrop.During the sending of tokens the script creates two success.csv and fail.csv files where it holds all the addresses and signatures of transactions of successful and unsuccessful sendings, after the end of the airdrop, this information is also removed.The script itself works with both ordinary tokens and NFT.Likewise, the script does not require RPC or proxy to work and there is no chance to capture any time-outs.PS: A script review is on my YouTube channel "Blockchain Developer"
1 .The user enters the token address name and the amount of tokens to be sent to each address in the .env configuration file, then puts a list of addresses in airdrop.txt and starts the script.2ndPRO mode: The script passes and performs sendings through the airdrop.csv file that contains 3 columns: token address, recipient address, number.Advantages of the script: Before the airdrop'a start, the script removes information about the number of recipients and the amount of SOL that will be spent on the airdrop.During the sending of tokens the script creates two success.csv and fail.csv files where it holds all the addresses and signatures of transactions of successful and unsuccessful sendings, after the end of the airdrop, this information is also removed.The script itself works with both ordinary tokens and NFT.Likewise, the script does not require RPC or proxy to work and there is no chance to capture any time-outs.PS: A script review is on my YouTube channel "Blockchain Developer"