@kynesyslabs/demosdk 1.6.7 → 1.7.2
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/build/abstraction/CoinFinder.d.ts +19 -11
- package/build/abstraction/CoinFinder.js +57 -22
- package/build/abstraction/CoinFinder.js.map +1 -1
- package/build/abstraction/EvmCoinFinder.d.ts +58 -12
- package/build/abstraction/EvmCoinFinder.js +154 -84
- package/build/abstraction/EvmCoinFinder.js.map +1 -1
- package/build/abstraction/Identities.d.ts +1 -30
- package/build/abstraction/Identities.js.map +1 -1
- package/build/abstraction/index.d.ts +4 -4
- package/build/abstraction/index.js +4 -4
- package/build/abstraction/index.js.map +1 -1
- package/build/abstraction/providers/AbstractionProviders.d.ts +2 -2
- package/build/abstraction/providers/AbstractionProviders.js +0 -2
- package/build/abstraction/providers/AbstractionProviders.js.map +1 -1
- package/build/abstraction/providers/CoinAddresses.d.ts +150 -1
- package/build/abstraction/providers/CoinAddresses.js +148 -2
- package/build/abstraction/providers/CoinAddresses.js.map +1 -1
- package/build/abstraction/providers/Providers.d.ts +2 -2
- package/build/abstraction/providers/Providers.js +12 -8
- package/build/abstraction/providers/Providers.js.map +1 -1
- package/build/abstraction/providers/{ankr.js → evm/ankr.js} +1 -1
- package/build/abstraction/providers/evm/ankr.js.map +1 -0
- package/build/abstraction/providers/{arbitrum.js → evm/arbitrum.js} +1 -1
- package/build/abstraction/providers/evm/arbitrum.js.map +1 -0
- package/build/abstraction/providers/{bsc.js → evm/bsc.js} +1 -1
- package/build/abstraction/providers/evm/bsc.js.map +1 -0
- package/build/abstraction/providers/{ethereum.js → evm/ethereum.js} +2 -2
- package/build/abstraction/providers/evm/ethereum.js.map +1 -0
- package/build/abstraction/providers/evm/index.d.ts +4 -0
- package/build/abstraction/providers/evm/index.js +15 -0
- package/build/abstraction/providers/evm/index.js.map +1 -0
- package/build/abstraction/providers/{optimism.js → evm/optimism.js} +1 -1
- package/build/abstraction/providers/evm/optimism.js.map +1 -0
- package/build/abstraction/providers/non-evm/bitcoin.d.ts +1 -0
- package/build/abstraction/providers/non-evm/bitcoin.js +23 -0
- package/build/abstraction/providers/non-evm/bitcoin.js.map +1 -0
- package/build/abstraction/providers/non-evm/index.d.ts +4 -0
- package/build/abstraction/providers/non-evm/index.js +15 -0
- package/build/abstraction/providers/non-evm/index.js.map +1 -0
- package/build/abstraction/providers/non-evm/multiversx.d.ts +1 -0
- package/build/abstraction/providers/non-evm/multiversx.js +23 -0
- package/build/abstraction/providers/non-evm/multiversx.js.map +1 -0
- package/build/abstraction/providers/non-evm/solana.d.ts +1 -0
- package/build/abstraction/providers/non-evm/solana.js +24 -0
- package/build/abstraction/providers/non-evm/solana.js.map +1 -0
- package/build/abstraction/providers/non-evm/xrp.d.ts +1 -0
- package/build/abstraction/providers/non-evm/xrp.js +23 -0
- package/build/abstraction/providers/non-evm/xrp.js.map +1 -0
- package/build/multichain/core/solana.js +3 -0
- package/build/multichain/core/solana.js.map +1 -1
- package/build/types/abstraction/index.d.ts +30 -0
- package/build/types/abstraction/index.js +3 -0
- package/build/types/abstraction/index.js.map +1 -0
- package/build/types/blockchain/GCREdit.d.ts +21 -0
- package/build/types/blockchain/GCREdit.js +5 -0
- package/build/types/blockchain/GCREdit.js.map +1 -0
- package/build/types/blockchain/Transaction.d.ts +2 -0
- package/build/types/index.d.ts +10 -9
- package/build/types/index.js.map +1 -1
- package/build/websdk/XMTransactions.d.ts +1 -1
- package/package.json +6 -5
- package/build/abstraction/providers/ankr.js.map +0 -1
- package/build/abstraction/providers/arbitrum.js.map +0 -1
- package/build/abstraction/providers/bsc.js.map +0 -1
- package/build/abstraction/providers/ethereum.js.map +0 -1
- package/build/abstraction/providers/optimism.js.map +0 -1
- /package/build/abstraction/providers/{ankr.d.ts → evm/ankr.d.ts} +0 -0
- /package/build/abstraction/providers/{arbitrum.d.ts → evm/arbitrum.d.ts} +0 -0
- /package/build/abstraction/providers/{bsc.d.ts → evm/bsc.d.ts} +0 -0
- /package/build/abstraction/providers/{ethereum.d.ts → evm/ethereum.d.ts} +0 -0
- /package/build/abstraction/providers/{optimism.d.ts → evm/optimism.d.ts} +0 -0
|
@@ -10,10 +10,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Identities = exports.CoinFinder = exports.EvmCoinFinder = void 0;
|
|
13
|
-
const EvmCoinFinder_1 =
|
|
14
|
-
exports
|
|
15
|
-
const CoinFinder_1 =
|
|
16
|
-
exports
|
|
13
|
+
const EvmCoinFinder_1 = require("./EvmCoinFinder");
|
|
14
|
+
Object.defineProperty(exports, "EvmCoinFinder", { enumerable: true, get: function () { return EvmCoinFinder_1.EvmCoinFinder; } });
|
|
15
|
+
const CoinFinder_1 = require("./CoinFinder");
|
|
16
|
+
Object.defineProperty(exports, "CoinFinder", { enumerable: true, get: function () { return CoinFinder_1.CoinFinder; } });
|
|
17
17
|
const Identities_1 = __importDefault(require("./Identities"));
|
|
18
18
|
exports.Identities = Identities_1.default;
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/abstraction/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;AAEH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/abstraction/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;AAEH,mDAA+C;AAS3C,8FATK,6BAAa,OASL;AARjB,6CAAyC;AASrC,2FATK,uBAAU,OASL;AARd,8DAAqC;AASjC,qBATG,oBAAU,CASH"}
|
|
@@ -21,10 +21,10 @@ declare class _AbstractionProviders {
|
|
|
21
21
|
[chainName: string]: string[];
|
|
22
22
|
};
|
|
23
23
|
solana: {
|
|
24
|
-
[key in "mainnet" | "
|
|
24
|
+
[key in "mainnet" | "testnet"]: string[];
|
|
25
25
|
};
|
|
26
26
|
multiversx: {
|
|
27
|
-
[key in "mainnet" | "
|
|
27
|
+
[key in "mainnet" | "testnet"]: string[];
|
|
28
28
|
};
|
|
29
29
|
xrp: {
|
|
30
30
|
[key in "mainnet" | "testnet"]: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractionProviders.js","sourceRoot":"","sources":["../../../../src/abstraction/providers/AbstractionProviders.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AACH,MAAM,qBAAqB;IAGvB,0DAA0D;IAC1D;QACI,IAAI,CAAC,GAAG,GAAG,EAAE,CAAA;QACb,IAAI,CAAC,MAAM,GAAG;YACV,OAAO,EAAE,EAAE;YACX,
|
|
1
|
+
{"version":3,"file":"AbstractionProviders.js","sourceRoot":"","sources":["../../../../src/abstraction/providers/AbstractionProviders.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AACH,MAAM,qBAAqB;IAGvB,0DAA0D;IAC1D;QACI,IAAI,CAAC,GAAG,GAAG,EAAE,CAAA;QACb,IAAI,CAAC,MAAM,GAAG;YACV,OAAO,EAAE,EAAE;YACX,OAAO,EAAE,EAAE;SACd,CAAA;QACD,IAAI,CAAC,UAAU,GAAG;YACd,OAAO,EAAE,EAAE;YACX,OAAO,EAAE,EAAE;SACd,CAAA;QACD,IAAI,CAAC,GAAG,GAAG;YACP,OAAO,EAAE,EAAE;YACX,OAAO,EAAE,EAAE;SACd,CAAA;QACD,IAAI,CAAC,OAAO,GAAG;YACX,OAAO,EAAE,EAAE;YACX,OAAO,EAAE,EAAE;SACd,CAAA;IACL,CAAC;IACD,YAAY;IACZ,MAAM,CAAC,WAAW;QACd,IAAI,CAAC,qBAAqB,CAAC,SAAS,EAAE,CAAC;YACnC,qBAAqB,CAAC,SAAS,GAAG,IAAI,qBAAqB,EAAE,CAAA;QACjE,CAAC;QACD,OAAO,qBAAqB,CAAC,SAAS,CAAA;IAC1C,CAAC;IAqBD,yBAAyB;IACzB,WAAW,CAAC,SAAiB,EAAE,OAAiB;QAC5C,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC;YACvB,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,CAAA;QAC5B,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAA;IACxC,CAAC;IAED,2BAA2B;IAC3B,sBAAsB,CAClB,KAAkD,EAClD,OAAe,EACf,OAAiB;QAEjB,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;YACtC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAA;QACzC,CAAC;IACL,CAAC;CAGJ;AAED,kDAAkD;AAClD,mHAAmH;AACnH,MAAM,4BAA4B,GAAG,qBAAqB,CAAC,WAAW,CAAA;AAEtE,kCAAkC;AAClC,kBAAe,4BAA4B,CAAA"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chain IDs for various chains
|
|
3
|
+
*/
|
|
1
4
|
export declare const chainIds: {
|
|
2
5
|
eth: {
|
|
3
6
|
mainnet: number;
|
|
@@ -20,8 +23,34 @@ export declare const chainIds: {
|
|
|
20
23
|
testnet: number;
|
|
21
24
|
};
|
|
22
25
|
};
|
|
26
|
+
export declare enum BaseChain {
|
|
27
|
+
ETHEREUM = "ethereum",
|
|
28
|
+
BSC = "bsc",
|
|
29
|
+
ARBITRUM = "arbitrum",
|
|
30
|
+
OPTIMISM = "optimism",
|
|
31
|
+
SOLANA = "solana",
|
|
32
|
+
MULTIVERSX = "multiversx",
|
|
33
|
+
XRP = "xrp",
|
|
34
|
+
BITCOIN = "bitcoin",
|
|
35
|
+
TON = "ton"
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Types for network types
|
|
39
|
+
*/
|
|
40
|
+
export type NetworkType = "mainnet" | "testnet";
|
|
41
|
+
/**
|
|
42
|
+
* Types for chain types
|
|
43
|
+
*/
|
|
44
|
+
export type ChainType = BaseChain.ETHEREUM | BaseChain.BSC | BaseChain.ARBITRUM | BaseChain.OPTIMISM | BaseChain.SOLANA | BaseChain.MULTIVERSX | BaseChain.XRP | BaseChain.BITCOIN | BaseChain.TON;
|
|
45
|
+
/**
|
|
46
|
+
* Type for supported chains
|
|
47
|
+
*/
|
|
48
|
+
export type SupportedChain = `${BaseChain}_${NetworkType}`;
|
|
49
|
+
/**
|
|
50
|
+
* Token addresses for various chains
|
|
51
|
+
*/
|
|
23
52
|
export declare const tokenAddresses: {
|
|
24
|
-
|
|
53
|
+
ethereum: {
|
|
25
54
|
mainnet: string;
|
|
26
55
|
sepolia: string;
|
|
27
56
|
wrapped: {
|
|
@@ -43,6 +72,94 @@ export declare const tokenAddresses: {
|
|
|
43
72
|
};
|
|
44
73
|
};
|
|
45
74
|
};
|
|
75
|
+
solana: {
|
|
76
|
+
mainnet: string;
|
|
77
|
+
testnet: string;
|
|
78
|
+
wrapped: {
|
|
79
|
+
ethereum: {
|
|
80
|
+
mainnet: string;
|
|
81
|
+
testnet: string;
|
|
82
|
+
};
|
|
83
|
+
bsc: {
|
|
84
|
+
mainnet: string;
|
|
85
|
+
testnet: string;
|
|
86
|
+
};
|
|
87
|
+
arbitrum: {
|
|
88
|
+
mainnet: string;
|
|
89
|
+
testnet: string;
|
|
90
|
+
};
|
|
91
|
+
optimism: {
|
|
92
|
+
mainnet: string;
|
|
93
|
+
testnet: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
xrp: {
|
|
98
|
+
mainnet: string;
|
|
99
|
+
testnet: string;
|
|
100
|
+
wrapped: {
|
|
101
|
+
ethereum: {
|
|
102
|
+
mainnet: string;
|
|
103
|
+
testnet: string;
|
|
104
|
+
};
|
|
105
|
+
bsc: {
|
|
106
|
+
mainnet: string;
|
|
107
|
+
testnet: string;
|
|
108
|
+
};
|
|
109
|
+
arbitrum: {
|
|
110
|
+
mainnet: string;
|
|
111
|
+
testnet: string;
|
|
112
|
+
};
|
|
113
|
+
optimism: {
|
|
114
|
+
mainnet: string;
|
|
115
|
+
testnet: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
bitcoin: {
|
|
120
|
+
mainnet: string;
|
|
121
|
+
testnet: string;
|
|
122
|
+
wrapped: {
|
|
123
|
+
ethereum: {
|
|
124
|
+
mainnet: string;
|
|
125
|
+
testnet: string;
|
|
126
|
+
};
|
|
127
|
+
bsc: {
|
|
128
|
+
mainnet: string;
|
|
129
|
+
testnet: string;
|
|
130
|
+
};
|
|
131
|
+
arbitrum: {
|
|
132
|
+
mainnet: string;
|
|
133
|
+
testnet: string;
|
|
134
|
+
};
|
|
135
|
+
optimism: {
|
|
136
|
+
mainnet: string;
|
|
137
|
+
testnet: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
multiversx: {
|
|
142
|
+
mainnet: string;
|
|
143
|
+
testnet: string;
|
|
144
|
+
wrapped: {
|
|
145
|
+
ethereum: {
|
|
146
|
+
mainnet: string;
|
|
147
|
+
testnet: string;
|
|
148
|
+
};
|
|
149
|
+
bsc: {
|
|
150
|
+
mainnet: string;
|
|
151
|
+
testnet: string;
|
|
152
|
+
};
|
|
153
|
+
arbitrum: {
|
|
154
|
+
mainnet: string;
|
|
155
|
+
testnet: string;
|
|
156
|
+
};
|
|
157
|
+
optimism: {
|
|
158
|
+
mainnet: string;
|
|
159
|
+
testnet: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
46
163
|
usdc: {
|
|
47
164
|
ethereum: {
|
|
48
165
|
mainnet: string;
|
|
@@ -60,6 +177,22 @@ export declare const tokenAddresses: {
|
|
|
60
177
|
mainnet: string;
|
|
61
178
|
testnet: string;
|
|
62
179
|
};
|
|
180
|
+
solana: {
|
|
181
|
+
mainnet: string;
|
|
182
|
+
testnet: string;
|
|
183
|
+
};
|
|
184
|
+
multiversx: {
|
|
185
|
+
mainnet: string;
|
|
186
|
+
testnet: string;
|
|
187
|
+
};
|
|
188
|
+
xrp: {
|
|
189
|
+
mainnet: string;
|
|
190
|
+
testnet: string;
|
|
191
|
+
};
|
|
192
|
+
ton: {
|
|
193
|
+
mainnet: string;
|
|
194
|
+
testnet: string;
|
|
195
|
+
};
|
|
63
196
|
};
|
|
64
197
|
usdt: {
|
|
65
198
|
ethereum: {
|
|
@@ -78,5 +211,21 @@ export declare const tokenAddresses: {
|
|
|
78
211
|
mainnet: string;
|
|
79
212
|
testnet: string;
|
|
80
213
|
};
|
|
214
|
+
solana: {
|
|
215
|
+
mainnet: string;
|
|
216
|
+
testnet: string;
|
|
217
|
+
};
|
|
218
|
+
multiversx: {
|
|
219
|
+
mainnet: string;
|
|
220
|
+
testnet: string;
|
|
221
|
+
};
|
|
222
|
+
xrp: {
|
|
223
|
+
mainnet: string;
|
|
224
|
+
testnet: string;
|
|
225
|
+
};
|
|
226
|
+
ton: {
|
|
227
|
+
mainnet: string;
|
|
228
|
+
testnet: string;
|
|
229
|
+
};
|
|
81
230
|
};
|
|
82
231
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.tokenAddresses = exports.chainIds = void 0;
|
|
3
|
+
exports.tokenAddresses = exports.BaseChain = exports.chainIds = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Chain IDs for various chains
|
|
6
|
+
*/
|
|
4
7
|
exports.chainIds = {
|
|
5
8
|
eth: {
|
|
6
9
|
mainnet: 1,
|
|
@@ -23,8 +26,24 @@ exports.chainIds = {
|
|
|
23
26
|
testnet: 11155420, //Sepolia
|
|
24
27
|
},
|
|
25
28
|
};
|
|
29
|
+
var BaseChain;
|
|
30
|
+
(function (BaseChain) {
|
|
31
|
+
BaseChain["ETHEREUM"] = "ethereum";
|
|
32
|
+
BaseChain["BSC"] = "bsc";
|
|
33
|
+
BaseChain["ARBITRUM"] = "arbitrum";
|
|
34
|
+
BaseChain["OPTIMISM"] = "optimism";
|
|
35
|
+
BaseChain["SOLANA"] = "solana";
|
|
36
|
+
BaseChain["MULTIVERSX"] = "multiversx";
|
|
37
|
+
BaseChain["XRP"] = "xrp";
|
|
38
|
+
BaseChain["BITCOIN"] = "bitcoin";
|
|
39
|
+
BaseChain["TON"] = "ton";
|
|
40
|
+
})(BaseChain || (exports.BaseChain = BaseChain = {}));
|
|
41
|
+
/**
|
|
42
|
+
* Token addresses for various chains
|
|
43
|
+
*/
|
|
26
44
|
exports.tokenAddresses = {
|
|
27
|
-
|
|
45
|
+
// ETH on EVM chains
|
|
46
|
+
ethereum: {
|
|
28
47
|
mainnet: "0x0000000000000000000000000000000000000000",
|
|
29
48
|
sepolia: "0x0000000000000000000000000000000000000000",
|
|
30
49
|
wrapped: {
|
|
@@ -46,6 +65,99 @@ exports.tokenAddresses = {
|
|
|
46
65
|
},
|
|
47
66
|
},
|
|
48
67
|
},
|
|
68
|
+
// SOL on EVM chains
|
|
69
|
+
solana: {
|
|
70
|
+
mainnet: "So11111111111111111111111111111111111111112",
|
|
71
|
+
testnet: "So11111111111111111111111111111111111111112",
|
|
72
|
+
wrapped: {
|
|
73
|
+
ethereum: {
|
|
74
|
+
mainnet: "0xD31a59c85aE9D8edEFeC411D448f90841571b89c",
|
|
75
|
+
testnet: "", // TODO: Need to verify Sepolia wSOL address
|
|
76
|
+
},
|
|
77
|
+
bsc: {
|
|
78
|
+
mainnet: "0x570A5D26f7765Ecb712C0924E4De545B89fD43dF",
|
|
79
|
+
testnet: "", // TODO: Need to verify BSC testnet wSOL address
|
|
80
|
+
},
|
|
81
|
+
arbitrum: {
|
|
82
|
+
mainnet: "0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",
|
|
83
|
+
testnet: "", // TODO: Need to verify Arbitrum Sepolia wSOL address
|
|
84
|
+
},
|
|
85
|
+
optimism: {
|
|
86
|
+
mainnet: "", // TODO: Need to verify Optimism wSOL address
|
|
87
|
+
testnet: "", // TODO: Need to verify Optimism Sepolia wSOL address
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
// XRP on EVM chains
|
|
92
|
+
xrp: {
|
|
93
|
+
mainnet: "XRP",
|
|
94
|
+
testnet: "XRP",
|
|
95
|
+
wrapped: {
|
|
96
|
+
ethereum: {
|
|
97
|
+
mainnet: "0x39fBBABf11738317a448031930706cd3e612e1B9",
|
|
98
|
+
testnet: "0x0000000000000000000000000000000000000000", // TODO: Need to verify Sepolia wXRP address
|
|
99
|
+
},
|
|
100
|
+
bsc: {
|
|
101
|
+
mainnet: "0x1D2F0da169ceB9fC7B3144628dB156f3F6c60dBE",
|
|
102
|
+
testnet: "0x0000000000000000000000000000000000000000", // TODO: Need to verify BSC testnet wXRP address
|
|
103
|
+
},
|
|
104
|
+
arbitrum: {
|
|
105
|
+
mainnet: "0x0000000000000000000000000000000000000000", // TODO: Need to verify Arbitrum wXRP address
|
|
106
|
+
testnet: "0x0000000000000000000000000000000000000000", // TODO: Need to verify Arbitrum Sepolia wXRP address
|
|
107
|
+
},
|
|
108
|
+
optimism: {
|
|
109
|
+
mainnet: "0x0000000000000000000000000000000000000000", // TODO: Need to verify Optimism wXRP address
|
|
110
|
+
testnet: "0x0000000000000000000000000000000000000000", // TODO: Need to verify Optimism Sepolia wXRP address
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
// BTC on EVM chains
|
|
115
|
+
bitcoin: {
|
|
116
|
+
mainnet: "BTC",
|
|
117
|
+
testnet: "BTC",
|
|
118
|
+
wrapped: {
|
|
119
|
+
ethereum: {
|
|
120
|
+
mainnet: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599", // WBTC
|
|
121
|
+
testnet: "0x92c63d0e701CAAe670C9415d91C474F686298f00", // Sepolia WBTC
|
|
122
|
+
},
|
|
123
|
+
bsc: {
|
|
124
|
+
mainnet: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c", // BTCB
|
|
125
|
+
testnet: "0x6ce8dA28E2f864420840cF74474eFf5fD80E65B8", // BSC Testnet BTCB
|
|
126
|
+
},
|
|
127
|
+
arbitrum: {
|
|
128
|
+
mainnet: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", // WBTC
|
|
129
|
+
testnet: "", // TODO: Need to verify Arbitrum Sepolia WBTC address
|
|
130
|
+
},
|
|
131
|
+
optimism: {
|
|
132
|
+
mainnet: "0x68f180fcCe6836688e9084f035309E29Bf0A2095", // WBTC
|
|
133
|
+
testnet: "", // TODO: Need to verify Optimism Sepolia WBTC address
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
// MultiversX on EVM chains
|
|
138
|
+
multiversx: {
|
|
139
|
+
mainnet: "EGLD",
|
|
140
|
+
testnet: "EGLD",
|
|
141
|
+
wrapped: {
|
|
142
|
+
ethereum: {
|
|
143
|
+
mainnet: "", // TODO: Need to verify if WEGLD exists on Ethereum
|
|
144
|
+
testnet: "", // TODO: Need to verify Sepolia WEGLD address
|
|
145
|
+
},
|
|
146
|
+
bsc: {
|
|
147
|
+
mainnet: "0xbF7c81FFF98BbE61B40Ed186e4AfD6DDd01337fe", // WEGLD
|
|
148
|
+
testnet: "", // TODO: Need to verify BSC testnet WEGLD address
|
|
149
|
+
},
|
|
150
|
+
arbitrum: {
|
|
151
|
+
mainnet: "", // TODO: Need to verify if WEGLD exists on Arbitrum
|
|
152
|
+
testnet: "", // TODO: Need to verify if WEGLD exists on Arbitrum Sepolia
|
|
153
|
+
},
|
|
154
|
+
optimism: {
|
|
155
|
+
mainnet: "", // TODO: Need to verify if WEGLD exists on Optimism
|
|
156
|
+
testnet: "", // TODO: Need to verify if WEGLD exists on Optimism Sepolia
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
// Stablecoins
|
|
49
161
|
usdc: {
|
|
50
162
|
ethereum: {
|
|
51
163
|
mainnet: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
@@ -63,6 +175,23 @@ exports.tokenAddresses = {
|
|
|
63
175
|
mainnet: "0x7F5c764cBc14f9669B88837ca1490cCa17c31607",
|
|
64
176
|
testnet: "0x0000000000000000000000000000000000000000", //TODO: Cannot verify this address on Sepolia
|
|
65
177
|
},
|
|
178
|
+
// Non-EVM chains
|
|
179
|
+
solana: {
|
|
180
|
+
mainnet: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
|
|
181
|
+
testnet: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
|
|
182
|
+
},
|
|
183
|
+
multiversx: {
|
|
184
|
+
mainnet: "USDC-c76f1f",
|
|
185
|
+
testnet: "USDC-8d4068", //TODO: Cannot verify this
|
|
186
|
+
},
|
|
187
|
+
xrp: {
|
|
188
|
+
mainnet: "", // TODO: Not supported yet
|
|
189
|
+
testnet: "", // TODO: Not supported yet
|
|
190
|
+
},
|
|
191
|
+
ton: {
|
|
192
|
+
mainnet: "", // TODO: Need authoritative source to verify USDC address on TON
|
|
193
|
+
testnet: "", // Not available on testnet
|
|
194
|
+
},
|
|
66
195
|
},
|
|
67
196
|
usdt: {
|
|
68
197
|
ethereum: {
|
|
@@ -81,6 +210,23 @@ exports.tokenAddresses = {
|
|
|
81
210
|
mainnet: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
|
|
82
211
|
testnet: "0x0000000000000000000000000000000000000000", // TODO: Cannot verify this address on Sepolia
|
|
83
212
|
},
|
|
213
|
+
// Non-EVM chains
|
|
214
|
+
solana: {
|
|
215
|
+
mainnet: "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
|
|
216
|
+
testnet: "", // USDT not available on testnet
|
|
217
|
+
},
|
|
218
|
+
multiversx: {
|
|
219
|
+
mainnet: "", // TODO: Need authoritative source to verify USDT token ID
|
|
220
|
+
testnet: "", // TODO: Need authoritative source to verify USDT token ID
|
|
221
|
+
},
|
|
222
|
+
xrp: {
|
|
223
|
+
mainnet: "", // TODO: Not supported yet
|
|
224
|
+
testnet: "", // TODO: Not supported yet
|
|
225
|
+
},
|
|
226
|
+
ton: {
|
|
227
|
+
mainnet: "", // TODO: Need authoritative source to verify USDT address on TON
|
|
228
|
+
testnet: "", // Not available on testnet
|
|
229
|
+
},
|
|
84
230
|
},
|
|
85
231
|
};
|
|
86
232
|
//# sourceMappingURL=CoinAddresses.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoinAddresses.js","sourceRoot":"","sources":["../../../../src/abstraction/providers/CoinAddresses.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CoinAddresses.js","sourceRoot":"","sources":["../../../../src/abstraction/providers/CoinAddresses.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACU,QAAA,QAAQ,GAAG;IACpB,GAAG,EAAE;QACD,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,CAAC;QACV,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,QAAQ;QACjB,OAAO,EAAE,KAAK;KACjB;IACD,GAAG,EAAE;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,EAAE;KACd;IACD,QAAQ,EAAE;QACN,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,MAAM,EAAE,SAAS;KAC7B;IACD,QAAQ,EAAE;QACN,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,QAAQ,EAAE,SAAS;KAC/B;CACJ,CAAA;AAED,IAAY,SAUX;AAVD,WAAY,SAAS;IACjB,kCAAqB,CAAA;IACrB,wBAAW,CAAA;IACX,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB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AE,6CAA6C;SACvG;QACD,QAAQ,EAAE;YACN,OAAO,EAAE,4CAA4C;YACrD,OAAO,EAAE,4CAA4C,EAAE,8CAA8C;SACxG;QACD,iBAAiB;QACjB,MAAM,EAAE;YACJ,OAAO,EAAE,8CAA8C;YACvD,OAAO,EAAE,EAAE,EAAE,gCAAgC;SAChD;QACD,UAAU,EAAE;YACR,OAAO,EAAE,EAAE,EAAE,0DAA0D;YACvE,OAAO,EAAE,EAAE,EAAE,0DAA0D;SAC1E;QACD,GAAG,EAAE;YACD,OAAO,EAAE,EAAE,EAAE,0BAA0B;YACvC,OAAO,EAAE,EAAE,EAAE,0BAA0B;SAC1C;QACD,GAAG,EAAE;YACD,OAAO,EAAE,EAAE,EAAE,gEAAgE;YAC7E,OAAO,EAAE,EAAE,EAAE,2BAA2B;SAC3C;KACJ;CACJ,CAAA"}
|
|
@@ -2,8 +2,8 @@ declare const Providers: {
|
|
|
2
2
|
evm: {
|
|
3
3
|
[chainName: string]: string[];
|
|
4
4
|
};
|
|
5
|
-
solana: { [key in "mainnet" | "
|
|
6
|
-
multiversx: { [key in "mainnet" | "
|
|
5
|
+
solana: { [key in "mainnet" | "testnet"]: string[]; };
|
|
6
|
+
multiversx: { [key in "mainnet" | "testnet"]: string[]; };
|
|
7
7
|
xrp: { [key in "mainnet" | "testnet"]: string[]; };
|
|
8
8
|
bitcoin: { [key in "mainnet" | "testnet"]: string[]; };
|
|
9
9
|
registerEVM(chainName: string, rpcUrls: string[]): void;
|
|
@@ -4,15 +4,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const AbstractionProviders_1 = __importDefault(require("./AbstractionProviders"));
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const arbitrum_1 = __importDefault(require("./arbitrum"));
|
|
10
|
-
const optimism_1 = __importDefault(require("./optimism"));
|
|
7
|
+
const evm_1 = require("./evm");
|
|
8
|
+
const non_evm_1 = require("./non-evm");
|
|
11
9
|
// Register all blockchain providers
|
|
12
|
-
|
|
13
|
-
(0,
|
|
14
|
-
(0,
|
|
15
|
-
(0,
|
|
10
|
+
// EVM
|
|
11
|
+
(0, evm_1.registerEthereumProviders)();
|
|
12
|
+
(0, evm_1.registerBscProviders)();
|
|
13
|
+
(0, evm_1.registerArbitrumProviders)();
|
|
14
|
+
(0, evm_1.registerOptimismProviders)();
|
|
15
|
+
// Non-EVM
|
|
16
|
+
(0, non_evm_1.registerSolanaProviders)();
|
|
17
|
+
(0, non_evm_1.registerMultiversxProviders)();
|
|
18
|
+
(0, non_evm_1.registerXrpProviders)();
|
|
19
|
+
(0, non_evm_1.registerBitcoinProviders)();
|
|
16
20
|
const Providers = (0, AbstractionProviders_1.default)();
|
|
17
21
|
exports.default = Providers;
|
|
18
22
|
//# sourceMappingURL=Providers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Providers.js","sourceRoot":"","sources":["../../../../src/abstraction/providers/Providers.ts"],"names":[],"mappings":";;;;;AAAA,kFAAiE;AACjE
|
|
1
|
+
{"version":3,"file":"Providers.js","sourceRoot":"","sources":["../../../../src/abstraction/providers/Providers.ts"],"names":[],"mappings":";;;;;AAAA,kFAAiE;AACjE,+BAKc;AACd,uCAKkB;AAElB,oCAAoC;AACpC,MAAM;AACN,IAAA,+BAAyB,GAAE,CAAA;AAC3B,IAAA,0BAAoB,GAAE,CAAA;AACtB,IAAA,+BAAyB,GAAE,CAAA;AAC3B,IAAA,+BAAyB,GAAE,CAAA;AAE3B,UAAU;AACV,IAAA,iCAAuB,GAAE,CAAA;AACzB,IAAA,qCAA2B,GAAE,CAAA;AAC7B,IAAA,8BAAoB,GAAE,CAAA;AACtB,IAAA,kCAAwB,GAAE,CAAA;AAE1B,MAAM,SAAS,GAAG,IAAA,8BAA4B,GAAE,CAAA;AAChD,kBAAe,SAAS,CAAA"}
|
|
@@ -10,7 +10,7 @@ exports.default = registerAnkrProviders;
|
|
|
10
10
|
* - Note how the providers are registered for each chain.
|
|
11
11
|
* - You can use this as a template for registering new providers.
|
|
12
12
|
*/
|
|
13
|
-
const AbstractionProviders_1 = __importDefault(require("
|
|
13
|
+
const AbstractionProviders_1 = __importDefault(require("../AbstractionProviders"));
|
|
14
14
|
function registerAnkrProviders() {
|
|
15
15
|
// ANCHOR Evm chains
|
|
16
16
|
// SECTION Ethereum
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ankr.js","sourceRoot":"","sources":["../../../../../src/abstraction/providers/evm/ankr.ts"],"names":[],"mappings":";;;;;AAQA,wCAkCC;AA1CD;;;;;GAKG;AACH,mFAAkE;AAElE,SAAwB,qBAAqB;IACzC,oBAAoB;IAEpB,mBAAmB;IACnB,IAAA,8BAA4B,GAAE,CAAC,WAAW,CAAC,UAAU,EAAE;QACnD,0BAA0B;KAC7B,CAAC,CAAA;IACF,IAAA,8BAA4B,GAAE,CAAC,WAAW,CAAC,kBAAkB,EAAE;QAC3D,kCAAkC;KACrC,CAAC,CAAA;IACF,IAAA,8BAA4B,GAAE,CAAC,WAAW,CAAC,kBAAkB,EAAE;QAC3D,kCAAkC;KACrC,CAAC,CAAA;IAEF,wBAAwB;IAExB,kBAAkB;IAClB,IAAA,8BAA4B,GAAE,CAAC,sBAAsB,CACjD,SAAS,EACT,SAAS,EACT,CAAC,0BAA0B,CAAC,CAC/B,CAAA;IACD,IAAA,8BAA4B,GAAE,CAAC,sBAAsB,CACjD,SAAS,EACT,SAAS,EACT,CAAC,iCAAiC,CAAC,CACtC,CAAA;IAED,iBAAiB;IACjB,IAAA,8BAA4B,GAAE,CAAC,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,EAAE;QACtE,oCAAoC;KACvC,CAAC,CAAA;IAEF,gDAAgD;AACpD,CAAC"}
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.default = registerArbitrumProviders;
|
|
7
|
-
const AbstractionProviders_1 = __importDefault(require("
|
|
7
|
+
const AbstractionProviders_1 = __importDefault(require("../AbstractionProviders"));
|
|
8
8
|
function registerArbitrumProviders() {
|
|
9
9
|
//TODO: Change to private third-party service providers in production for better performance and reliability
|
|
10
10
|
// Mainnet
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arbitrum.js","sourceRoot":"","sources":["../../../../../src/abstraction/providers/evm/arbitrum.ts"],"names":[],"mappings":";;;;;AAEA,4CAgBC;AAlBD,mFAAkE;AAElE,SAAwB,yBAAyB;IAC7C,4GAA4G;IAE5G,UAAU;IACV,IAAA,8BAA4B,GAAE,CAAC,WAAW,CAAC,UAAU,EAAE;QACnD,8BAA8B;QAC9B,+BAA+B;QAC/B,2BAA2B;QAC3B,8BAA8B;QAC9B,6BAA6B;KAChC,CAAC,CAAA;IAEF,oBAAoB;IACpB,IAAA,8BAA4B,GAAE,CAAC,WAAW,CAAC,kBAAkB,EAAE;QAC3D,wCAAwC;KAC3C,CAAC,CAAA;AACN,CAAC"}
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.default = registerBscProviders;
|
|
7
|
-
const AbstractionProviders_1 = __importDefault(require("
|
|
7
|
+
const AbstractionProviders_1 = __importDefault(require("../AbstractionProviders"));
|
|
8
8
|
function registerBscProviders() {
|
|
9
9
|
//TODO: Change to private third-party service providers in production for better performance and reliability
|
|
10
10
|
// Mainnet
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bsc.js","sourceRoot":"","sources":["../../../../../src/abstraction/providers/evm/bsc.ts"],"names":[],"mappings":";;;;;AAEA,uCAoBC;AAtBD,mFAAkE;AAElE,SAAwB,oBAAoB;IACxC,4GAA4G;IAE5G,UAAU;IACV,IAAA,8BAA4B,GAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC9C,mCAAmC;QACnC,iCAAiC;QACjC,iCAAiC;QACjC,kCAAkC;QAClC,yBAAyB;QACzB,0CAA0C;QAC1C,yCAAyC;KAC5C,CAAC,CAAA;IAEF,UAAU;IACV,IAAA,8BAA4B,GAAE,CAAC,WAAW,CAAC,aAAa,EAAE;QACtD,2CAA2C;QAC3C,kCAAkC;QAClC,0CAA0C;KAC7C,CAAC,CAAA;AACN,CAAC"}
|
|
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.default = registerEthereumProviders;
|
|
7
|
-
const AbstractionProviders_1 = __importDefault(require("
|
|
8
|
-
const CoinAddresses_1 = require("
|
|
7
|
+
const AbstractionProviders_1 = __importDefault(require("../AbstractionProviders"));
|
|
8
|
+
const CoinAddresses_1 = require("../CoinAddresses");
|
|
9
9
|
function registerEthereumProviders() {
|
|
10
10
|
//TODO: Change to private third-party service providers in production for better performance and reliability
|
|
11
11
|
// Mainnet
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ethereum.js","sourceRoot":"","sources":["../../../../../src/abstraction/providers/evm/ethereum.ts"],"names":[],"mappings":";;;;;AAGA,4CA8BC;AAjCD,mFAAkE;AAClE,oDAA2C;AAE3C,SAAwB,yBAAyB;IAC7C,4GAA4G;IAE5G,UAAU;IACV,IAAA,8BAA4B,GAAE,CAAC,WAAW,CACtC,wBAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,EAC/B;QACI,0BAA0B;QAC1B,sBAAsB;QACtB,0BAA0B;QAC1B,iCAAiC;QACjC,2BAA2B;QAC3B,wBAAwB;QACxB,mCAAmC;QACnC,4BAA4B;QAC5B,kCAAkC;KACrC,CACJ,CAAA;IAED,oBAAoB;IACpB,IAAA,8BAA4B,GAAE,CAAC,WAAW,CACtC,wBAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,EAC/B;QACI,kCAAkC;QAClC,wCAAwC;QACxC,sDAAsD;QACtD,yBAAyB;QACzB,yDAAyD;KAC5D,CACJ,CAAA;AACL,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.registerOptimismProviders = exports.registerArbitrumProviders = exports.registerBscProviders = exports.registerEthereumProviders = void 0;
|
|
7
|
+
var ethereum_1 = require("./ethereum");
|
|
8
|
+
Object.defineProperty(exports, "registerEthereumProviders", { enumerable: true, get: function () { return __importDefault(ethereum_1).default; } });
|
|
9
|
+
var bsc_1 = require("./bsc");
|
|
10
|
+
Object.defineProperty(exports, "registerBscProviders", { enumerable: true, get: function () { return __importDefault(bsc_1).default; } });
|
|
11
|
+
var arbitrum_1 = require("./arbitrum");
|
|
12
|
+
Object.defineProperty(exports, "registerArbitrumProviders", { enumerable: true, get: function () { return __importDefault(arbitrum_1).default; } });
|
|
13
|
+
var optimism_1 = require("./optimism");
|
|
14
|
+
Object.defineProperty(exports, "registerOptimismProviders", { enumerable: true, get: function () { return __importDefault(optimism_1).default; } });
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/abstraction/providers/evm/index.ts"],"names":[],"mappings":";;;;;;AAAA,uCAAiE;AAAxD,sIAAA,OAAO,OAA6B;AAC7C,6BAAuD;AAA9C,4HAAA,OAAO,OAAwB;AACxC,uCAAiE;AAAxD,sIAAA,OAAO,OAA6B;AAC7C,uCAAiE;AAAxD,sIAAA,OAAO,OAA6B"}
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.default = registerOptimismProviders;
|
|
7
|
-
const AbstractionProviders_1 = __importDefault(require("
|
|
7
|
+
const AbstractionProviders_1 = __importDefault(require("../AbstractionProviders"));
|
|
8
8
|
function registerOptimismProviders() {
|
|
9
9
|
//TODO: Change to private third-party service providers in production for better performance and reliability
|
|
10
10
|
// Mainnet
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optimism.js","sourceRoot":"","sources":["../../../../../src/abstraction/providers/evm/optimism.ts"],"names":[],"mappings":";;;;;AAEA,4CAoBC;AAtBD,mFAAkE;AAElE,SAAwB,yBAAyB;IAC7C,4GAA4G;IAE5G,UAAU;IACV,IAAA,8BAA4B,GAAE,CAAC,WAAW,CAAC,UAAU,EAAE;QACnD,6BAA6B;QAC7B,+BAA+B;QAC/B,qDAAqD;QACrD,qCAAqC;QACrC,2BAA2B;QAC3B,8BAA8B;KACjC,CAAC,CAAA;IAEF,oBAAoB;IACpB,IAAA,8BAA4B,GAAE,CAAC,WAAW,CAAC,kBAAkB,EAAE;QAC3D,iCAAiC;QACjC,8CAA8C;QAC9C,qDAAqD;QACrD,mCAAmC;KACtC,CAAC,CAAA;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function registerBitcoinProviders(): void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = registerBitcoinProviders;
|
|
7
|
+
const AbstractionProviders_1 = __importDefault(require("../AbstractionProviders"));
|
|
8
|
+
function registerBitcoinProviders() {
|
|
9
|
+
// Mainnet
|
|
10
|
+
(0, AbstractionProviders_1.default)().bitcoin.mainnet = [
|
|
11
|
+
"https://blockstream.info/api", // Blockstream Explorer API
|
|
12
|
+
"https://mempool.space/api", // Mempool.space API
|
|
13
|
+
"https://api.blockcypher.com/v1/btc/main", // BlockCypher API
|
|
14
|
+
"https://api.blockchain.info", // Blockchain.info API
|
|
15
|
+
];
|
|
16
|
+
// Testnet
|
|
17
|
+
(0, AbstractionProviders_1.default)().bitcoin.testnet = [
|
|
18
|
+
"https://blockstream.info/testnet/api", // Blockstream Testnet
|
|
19
|
+
"https://mempool.space/testnet/api", // Mempool.space Testnet
|
|
20
|
+
"https://api.blockcypher.com/v1/btc/test3", // BlockCypher Testnet
|
|
21
|
+
];
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=bitcoin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bitcoin.js","sourceRoot":"","sources":["../../../../../src/abstraction/providers/non-evm/bitcoin.ts"],"names":[],"mappings":";;;;;AAEA,2CAeC;AAjBD,mFAAkE;AAElE,SAAwB,wBAAwB;IAC5C,UAAU;IACV,IAAA,8BAA4B,GAAE,CAAC,OAAO,CAAC,OAAO,GAAG;QAC7C,8BAA8B,EAAE,2BAA2B;QAC3D,2BAA2B,EAAE,oBAAoB;QACjD,yCAAyC,EAAE,kBAAkB;QAC7D,6BAA6B,EAAE,sBAAsB;KACxD,CAAA;IAED,UAAU;IACV,IAAA,8BAA4B,GAAE,CAAC,OAAO,CAAC,OAAO,GAAG;QAC7C,sCAAsC,EAAE,sBAAsB;QAC9D,mCAAmC,EAAE,wBAAwB;QAC7D,0CAA0C,EAAE,sBAAsB;KACrE,CAAA;AACL,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.registerBitcoinProviders = exports.registerXrpProviders = exports.registerMultiversxProviders = exports.registerSolanaProviders = void 0;
|
|
7
|
+
var solana_1 = require("./solana");
|
|
8
|
+
Object.defineProperty(exports, "registerSolanaProviders", { enumerable: true, get: function () { return __importDefault(solana_1).default; } });
|
|
9
|
+
var multiversx_1 = require("./multiversx");
|
|
10
|
+
Object.defineProperty(exports, "registerMultiversxProviders", { enumerable: true, get: function () { return __importDefault(multiversx_1).default; } });
|
|
11
|
+
var xrp_1 = require("./xrp");
|
|
12
|
+
Object.defineProperty(exports, "registerXrpProviders", { enumerable: true, get: function () { return __importDefault(xrp_1).default; } });
|
|
13
|
+
var bitcoin_1 = require("./bitcoin");
|
|
14
|
+
Object.defineProperty(exports, "registerBitcoinProviders", { enumerable: true, get: function () { return __importDefault(bitcoin_1).default; } });
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/abstraction/providers/non-evm/index.ts"],"names":[],"mappings":";;;;;;AAAA,mCAA6D;AAApD,kIAAA,OAAO,OAA2B;AAC3C,2CAAqE;AAA5D,0IAAA,OAAO,OAA+B;AAC/C,6BAAuD;AAA9C,4HAAA,OAAO,OAAwB;AACxC,qCAA+D;AAAtD,oIAAA,OAAO,OAA4B"}
|