SolFort is a command-line interface (CLI) wallet for Solana that allows users to generate keypairs, request airdrops, send SOL, and check balances. It's designed to be a simple yet powerful tool for interacting with the Solana blockchain.
- Generate new Solana keypairs
- Request SOL airdrops (on devnet/testnet)
- Send SOL to other addresses
- Check the balance of any Solana address
- Rust and Cargo (latest stable version)
- Solana CLI tools (optional, but recommended)
-
Clone the repository:
git clone https://github.com/codewithmide/solfort cd solfort
-
Build the project:
cargo build --release
-
The binary will be available at
target/release/solfort
solfort [COMMAND] [ARGUMENTS]
Use solfort --help
to see a list of all available commands.
solfort generate-keypair
This will create a new Solana keypair and save it in the solfort
directory.
solfort airdrop <AMOUNT> <RECIPIENT_PUBKEY>
Example:
solfort airdrop 1.5 7dE8vUD3vz3jwL6H3kfei2thNwopKGC99H7XE3mfcQu7
This requests an airdrop of 1.5 SOL to the specified public key. Note that airdrops are only available on devnet and testnet.
solfort send <AMOUNT> <SENDER_PUBKEY> <RECIPIENT_PUBKEY>
Example:
solfort send 0.1 7dE8vUD3vz3jwL6H3kfei2thNwopKGC99H7XE3mfcQu7 AnotherValidPublicKeyHere
This sends 0.1 SOL from the sender's address to the recipient's address.
solfort balance <PUBKEY>
If no public key is provided, it will use the default from the config file.
Example:
solfort balance 7dE8vUD3vz3jwL6H3kfei2thNwopKGC99H7XE3mfcQu7
This checks the balance of the specified Solana address.
SolFort uses a configuration file to store default settings. The config file is located at solfort/config.json
and is created automatically when you first run a command.
You can manually edit this file to change settings such as the default Solana cluster (e.g., devnet, testnet, or mainnet-beta).
SolFort provides detailed error messages to help you troubleshoot issues. If you encounter an error, read the message carefully for information on how to resolve it.
SolFort is open source and contributions are welcome! If you're interested in contributing, please fork the repository and submit a pull request.
To run the test suite:
cargo test
For questions, issues, or contributions, please open an issue on the GitHub repository or contact the maintainer at [email protected].
Thank you for using SolFort! We hope this tool makes your Solana development experience smoother and more enjoyable.