Skip to main content

Go Guides

These guides implement Mintlayer's main workflows with the Go SDK (go get github.com/mintlayer/go-sdk). The wallet sub-client talks to a running wallet-rpc-daemon, the indexer client reads chain state, and the wasm package builds and signs transactions standalone, with no wallet daemon (see Developer Setup for ports and authentication).

The wallet-cli versions of the same workflows live in the command-line guides; the JavaScript versions in the JavaScript guides.

GuideContents
Issue a tokenMLS-01 lifecycle: issue, mint, transfer, freeze, authority
Issue an NFTMLS-03 issuance and transfers
Staking and delegationPool lifecycle and delegations
Trading with ordersOn-chain orders: create, discover, fill, conclude
Atomic swapThe Mintlayer side of a BTC ⇄ ML swap with HTLCs
Wallet & signing (WASM)Generate wallets, derive addresses, sign without a daemon
Forging custom transactionsMixed inputs/outputs, protocol fees, multi-party signing, intents
Composing UTXOsUpdate an order atomically: conclude input + create output