troves
Troves DeFi Vaults
Manage Troves yield vault strategies on Starknet: browse curated vault strategies, deposit tokens to earn yield, and withdraw from positions. Strategies range from single-asset vaults to dual-asset LP positions (e.g. Ekubo CL pools).
Prerequisites
- Active session required.
- Sufficient token balance for deposits + gas fees.
Rules
- BEFORE any deposit, you MUST run
npx starkfi@latest troves-listto discover available strategies and their current APY, TVL, and risk factors. - BEFORE depositing, check
balanceto confirm the user has enough of the required deposit token(s). - Use
troves-positionto check the user's current vault positions before withdrawing. - Risk awareness: Always inform the user of the strategy's
riskFactor(1.0 = low, 5.0 = high) andisAuditedstatus before depositing. - Suggest using
--simulatefirst for large deposits to verify the transaction would succeed. - AFTER any transactional operation (deposit, withdraw), verify with
tx-status. - Only deposit into strategies with status
Active. Warn if a strategy isPausedorDeprecated. - Dual-asset strategies: When a strategy has 2 deposit tokens (e.g.
STRK, ETH), you MUST provide--amount2and--token2flags in addition to the primary amount and token. Omitting these will produce a descriptive validation error explaining exactly which parameters are missing.
Commands
# List all available strategies
npx starkfi@latest troves-list [--json]
# Check current vault positions
npx starkfi@latest troves-position <strategy-id> [--json]
# Deposit into a strategy (single-asset)
npx starkfi@latest troves-deposit <amount> <strategy-id> [--token <symbol>] [--simulate] [--json]
# Deposit into a strategy (dual-asset)
npx starkfi@latest troves-deposit <amount> <strategy-id> -t <symbol> --amount2 <value> --token2 <symbol2> [--simulate] [--json]
# Withdraw from a strategy
npx starkfi@latest troves-withdraw <amount> <strategy-id> [--token <symbol>] [--amount2 <value>] [--token2 <symbol2>] [--simulate] [--json]
Parameters
troves-deposit / troves-withdraw
| Parameter | Type | Description | Required |
|---|---|---|---|
amount |
number | Amount to deposit or withdraw (positional) | Yes |
strategy-id |
string | Strategy ID (positional, e.g. evergreen_strk) |
Yes |
--token |
string | Token symbol (default: STRK) | No |
--amount2 |
string | Second token amount for dual-asset strategies | Dual-asset only |
--token2 |
string | Second token symbol for dual-asset strategies | Dual-asset only |
--simulate |
flag | Estimate fees without broadcasting | No |
--json |
flag | Output as JSON | No |
Strategy Types
Single-Asset Strategies
Strategies with one deposit token (e.g. evergreen_strk, hyper_xstrk). Only --token and amount are needed.
Dual-Asset Strategies
Strategies with two deposit tokens (e.g. ekubo_cl_strketh, ekubo_cl_strkusdc_v2). Both token amounts are required via --amount2 and --token2 flags. Check depositTokens in troves-list output to identify these.
Strategy Properties
Each strategy has the following properties:
| Property | Description |
|---|---|
id |
Unique strategy identifier |
name |
Human-readable strategy name |
apy |
Current annual percentage yield |
tvlUsd |
Total value locked in USD |
depositTokens |
Accepted deposit tokens |
riskFactor |
Risk rating (1.0 = low, 5.0 = high) |
isAudited |
Whether the strategy is audited |
status |
Active, Paused, or Deprecated |
Examples
User: "What yield vault strategies are available?"
npx starkfi@latest troves-list
User: "Deposit 500 STRK into Evergreen vault"
npx starkfi@latest status
npx starkfi@latest balance --token STRK
npx starkfi@latest troves-list # Verify strategy exists and is Active
npx starkfi@latest troves-deposit 500 evergreen_strk --simulate
npx starkfi@latest troves-deposit 500 evergreen_strk
npx starkfi@latest tx-status <hash>
User: "Deposit into Ekubo STRK/ETH pool" (dual-asset)
npx starkfi@latest troves-list --json # Check depositTokens for ekubo_cl_strketh
npx starkfi@latest balance --token STRK
npx starkfi@latest balance --token ETH
npx starkfi@latest troves-deposit 100 ekubo_cl_strketh -t STRK --amount2 0.005 --token2 ETH --simulate
npx starkfi@latest troves-deposit 100 ekubo_cl_strketh -t STRK --amount2 0.005 --token2 ETH
npx starkfi@latest tx-status <hash>
User: "Show me my vault positions"
npx starkfi@latest troves-position evergreen_strk
User: "Withdraw 200 STRK from Evergreen"
npx starkfi@latest troves-position evergreen_strk # Check available balance
npx starkfi@latest troves-withdraw 200 evergreen_strk --simulate
npx starkfi@latest troves-withdraw 200 evergreen_strk
npx starkfi@latest tx-status <hash>
User: "Find the highest APY vault for STRK"
npx starkfi@latest troves-list --json
# Parse and present strategies sorted by APY, filtered by STRK deposit token
Error Handling
| Error | Action |
|---|---|
Strategy not found |
Run troves-list to find valid strategy IDs. |
Strategy paused |
Strategy is not accepting deposits. Choose another one. |
Insufficient balance |
Check balance for the required deposit token(s). |
Simulation failed |
Transaction would revert. Check amount, strategy, and gas. |
Not authenticated |
Run authenticate-wallet skill first. |
dual-asset strategy ... must provide |
Strategy requires two token amounts. Add --amount2 and --token2. |
does not accept <token> |
Use a token from the strategy's depositTokens list. |
Related Skills
- Use
balanceto verify available tokens before depositing. - Use
portfoliofor a full overview including vault positions with USD values. - Use
batchto combine vault deposits with swaps or staking in one transaction. - Use
lstfor liquid staking (different yield mechanism — share price appreciation). - Use
stakingfor delegation staking (validator-based yield).
More from ahmetenesdur/starkfi
send
Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".
10multi-swap
Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.
9portfolio
View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".
9authenticate-wallet
Authenticate, manage sessions, and deploy Starknet wallets with StarkFi. Handles email OTP login (two-step), session checks, address display, account deployment, and logout. Use this skill whenever the user wants to sign in, log in, check their session, see their wallet address, deploy their account, or log out — even if they don't say "authenticate" explicitly.
9dca
Create, preview, list, and cancel recurring Dollar-Cost Averaging (DCA) buy orders on Starknet via AVNU or Ekubo. Use this skill when the user wants to set up automatic recurring purchases, dollar-cost average into a token, create a DCA order, schedule periodic buys, invest regularly, buy every day/week/month, or manage existing DCA orders. Also trigger when the user says "recurring buy", "scheduled purchase", "buy X of Y every day", or any variation about automated periodic investing — even if they don't use the term "DCA" explicitly.
2