Skip to main content

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.

WorkflowDeveloper guideJavaScriptGo
Issue and manage a fungible tokenIssue a tokenClient✅ wallet + wasm
Issue and manage an NFTIssue an NFTClient✅ wallet + indexer
Run a staking pool / delegateStaking and delegation✅ delegations✅ pools + delegations
Trade with on-chain ordersTrading with ordersClient✅ indexer + wasm
Atomic swap with Bitcoin (HTLC)Atomic swapClient✅ wasm
Manage a multisig addressCLI only
Migrate ERC-20 ML to mainnetportal onlyn/an/a

WASM-specific deep dives (Go SDK, full custody, no wallet daemon):

GuideContents
Wallet & signingGenerate/restore wallets, derive addresses, sign transactions and messages
Forging custom transactionsMixed inputs/outputs, protocol fees, fee estimation, multi-party signing, intents
Composing UTXOsUpdate 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: the wallet sub-client talks to a running wallet-rpc-daemon, the wasm package builds transactions standalone, and the indexer client reads chain state (see Developer Setup for ports and authentication).