Skip to main content

Crate solvela_client_cli_args

Crate solvela_client_cli_args 

Source
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§

GatewayArgs
CLI arguments for gateway connection.
RpcArgs
CLI arguments for Solana RPC connection.
WalletArgs
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.