This project is a simple command-line tool to check the balance and staked amount of a Solana wallet address.
- Fetch current balance of a Solana wallet
- Fetch staked balance of a Solana wallet
- Display results in a tabular format
- Go 1.22 or higher
- Clone this repository:
git clone https://github.com/umit144/solana-balance-checker
- Navigate to the project directory:
cd solana-balance-checker
Run the program with:
go run main.go
When prompted, enter a valid Solana wallet address.
To run the tests, use the following command:
go test
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.