@arkade-os/boltz-swap 0.2.13 → 0.2.15
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 +0 -18
- package/dist/index.cjs +325 -60
- package/dist/index.d.cts +90 -0
- package/dist/index.d.ts +90 -0
- package/dist/index.js +305 -40
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -52,24 +52,6 @@ const arkadeLightning = new ArkadeLightning({
|
|
|
52
52
|
});
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
### Create your Wallet
|
|
56
|
-
|
|
57
|
-
```typescript
|
|
58
|
-
import { Wallet } from '@arkade-os/sdk';
|
|
59
|
-
|
|
60
|
-
const wallet = await Wallet.create({
|
|
61
|
-
identity,
|
|
62
|
-
arkServerUrl: 'https://mutinynet.arkade.sh',
|
|
63
|
-
// storage defaults to in-memory
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
// Wallet may have built-in providers
|
|
67
|
-
const arkadeLightning = new ArkadeLightning({
|
|
68
|
-
wallet,
|
|
69
|
-
swapProvider
|
|
70
|
-
});
|
|
71
|
-
```
|
|
72
|
-
|
|
73
55
|
### ServiceWorkerWallet with IndexDB
|
|
74
56
|
|
|
75
57
|
```typescript
|