@atomiqlabs/sdk 7.0.5 → 7.0.6
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 +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
A typescript multichain client for atomiqlabs trustlesss cross-chain swaps. Enables trustless swaps between smart chains (Solana, EVM, Starknet, etc.) and bitcoin (on-chain - L1 and lightning network - L2).
|
|
4
4
|
|
|
5
|
-
Example SDK integration in NodeJS available [here](https://github.com/atomiqlabs/atomiq-sdk-demo
|
|
5
|
+
Example SDK integration in NodeJS available [here](https://github.com/atomiqlabs/atomiq-sdk-demo)
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
```
|
|
9
|
-
npm install @atomiqlabs/sdk@
|
|
9
|
+
npm install @atomiqlabs/sdk@latest
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
## Installing chain-specific connectors
|
|
@@ -14,9 +14,9 @@ npm install @atomiqlabs/sdk@next
|
|
|
14
14
|
You can install only the chain-specific connectors that your project requires
|
|
15
15
|
|
|
16
16
|
```
|
|
17
|
-
npm install @atomiqlabs/chain-solana@
|
|
18
|
-
npm install @atomiqlabs/chain-starknet@
|
|
19
|
-
npm install @atomiqlabs/chain-evm@
|
|
17
|
+
npm install @atomiqlabs/chain-solana@latest
|
|
18
|
+
npm install @atomiqlabs/chain-starknet@latest
|
|
19
|
+
npm install @atomiqlabs/chain-evm@latest
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## How to use?
|
|
@@ -97,7 +97,7 @@ if you want to use custom pricing api, mempool.space RPC url, or tune HTTP reque
|
|
|
97
97
|
For NodeJS we need to use sqlite storage, for that we first need to install the sqlite storage adaptor
|
|
98
98
|
|
|
99
99
|
```
|
|
100
|
-
npm install @atomiqlabs/storage-sqlite@
|
|
100
|
+
npm install @atomiqlabs/storage-sqlite@latest
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
Then use pass it in the newSwapper function
|