Skip to main content

Command-line Guides

These guides walk through Mintlayer's main workflows with wallet-cli, the interactive command-line wallet. They are the reference versions of the workflows: the Go and JavaScript guides implement the same flows in code.

Prerequisites for all of them: a running, synced node-daemon, wallet-cli connected to the node (see installation), and a small amount of ML for transaction fees. Examples use testnet values (TML); on mainnet the commands are identical apart from the network.

GuideContents
Managing a staking poolPool lifecycle: create, operate, decommission; delegation flow
Issuing and managing a tokenMLS-01 lifecycle: issue, mint, send, freeze, lock supply
Issuing and managing an NFTMLS-03 issuance and transfers
Trading with ordersOn-chain DEX orders: create, fill, freeze, conclude
Atomic swap with BitcoinTrustless BTC ⇄ ML swaps with hash time-locked contracts
Managing a multisig addressMulti-signature addresses and spending
Migrate token to mainnetConvert ERC-20 ML tokens to mainnet coins