Skip to main content

Kamino

kamino-stable-carry is the main carry sleeve in the MVP. The implementation lives in services/adapters/src/kamino.ts.

Supported paths

Fixture mode

Used for deterministic offline demos and tests.

SDK mode

Used when KAMINO_RPC_URL is set. The adapter can emit:
  • refresh instructions
  • ATA creation instructions
  • obligation initialization when needed
  • deposit and withdraw actions from the Kamino SDK

Main environment variables

VariablePurpose
KAMINO_RPC_URLSolana RPC used by the Kamino adapter
KAMINO_OWNER_ADDRESSKamino owner expected by the SDK
KAMINO_MARKET_ADDRESSKamino market address
KAMINO_RESERVE_SYMBOLReserve symbol, default USDC

Validation order

  1. node --experimental-strip-types services/ranger/src/kamino-smoke.ts
  2. confirm executionSource is kamino-sdk
  3. confirm instructionEnvelopes are present
  4. only then wire the flow into a vault rebalance

Practical note

The current repo validates Kamino in build-only mode before using it as part of the full vault lifecycle.