Skip to main content

Creating a Market via CLI

Create a new Kamino lending market using the Kamino Manager CLI. Market creation is a CLI operation — there is no UI for deploying new markets.
Before starting, complete the CLI Installation & Setup guide. Commands require a .env file with ADMIN (path to market owner keypair) and RPC configured.

CLI Modes

All commands support different execution modes:
ModeDescription
inspectPreview the transaction without executing
simulateTest the transaction simulation on-chain
executeExecute the transaction immediately
multisigGenerate a multisig proposal for the operation
Always start with simulate to verify transactions before running with execute.

Network Selection

By default, all commands run against mainnet and no additional flag is needed. To target a different network:
  • --staging — Use the staging program ID
  • --devnet — Use the devnet program ID

Create the Market

1

Run Create Command

yarn kamino-manager create-market --mode execute
For testing, add the --staging or --devnet flag to use the appropriate program ID.
2

Save Market Address

Save the market address from the command output. This address is required for all subsequent market operations.

Next Steps

After creating your market, proceed to Initial Setup to add reserves and transfer ownership to a multisig.

Learn More

For the complete CLI reference, see Market Operations — CLI and CLI Installation & Setup.