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.
| Guide | Contents |
|---|---|
| Managing a staking pool | Pool lifecycle: create, operate, decommission; delegation flow |
| Issuing and managing a token | MLS-01 lifecycle: issue, mint, send, freeze, lock supply |
| Issuing and managing an NFT | MLS-03 issuance and transfers |
| Trading with orders | On-chain DEX orders: create, fill, freeze, conclude |
| Atomic swap with Bitcoin | Trustless BTC ⇄ ML swaps with hash time-locked contracts |
| Managing a multisig address | Multi-signature addresses and spending |
| Migrate token to mainnet | Convert ERC-20 ML tokens to mainnet coins |