Mint cTokens (collateral tokens) by depositing assets into Kamino lending reserves. cTokens represent your deposit and accrue interest over time, which can be redeemed later for the underlying asset plus earned interest.
Minting cTokens
Deposit reserve liquidity to receive cTokens in your wallet.1
Import Dependencies
2
Load Market and Initialize RPC
3
Build Deposit Reserve Liquidity Instructions
Supply USDC to the reserve and receive its cTokens.This doesn’t open a borrow position, so the
obligation prop is required by the type but unused. reserve.getCollateralExchangeRate() returns the current cTokens per token.4
Build the Transaction
5
Sign and Send
Once the transaction is confirmed, the cTokens are in your wallet. They grow in value as borrowers pay interest, and can be redeemed for USDC plus the interest earned.