Guides for Developers
The step-by-step guides in the Wallet guides are written around wallet-cli. This section mirrors the same workflows with code: the JavaScript SDK for dApps and bots, and the Go SDK for services and backends.
Where a workflow has no SDK equivalent (yet), the table says so and points at the CLI guide instead.
| Workflow | Developer guide | JavaScript | Go |
|---|---|---|---|
| Issue and manage a fungible token | Issue a token | ✅ Client | ✅ wallet + wasm |
| Issue and manage an NFT | Issue an NFT | ✅ Client | ✅ wallet + indexer |
| Run a staking pool / delegate | Staking and delegation | ✅ delegations | ✅ pools + delegations |
| Trade with on-chain orders | Trading with orders | ✅ Client | ✅ indexer + wasm |
| Atomic swap with Bitcoin (HTLC) | Atomic swap | ✅ Client | ✅ wasm |
| Manage a multisig address | CLI only | ❌ | ❌ |
| Migrate ERC-20 ML to mainnet | portal only | n/a | n/a |
WASM-specific deep dives (Go SDK, full custody, no wallet daemon):
| Guide | Contents |
|---|---|
| Wallet & signing | Generate/restore wallets, derive addresses, sign transactions and messages |
| Forging custom transactions | Mixed inputs/outputs, protocol fees, fee estimation, multi-party signing, intents |
| Composing UTXOs | Update an order atomically: conclude-order input + create-order output |
For the CLI version of any workflow, follow the link in the Wallet guides; every page here also links back to its CLI counterpart for the protocol-level explanation and concepts.
Prerequisites
- JavaScript:
npm install @mintlayer/sdk; see the SDK Client page for creation options and account providers for running outside a browser. - Go:
go get github.com/mintlayer/go-sdk: thewalletsub-client talks to a runningwallet-rpc-daemon, thewasmpackage builds transactions standalone, and theindexerclient reads chain state (see Developer Setup for ports and authentication).