Skip to main content

JavaScript Guides

These guides implement Mintlayer's main workflows with the JavaScript SDK (npm install @mintlayer/sdk). In the browser the Client talks to the Mojito wallet extension; in Node.js use the standalone account providers. Start with the SDK Client page for creation options.

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

GuideContents
Issue a tokenMLS-01 lifecycle: issue, mint, transfer, freeze, authority
Issue an NFTMLS-03 issuance and transfers
Staking and delegationCreate a delegation, stake, withdraw
Trading with ordersOn-chain orders: create, discover, fill, conclude
Atomic swapThe Mintlayer side of a BTC ⇄ ML swap with HTLCs