Loading...
Loading...
Pay people in SOL or USDC, buy and sell tokens, check prices, manage Solana wallets, stake SOL, earn yield through lending, and track portfolio performance — all from the command line. No API keys, no private key env vars. Use when the user wants to send crypto, trade, check balances, earn yield, or see how their holdings are doing.
npx skill4agent add solanaguide/solana-cli solana-payments-wallets-tradingnpxnpx @solana-compass/cli config set rpc.url https://your-rpc-endpoint.com
npx @solana-compass/cli wallet create --name my-walletnpm install -g @solana-compass/clisolsol config set rpc.url https://your-rpc-endpoint.com
sol wallet create --name my-walletsol token send 50 usdc GkX...abc
sol token send 2 sol 7nY...xyz
sol token send 1000 bonk AgE...def --yes--yes--jsonsol token browse trending # what's hot right now
sol token browse top-traded --interval 24h # highest volume over 24h
sol token browse recent --limit 10 # just launched
sol token browse lst # liquid staking tokenstoken infotoken pricesol token swap 50 usdc bonk # buy BONK with USDC
sol token swap 1.5 sol usdc # sell SOL for USDC
sol token swap 50 usdc bonk --quote-only # preview without executingsol token price sol
sol token price sol usdc bonk eth # multiple at oncesol wallet balance # all tokens with USD values
sol wallet balance trading # specific wallet by name
sol token list # just token balances
sol wallet list # all your wallets~/.sol/wallets/sol wallet create # new wallet, auto-named
sol wallet create --name trading # pick a name
sol wallet import --solana-cli # import from Solana CLI
sol wallet set-default trading # switch active wallet--wallet <name>sol stake new 10 # stake 10 SOL
sol stake list # your stake accounts + claimable tips
sol stake claim-mev # compound MEV rewards
sol stake withdraw 7gK...abc # unstakesol lend rates usdc # current APY
sol lend deposit 100 usdc # start earning
sol lend borrow 500 usdc --collateral sol
sol lend positions # everything you've got opensol portfolio # the full picture
sol portfolio snapshot --label "monday"
sol portfolio compare # what changed since last snapshot
sol portfolio pnl # profit and loss over time--json{ "ok": true, "data": { ... }, "meta": { "elapsed_ms": 450 } }UPPER_SNAKE_CASESWAP_FAILEDokdatasol network # epoch, TPS, staking APY
sol tx 4xK9...abc # look up any transaction
sol config set rpc.url <url> # change RPC endpoint10000001m5000050ksol token info <symbol>--quote-only--wallet <name>~/.sol/config.tomlfalse--helpsol <group> --helptrue[permissions]
canTransfer = false
canSwap = false
canStake = false
canWithdrawStake = false
canLend = false
canWithdrawLend = false
canBurn = false
canCreateWallet = false
canRemoveWallet = false
canExportWallet = false| Permission | Gated subcommands |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
token browse/price/info/listwallet list/balancestake listlend rates/positionsportfolionetworktxsol config setconfig.toml