Skip to main content

Prerequisites

  • Synced daemon
  • Wallet with HEAT balance (mint first — Mint HEAT)
  • Enough balance for the CD amount + network fee

Critical rule

createDeposit with a normal term is for HEAT CDs. Do not use legacy cold / COLD commands as the product path.

Create a CD

Exact CLI names depend on wallet build. Conceptual:
Term bounds (mainnet): 6–72 epochs (CD_MIN_EPOCHSCD_MAX_EPOCHS). Testnet allows shorter minimums for testing. Example pattern — lock HEAT for the minimum term:
Confirm the wallet reports a HEAT CD (not a burn/mint and not COLD).

What happens on-chain

  • Output: TransactionOutputCommitment for HEAT
  • Amount hidden under commitment
  • Maturity height = creation height + term blocks
  • Deposit secret stored in your wallet file — back it up

Verify

Use wallet list/info commands for deposits (avoid relying on deprecated list_cold / cold_info naming in older docs — if still present in a binary, they may be legacy aliases). RPC: see Deposits API.

Estimate yield

Amounts are in atomic units where 1 coin = 10,000,000 atomic (COIN = 1e7), not 1e9.

Testnet

Testnet epochs are 10 blocks. Use testnet to practice mint → CD → maturity → withdraw before mainnet.