A small bash script to generate new solana key & airdrop 3 SOL for testing applications with
bash ./create-new-wallet.sh
You should install solana
and have solana-test-validator runnning. Run the following if you don't
solana-test-validator --rpc-port 8899
bash ./create-new-wallet.sh
- New keypair will be generated without prompting for a BIP39 passphrase.
- Private key will be saved in file with the name
id-<count>_<public-key>.json
. - Public key also will be saved in pubkeys.txt as new line, like the following:
<count> | <public-key>
- Count will be incremented and saved in
count.txt