StarkFiStarkFi

Troves Protocol

DeFi yield vault strategies — how StarkFi integrates with Troves

Overview

Troves is a DeFi yield vault protocol on Starknet that provides curated vault strategies. Strategies range from single-asset vaults (e.g. STRK Evergreen) to LP strategies (e.g. Ekubo STRK/USDC concentrated liquidity) and leveraged positions.

StarkFi integrates with Troves via the Starkzap v3 SDK, using native TxBuilder.trovesDeposit() and trovesWithdraw() methods for atomic vault operations.

How StarkFi Uses Troves

OperationStarkzap APIStarkFi CLIMCP Tool
List strategiessdk.troves.listStrategies()troves-listlist_troves_strategies
Check positionsdk.troves.getPosition()troves-positionget_troves_position
DepositTxBuilder.trovesDeposit()troves-deposittroves_deposit
WithdrawTxBuilder.trovesWithdraw()troves-withdrawtroves_withdraw

Strategy Properties

Each strategy exposes the following properties:

PropertyDescription
idUnique strategy identifier (e.g. evergreen_strk)
nameHuman-readable strategy name
apyCurrent annual percentage yield
tvlUsdTotal value locked in USD
depositTokensAccepted deposit tokens
riskFactorRisk rating (1.0 = low, 5.0 = high)
isAuditedWhether the strategy has been audited
statusActive, Paused, or Deprecated

Batch Support

Troves operations integrate with the batch engine. You can combine vault operations with swaps, staking, and lending in a single atomic transaction:

const tx = await wallet.tx()
  .swap(usdcToStrk)
  .trovesDeposit({ strategyId: "evergreen_strk", amount })
  .send({ feeMode });

See Also

Edit on GitHub

Last updated on

On this page