A simple CLI tool to manage Solana wallets and perform basic operations like creating keypairs, checking balances, airdropping SOL, and transferring SOL between wallets.
Creates a new wallet and stores the private and public keys in a JSON file.
bun src/wallet.ts create keypair <walletname>
This command will airdrop SOL from devnet into the given walletname which has to be already created
bun src/wallet.ts getsol <walletname> <amount>
Checks the balance for the given wallet
bun src/wallet.ts balance <walletname>
Transfers SOL from walletname1(sender) to walletname2(receiver)
bun src/wallet.ts transfer <walletname1> <walletname2> <amount>