defi-agent-cli
Unified DeFi CLI for wallet setup, market discovery, positions, swaps, and rewards.
Quick Start
pnpm install
pnpm build
node dist/index.js --help
Core Commands
defi config: View and update CLI runtime configuration (including logLevel).
defi wallets: Manage tracked wallets and wallet groups (including wallets switch).
defi lending: Explore lending markets and prepare lending transactions.
defi vault: Explore vault products and prepare stake or unstake transactions.
defi lp: Sync and inspect liquidity pools and LP positions.
defi lst: Explore liquid staking markets and prepare stake or unstake transactions.
defi token: Inspect cached token prices and search token metadata.
defi balance: List wallet token balances with USD valuation.
defi swap: Create swap quotes and execute swaps.
defi rewards: Inspect claimable rewards and prepare reward claims.
Detailed command reference and examples: docs/cli-commands.md
Common Examples
defi config set logLevel error
defi wallets add --address 0xabc --name main
defi wallets switch main