Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samad101/sowa-cli
A Solana CLI wallet manager
https://github.com/samad101/sowa-cli
solana solana-wallet web3
Last synced: 28 days ago
JSON representation
A Solana CLI wallet manager
- Host: GitHub
- URL: https://github.com/samad101/sowa-cli
- Owner: SAMAD101
- License: unlicense
- Created: 2024-07-23T17:26:41.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-31T01:06:41.000Z (4 months ago)
- Last Synced: 2024-10-06T06:56:22.891Z (about 1 month ago)
- Topics: solana, solana-wallet, web3
- Language: Rust
- Homepage: https://crates.io/crates/sowa
- Size: 57.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SoWa - Solana Wallet CLI
Sowa (SOlana-WAllet) is a command-line interface tool for managing Solana wallets and performing basic operations on the Solana blockchain.
## Features
- Create new Solana accounts
- Check account balances
- Send SOL transactions
- View transaction history
- Configurable RPC endpoint## Installation
### Prerequisites
- Rust and Cargo
- Git### Building from source
1. Clone the repository:
```bash
git clone https://github.com/yourusername/sowa.git
cd sowa
```2. Build the project:
```bash
cargo build --release
```3. The binary will be available at `target/release/sowa`
### Using Cargo
```bash
cargo install sowa
```## Usage
You can run Sowa using either `cargo run` or the compiled binary directly. Here are some example commands:
### Create a new account
```bash
sowa create-account
```This will generate a new keypair and save it to `~/.config/sowa/keypair.json`.
### Check account balance
```bash
sowa balance
```Replace `` with the address you want to check.
### Send SOL
```bash
sowa send
```This sends the specified amount of SOL to the given address.
### View transaction history
```bash
sowa history
```This command displays the transaction history for the current account.
### Configure RPC URL
View current RPC URL:
```bash
sowa config
```Update RPC URL:
```bash
sowa config
```## Configuration
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.
## Security Notes
- The keypair is stored locally at `~/.config/sowa/keypair.json`. Keep this file safe and do not share it with anyone.
- Always double-check addresses when sending transactions to avoid losing funds.