Skip to content

Commit 622f3c6

Browse files
authored
feat: add JS sdk (#1)
* feat: add JS sdk * feat: add js sdk
1 parent cef8936 commit 622f3c6

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "JavaScript SDK",
3+
"position": 4,
4+
"link": {
5+
"type": "generated-index"
6+
}
7+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
id: sdk-client
3+
title: Mintlayer SDK Client
4+
sidebar_label: SDK Client
5+
---
6+
7+
# Mintlayer SDK Client
8+
9+
The Mintlayer SDK provides a `Client` class that offers a high-level interface for interacting with the Mojito wallet extension.
10+
11+
> 🧩 This SDK is meant to be used inside decentralized applications (dApps) that want to integrate Mintlayer features like sending transactions, minting tokens, issuing NFTs, staking, and more.
12+
13+
---
14+
15+
## Installation
16+
17+
```bash
18+
npm install @mintlayer/sdk
19+
```
20+
21+
## Getting Started
22+
23+
```ts
24+
import { Client } from '@mintlayer/sdk';
25+
26+
const client = await Client.create({ network: 'testnet' });
27+
```
28+

0 commit comments

Comments
 (0)