Crates.io | sowa |
lib.rs | sowa |
version | 1.1.0 |
source | src |
created_at | 2024-07-31 00:54:34.910714 |
updated_at | 2024-07-31 00:54:34.910714 |
description | A Solana Wallet CLI |
homepage | https://github.com/SAMAD101/sowa |
repository | https://github.com/SAMAD101/sowa |
max_upload_size | |
id | 1320490 |
size | 134,072 |
Sowa (SOlana-WAllet) is a command-line interface tool for managing Solana wallets and performing basic operations on the Solana blockchain.
Clone the repository:
git clone https://github.com/yourusername/sowa.git
cd sowa
Build the project:
cargo build --release
The binary will be available at target/release/sowa
You can run Sowa using either cargo run
or the compiled binary directly. Here are some example commands:
cargo run -- create-account
This will generate a new keypair and save it to ~/.config/sowa/keypair.json
.
cargo run -- balance <PUBKEY>
Replace <PUBKEY>
with the address you want to check.
cargo run -- send <TO_PUBKEY> <AMOUNT>
This sends the specified amount of SOL to the given address.
cargo run -- history
This command displays the transaction history for the current account.
View current RPC URL:
cargo run -- config
Update RPC URL:
cargo run -- config <NEW_RPC_URL>
Sowa stores its configuration in ~/.config/sowa/config.json
. The default RPC URL is set to the Solana devnet. You can change this to mainnet-beta or testnet as needed.
~/.config/sowa/keypair.json
. Keep this file safe and do not share it with anyone.