Skip to main content
A flat reference of every kamino-manager command that touches a Kamino lending market or reserve. For workflow guidance — when to use each command, what to set, why — see the Curator Markets tab.
Before running any command, complete the Installation & Setup guide. The CLI requires ADMIN, RPC, KLEND_PROGRAM_ID_MAINNET, and KLEND_PROGRAM_ID_STAGING in .env.

Conventions

Execution modes

Every command supports --mode <value>: Multisig mode requires --multisig <SQUADS_PUBKEY> to identify the multisig.

Network selection

Market lifecycle

create-market

Initialize a new LendingMarket account.

update-lending-market-from-config

Apply a full market config update from a JSON file.

update-lending-market-name

Focused command to rename a market.

update-lending-market-owner

Promote lending_market_owner_cached to active owner. Final step of the two-step ownership transfer.

download-lending-market-config

Export the current market config to a JSON file (read-only).
Saves to ./configs/<MARKET_ADDRESS>/market-<MARKET_ADDRESS>.json.

download-lending-market-config-and-all-reserves-configs

Download the market config plus every reserve’s config in a single call.

get-market-or-vault-admin-info

Query admin metadata (owner, cached owner, emergency council).

Reserve lifecycle

add-asset-to-market

Add a new reserve to a market with an initial config.

update-reserve-config

Apply a full reserve config update from a JSON file.

update-reserve-config-debt-cap

Focused update of just the borrow cap. Faster to review than a full config update.

download-reserve-config

Export the current reserve config to a JSON file.

simulate-reserve-apy

Compute the live supply and borrow APY for a reserve from on-chain state.

Oracles

get-oracle-mappings

List Scope, Pyth, and Switchboard oracle addresses for known mints.
Use the output to populate tokenInfo.scopeConfiguration.priceFeed, tokenInfo.pythConfiguration.price, or tokenInfo.switchboardConfiguration.priceAggregator in a reserve config.

Farms

get-reserve-farms-apy

Reward APY for a reserve’s collateral and debt farms.
For farm initialization, funding, and emission configuration, use the KFarms tooling.

Reserve config schema

The reserve config JSON schema is documented at Reserve config reference. A starter file ships with klend-sdk: klend-sdk/configs/reserve_config_example.json Some fields in older example files (assetTier, multiplierSideBoost, multiplierTagBoost) are deprecated and ignored by the program. The canonical schema is in the reference page above.

Market config schema

The market config JSON schema is documented at Market config reference.

Workflow guides

These pages walk through the curator workflow that uses the commands above:

Create a market

create-market

Add reserves

add-asset-to-market

Configure oracles

get-oracle-mappings, tokenInfo setup

Transfer to multisig

update-lending-market-from-config, update-lending-market-owner

Updating reserves

update-reserve-config, update-reserve-config-debt-cap

Market settings

update-lending-market-from-config, update-lending-market-name

Next

Vault Operations

Create and manage Kamino vaults

Installation & Setup

Review installation and configuration