CLI Overview
All 50 StarkFi CLI commands at a glance — grouped by feature area
Before you begin: Install StarkFi and authenticate your wallet before using CLI commands.
Command Groups
| Group | Commands | Description |
|---|---|---|
| Authentication | auth login, auth verify, auth logout | Email OTP authentication |
| Wallet | address, balance, send, deploy | Wallet management |
| Trading | trade, multi-swap | Token swaps via Fibrous |
| Staking | stake, unstake, rewards, pools, validators, stake-status | Staking operations |
| Lending | lend-pools, lend-supply, lend-withdraw, lend-borrow, lend-repay, lend-close, lend-status, lend-monitor, lend-auto | Vesu V2 lending |
| DCA | dca-preview, dca-create, dca-list, dca-cancel | Dollar-Cost Averaging |
| Troves | troves-list, troves-position, troves-deposit, troves-withdraw | DeFi yield vaults |
| LST | lst-position, lst-stats, lst-stake, lst-redeem, lst-exit-all | Endur liquid staking |
| Confidential | conf-setup, conf-balance, conf-fund, conf-transfer, conf-withdraw, conf-ragequit, conf-rollover | Tongo Cash (ZK privacy) |
| Portfolio | portfolio, portfolio-rebalance | DeFi dashboard & optimization |
| Operations | batch | Atomic multicall |
| Configuration | config | RPC, network, gas settings |
| System | status, tx-status, mcp-start | Status checks, MCP server |
Global Flags
Available on all commands:
| Flag | Description |
|---|---|
--json | Output as JSON instead of formatted table |
--simulate | Dry-run — estimate fees without executing (transaction commands only) |
--help | Show help for any command |
Quick Start
# 1. Authenticate
starkfi auth login user@example.com
starkfi auth verify user@example.com 123456
# 2. Check your wallet
starkfi balance
starkfi address
# 3. Swap tokens
starkfi trade 0.1 ETH USDC
# 4. Check transaction
starkfi tx-status 0x123abc...
# 5. View full portfolio
starkfi portfolioSimulation
Every transaction command supports --simulate for dry-run execution:
starkfi trade 100 USDC ETH --simulate
starkfi send 10 STRK 0x04a3... --simulate
starkfi batch --swap "0.1 ETH USDC" --stake "100 STRK karnot" --simulateSimulation returns estimated fees, call count, and validates the transaction without spending gas.
Last updated on