@atomiqlabs/sdk 7.0.4 → 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 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/tree/nostr-htlc)
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@next
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@next
18
- npm install @atomiqlabs/chain-starknet@next
19
- npm install @atomiqlabs/chain-evm@next
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@next
100
+ npm install @atomiqlabs/storage-sqlite@latest
101
101
  ```
102
102
 
103
103
  Then use pass it in the newSwapper function
@@ -99,6 +99,16 @@ export declare const SmartChainAssets: {
99
99
  };
100
100
  readonly name: "Citrea BTC";
101
101
  };
102
+ readonly BTC: {
103
+ readonly pricing: {
104
+ readonly binancePair: "$fixed-100000000";
105
+ readonly okxPair: "$fixed-100000000";
106
+ readonly coinGeckoCoinId: "$fixed-100000000";
107
+ readonly coinPaprikaCoinId: "$fixed-100000000";
108
+ readonly krakenPair: "$fixed-100000000";
109
+ };
110
+ readonly name: "Bitcoin";
111
+ };
102
112
  readonly BBTC: {
103
113
  readonly pricing: {
104
114
  readonly binancePair: "$fixed-100000000";
@@ -102,6 +102,17 @@ exports.SmartChainAssets = {
102
102
  },
103
103
  name: "Citrea BTC"
104
104
  },
105
+ //Used by both Botanix and Alpen
106
+ BTC: {
107
+ pricing: {
108
+ binancePair: "$fixed-100000000",
109
+ okxPair: "$fixed-100000000",
110
+ coinGeckoCoinId: "$fixed-100000000",
111
+ coinPaprikaCoinId: "$fixed-100000000",
112
+ krakenPair: "$fixed-100000000"
113
+ },
114
+ name: "Bitcoin"
115
+ },
105
116
  BBTC: {
106
117
  pricing: {
107
118
  binancePair: "$fixed-100000000",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/sdk",
3
- "version": "7.0.4",
3
+ "version": "7.0.6",
4
4
  "description": "atomiq labs SDK for cross-chain swaps between smart chains and bitcoin",
5
5
  "main": "./dist/index.js",
6
6
  "types:": "./dist/index.d.ts",
@@ -101,6 +101,17 @@ export const SmartChainAssets = {
101
101
  },
102
102
  name: "Citrea BTC"
103
103
  },
104
+ //Used by both Botanix and Alpen
105
+ BTC: {
106
+ pricing: {
107
+ binancePair: "$fixed-100000000",
108
+ okxPair: "$fixed-100000000",
109
+ coinGeckoCoinId: "$fixed-100000000",
110
+ coinPaprikaCoinId: "$fixed-100000000",
111
+ krakenPair: "$fixed-100000000"
112
+ },
113
+ name: "Bitcoin"
114
+ },
104
115
  BBTC: {
105
116
  pricing: {
106
117
  binancePair: "$fixed-100000000",