Create your personal wallet on Solana blockchain
APACHE-2.0 License
go get -u github.com/spf13/cobra/cobra@latest
go get -u github.com/portto/[email protected]
git clone https://github.com/RiteshPuvvada/Personal-Solana-Wallet.git
cd Personal-Solana-Wallet
(rootkali)-[~/Desktop/solana/wallet]
# go run main.go
A CLI wallet application created in Go that interacts with the Solana blockchain.
Usage:
personal-wallet [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
createWallet Creates a new wallet
help Help about any command
importWallet Imports and existing wallet
requestAirdrop Request airdrop in Solana
transfer Transfer SOL
Flags:
-h, --help help for personal-wallet
-t, --toggle Help message for toggle
Use "personal-wallet [command] --help" for more information about a command.
go run main.go createWallet
go run main.go importWallet
go run main.go requestAirdrop 3
We can check the transaction hash on the Solana explorer to confirm the transaction.
go run main.go transfer <recepient public address> <amount in SOL>