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.
| Guide | Contents |
|---|---|
| Issue a token | MLS-01 lifecycle: issue, mint, transfer, freeze, authority |
| Issue an NFT | MLS-03 issuance and transfers |
| Staking and delegation | Create a delegation, stake, withdraw |
| Trading with orders | On-chain orders: create, discover, fill, conclude |
| Atomic swap | The Mintlayer side of a BTC ⇄ ML swap with HTLCs |