Expand description
Shared CLI argument structs and wallet loading for SolvelaClient binaries.
Provides reusable clap::Args groups (WalletArgs, GatewayArgs, RpcArgs)
and helper functions for wallet file I/O so that the proxy and CLI binaries
share identical wallet-loading logic.
Structs§
- Gateway
Args - CLI arguments for gateway connection.
- RpcArgs
- CLI arguments for Solana RPC connection.
- Wallet
Args - CLI arguments for wallet configuration.
Functions§
- expand_
home - Expand a leading
~in a path to the user’s home directory. - load_
wallet - Load a wallet from an environment variable (priority) or file (fallback).
- save_
wallet - Save raw keypair bytes to a file in Solana CLI JSON byte-array format.