@atomiqlabs/sdk 5.0.0-dev.6 → 5.0.0-dev.7

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.
@@ -9,6 +9,16 @@ export declare const SmartChainAssets: {
9
9
  };
10
10
  readonly name: "Wrapped BTC (WBTC)";
11
11
  };
12
+ readonly TBTC: {
13
+ readonly pricing: {
14
+ readonly binancePair: any;
15
+ readonly okxPair: any;
16
+ readonly coinGeckoCoinId: "tbtc";
17
+ readonly coinPaprikaCoinId: "tbtc-tbtc";
18
+ readonly krakenPair: any;
19
+ };
20
+ readonly name: "Threshold BTC (tBTC)";
21
+ };
12
22
  readonly USDC: {
13
23
  readonly pricing: {
14
24
  readonly binancePair: "!BTCUSDC";
@@ -12,6 +12,16 @@ exports.SmartChainAssets = {
12
12
  },
13
13
  name: "Wrapped BTC (WBTC)"
14
14
  },
15
+ TBTC: {
16
+ pricing: {
17
+ binancePair: null,
18
+ okxPair: null,
19
+ coinGeckoCoinId: "tbtc",
20
+ coinPaprikaCoinId: "tbtc-tbtc",
21
+ krakenPair: null
22
+ },
23
+ name: "Threshold BTC (tBTC)"
24
+ },
15
25
  USDC: {
16
26
  pricing: {
17
27
  binancePair: "!BTCUSDC",
@@ -18,18 +18,21 @@ const trustedIntermediaries = {
18
18
  const mempoolUrls = {
19
19
  [base_1.BitcoinNetwork.MAINNET]: [
20
20
  "https://mempool.space/api/",
21
+ "https://mempool.holdings/api/",
21
22
  "https://mempool.fra.mempool.space/api/",
22
23
  "https://mempool.va1.mempool.space/api/",
23
24
  "https://mempool.tk7.mempool.space/api/"
24
25
  ],
25
26
  [base_1.BitcoinNetwork.TESTNET]: [
26
27
  "https://mempool.space/testnet/api/",
28
+ "https://mempool.holdings/testnet/api/",
27
29
  "https://mempool.fra.mempool.space/testnet/api/",
28
30
  "https://mempool.va1.mempool.space/testnet/api/",
29
31
  "https://mempool.tk7.mempool.space/testnet/api/"
30
32
  ],
31
33
  [base_1.BitcoinNetwork.TESTNET4]: [
32
34
  "https://mempool.space/testnet4/api/",
35
+ "https://mempool.holdings/testnet4/api/",
33
36
  "https://mempool.fra.mempool.space/testnet4/api/",
34
37
  "https://mempool.va1.mempool.space/testnet4/api/",
35
38
  "https://mempool.tk7.mempool.space/testnet4/api/"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/sdk",
3
- "version": "5.0.0-dev.6",
3
+ "version": "5.0.0-dev.7",
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",
@@ -21,9 +21,9 @@
21
21
  "author": "adambor",
22
22
  "license": "ISC",
23
23
  "dependencies": {
24
- "@atomiqlabs/base": "^10.0.0-dev.16",
25
- "@atomiqlabs/messenger-nostr": "^1.0.0-dev.3",
26
- "@atomiqlabs/sdk-lib": "^14.0.0-dev.45"
24
+ "@atomiqlabs/base": "^10.0.0-dev.20",
25
+ "@atomiqlabs/messenger-nostr": "^1.0.0-dev.4",
26
+ "@atomiqlabs/sdk-lib": "^14.0.0-dev.75"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "22.13.5",
@@ -10,6 +10,16 @@ export const SmartChainAssets = {
10
10
  },
11
11
  name: "Wrapped BTC (WBTC)"
12
12
  },
13
+ TBTC: {
14
+ pricing: {
15
+ binancePair: null,
16
+ okxPair: null,
17
+ coinGeckoCoinId: "tbtc",
18
+ coinPaprikaCoinId: "tbtc-tbtc",
19
+ krakenPair: null
20
+ },
21
+ name: "Threshold BTC (tBTC)"
22
+ },
13
23
  USDC: {
14
24
  pricing: {
15
25
  binancePair: "!BTCUSDC",
@@ -86,18 +86,21 @@ const trustedIntermediaries = {
86
86
  const mempoolUrls = {
87
87
  [BitcoinNetwork.MAINNET]: [
88
88
  "https://mempool.space/api/",
89
+ "https://mempool.holdings/api/",
89
90
  "https://mempool.fra.mempool.space/api/",
90
91
  "https://mempool.va1.mempool.space/api/",
91
92
  "https://mempool.tk7.mempool.space/api/"
92
93
  ],
93
94
  [BitcoinNetwork.TESTNET]: [
94
95
  "https://mempool.space/testnet/api/",
96
+ "https://mempool.holdings/testnet/api/",
95
97
  "https://mempool.fra.mempool.space/testnet/api/",
96
98
  "https://mempool.va1.mempool.space/testnet/api/",
97
99
  "https://mempool.tk7.mempool.space/testnet/api/"
98
100
  ],
99
101
  [BitcoinNetwork.TESTNET4]: [
100
102
  "https://mempool.space/testnet4/api/",
103
+ "https://mempool.holdings/testnet4/api/",
101
104
  "https://mempool.fra.mempool.space/testnet4/api/",
102
105
  "https://mempool.va1.mempool.space/testnet4/api/",
103
106
  "https://mempool.tk7.mempool.space/testnet4/api/"