Building deposit / borrow / repay / withdraw transactions
For an app that lets users deposit, borrow, repay, or withdraw on your market:Borrow developer docs
Overview of operations, data, rewards, position management
Borrow tutorials
Step-by-step walkthroughs of common operations
Borrow API recipes
REST-API-only patterns, no SDK
Borrow API reference
OpenAPI reference for every Borrow endpoint
--market parameter (CLI), the marketPubkey argument (SDK), or the market URL parameter (API).
Reading market and reserve data
For dashboards, alerts, and read-only integrations:Read market data
The curator’s view: API + SDK + RPC examples for market state
API reference (market data endpoints)
Full OpenAPI reference
Earn / vault integration on top of your market
If a vault sits on top of your market and you want to integrate the vault layer:Earn developer docs
Vault data and operations
Earn tutorials
Vault deposit / withdraw walkthroughs
Rewards and farms
For computing APYs, claiming rewards, building reward dashboards:Rewards tutorials
Calculate reserve reward APY, claim rewards
Rewards API reference
REST endpoints for active rewards and user claimables
Farms & rewards (curator side)
How a curator initializes and operates farms
Curator-specific tooling
These surfaces are specific to curator workflows (separate from end-user app integrations):kamino-manager CLI
All curator operations: create market, add reserves, update configs, propose multisig transactions
CLI command index
Quick lookup of every market-related command
Program-level integration
For a custom program (Anchor / native) that interacts with your market on-chain:| Resource | Use for |
|---|---|
| klend repository | Program source, IDL, Rust types, error definitions |
| klend-sdk repository | TypeScript bindings + helper utilities + the kamino-manager CLI |
| KFarms repository | Farms program source |
| farms-sdk repository | TypeScript bindings for farms |
| Program addresses | All Kamino program IDs (mainnet + staging + devnet) |
Reference
- Read market data — read examples
- CLI command index — every market-related CLI command
- Reserve config reference — every editable reserve field
- Market config reference — every editable market field