@fivenorth/loop-sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/dist/index.js +2427 -0
- package/package.json +30 -0
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# LOOP SDK
|
|
2
|
+
|
|
3
|
+
Loop SDK allow dApps connect to a Loop account. The Loop wallet can be on mobile or on a desktop browser. All the interaction will happen inside the dApp. For signing, user will be prompted to sign either on their Loop wallet on mobile devices or on browser.
|
|
4
|
+
|
|
5
|
+
# Limitation
|
|
6
|
+
|
|
7
|
+
Currently, we only support DAML transaction from the Splice build-in DAR files and Utility app DAR files.
|
|
8
|
+
|
|
9
|
+
There is no plan to upload and support third party DAR at this moment
|
|
10
|
+
|
|
11
|
+
# Usage guide
|
|
12
|
+
|
|
13
|
+
Refer to the file `demo/test.html` to see an example of setup and use the SDK.
|
|
14
|
+
|
|
15
|
+
# API
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# Development Guide
|
|
19
|
+
|
|
20
|
+
This section is only if you want to actively develop the SDK itself. To use the SDK, follow the `#Usage Guide` section
|
|
21
|
+
|
|
22
|
+
To install dependencies:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
bun install
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
To run:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
bun run index.ts
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
# Publish the package to NPM
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
bun run build
|
|
39
|
+
```
|