Skip to main content

Guides

The Mintlayer guides exist in five flavors, one folder per language or interface. They cover the same workflows: issuing tokens and NFTs, staking, trading with on-chain orders, and atomic swaps with Bitcoin.

SectionForContents
Command-line guidesOperators and power usersStep-by-step walkthroughs with wallet-cli
Go guidesServices, exchanges, backendsThe go-sdk: wallet RPC client and the embedded WASM runtime
JavaScript guidesdApps, bots, scripts@mintlayer/sdk: the Client in the browser (Mojito) or Node.js
Rust guidesServices and full-custody toolingmintlayer-sdk: RPC sub-clients plus native crypto backed by mintlayer-core
Python guidesScripts, tooling, data jobsmintlayer: the Go SDK ported to Python, WASM runtime bundled

New languages can be added alongside these; the workflows are the same, only the code changes.

Workflow map​

WorkflowCommand lineGoJavaScriptRustPython
Issue and manage a fungible tokenguideguideguideguideguide
Issue and manage an NFTguideguideguideguideguide
Run a staking pool / delegateguideguide (pools + delegations)guide (delegations)guide (pools + delegations)guide (pools + delegations)
Trade with on-chain ordersguideguideguideguideguide
Atomic swap with Bitcoin (HTLC)guideguideguideguideguide
Manage a multisig addressguideCLI onlyCLI onlyCLI onlyCLI only
Migrate ERC-20 ML to mainnetguidePortal onlyPortal onlyPortal onlyPortal only

Deeper full-custody dives with the embedded WASM runtime (Go and Python, no wallet daemon): Wallet & signing, Forging custom transactions, and Composing UTXOs, each also available in the Python guides. Composing UTXOs also exists in JavaScript (raw wasm-lib encoders) and Rust (native crypto module, covered by Cryptography and Building transactions).