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:CD_MIN_EPOCHS … CD_MAX_EPOCHS). Testnet allows shorter minimums for testing.
Example pattern — lock HEAT for the minimum term:
What happens on-chain
- Output:
TransactionOutputCommitmentfor 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 deprecatedlist_cold / cold_info naming in older docs — if still present in a binary, they may be legacy aliases).
RPC: see Deposits API.
Estimate yield
COIN = 1e7), not 1e9.