@tria-sdk/constants 1.0.28 → 1.0.30
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/dist/index.js +4 -21
- package/dist/src/chains.d.ts +0 -8
- package/dist/src/chains.js +49 -73
- package/dist/src/config.d.ts +0 -1
- package/dist/src/config.js +10 -21
- package/dist/src/connect.js +5 -8
- package/dist/src/txn.d.ts +1 -2
- package/dist/src/txn.js +59 -73
- package/index.ts +0 -1
- package/package.json +1 -1
- package/src/chains.ts +0 -24
- package/src/config.ts +0 -5
- package/src/txn.ts +1 -14
- package/tsconfig.json +1 -1
- package/dist/src/gasToken.d.ts +0 -0
- package/dist/src/gasToken.js +0 -13
- package/src/gasToken.ts +0 -13
package/dist/index.js
CHANGED
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/config"), exports);
|
|
18
|
-
__exportStar(require("./src/chains"), exports);
|
|
19
|
-
__exportStar(require("./src/txn"), exports);
|
|
20
|
-
__exportStar(require("./src/connect"), exports);
|
|
21
|
-
// export * from "./src/gasToken";
|
|
1
|
+
export * from "./src/config";
|
|
2
|
+
export * from "./src/chains";
|
|
3
|
+
export * from "./src/txn";
|
|
4
|
+
export * from "./src/connect";
|
package/dist/src/chains.d.ts
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
|
-
export declare const mumbai = "MUMBAI";
|
|
2
|
-
export declare const polygon = "POLYGON";
|
|
3
|
-
export declare const ethereum = "ETH";
|
|
4
|
-
export declare const fuse = "FUSE";
|
|
5
|
-
export declare const fuseSpark = "FUSESPARK";
|
|
6
1
|
export declare const zkLink: string;
|
|
7
2
|
export declare const zkLinkTestnet: string;
|
|
8
3
|
export declare const bitlayerTestnet: string;
|
|
9
4
|
export declare const neoxTestnet: string;
|
|
10
5
|
export declare const sepolia: string;
|
|
11
6
|
export declare const polygonAmoy: string;
|
|
12
|
-
export declare const vanarTestnet: string;
|
|
13
7
|
export type ZKLINK = "ZKLINK-NOVA";
|
|
14
8
|
export type ZKLINK_TESTNET = "ZKLINK-NOVA-TESTNET";
|
|
15
9
|
export type BITLAYER_TESTNET = "BITLAYER-TESTNET";
|
|
16
10
|
export type NEOX_TESTNET = "NEOX-TESTNET";
|
|
17
11
|
export type SEPOLIA = "SEPOLIA";
|
|
18
12
|
export type AMOY = "AMOY";
|
|
19
|
-
export type VANGUARD_VANAR_TESTNET = "VANGUARD-VANAR-TESTNET";
|
|
20
13
|
export declare const TESTNET_CHAINS: string[];
|
|
21
14
|
export declare const SUPPORTED_EVM_CHAINS: string[];
|
|
22
|
-
export declare const GAS_ABS_ENABLED_CHAINS: string[];
|
|
23
15
|
export declare const AA_SUPPORTED_EVM_CHAINS: string[];
|
|
24
16
|
export declare const ALLCHAINS: string[];
|
|
25
17
|
export declare const networks: {
|
package/dist/src/chains.js
CHANGED
|
@@ -1,33 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
exports.fuseSpark = "FUSESPARK";
|
|
9
|
-
exports.zkLink = "ZKLINK-NOVA";
|
|
10
|
-
exports.zkLinkTestnet = "ZKLINK-NOVA-TESTNET";
|
|
11
|
-
exports.bitlayerTestnet = "BITLAYER-TESTNET";
|
|
12
|
-
exports.neoxTestnet = "NEOX-TESTNET";
|
|
13
|
-
exports.sepolia = "SEPOLIA";
|
|
14
|
-
exports.polygonAmoy = "AMOY";
|
|
15
|
-
exports.vanarTestnet = "VANGUARD-VANAR-TESTNET";
|
|
16
|
-
exports.TESTNET_CHAINS = [
|
|
17
|
-
exports.sepolia,
|
|
1
|
+
export const zkLink = "ZKLINK-NOVA";
|
|
2
|
+
export const zkLinkTestnet = "ZKLINK-NOVA-TESTNET";
|
|
3
|
+
export const bitlayerTestnet = "BITLAYER-TESTNET";
|
|
4
|
+
export const neoxTestnet = "NEOX-TESTNET";
|
|
5
|
+
export const sepolia = "SEPOLIA";
|
|
6
|
+
export const polygonAmoy = "AMOY";
|
|
7
|
+
export const TESTNET_CHAINS = [
|
|
18
8
|
"MUMBAI",
|
|
19
9
|
"FUSESPARK",
|
|
20
10
|
"MANTA-TESTNET",
|
|
21
11
|
"METIS-TESTNET",
|
|
22
12
|
"MANTLE-TESTNET",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
exports.vanarTestnet,
|
|
13
|
+
zkLinkTestnet,
|
|
14
|
+
bitlayerTestnet,
|
|
15
|
+
neoxTestnet,
|
|
16
|
+
sepolia,
|
|
17
|
+
polygonAmoy,
|
|
29
18
|
];
|
|
30
|
-
|
|
19
|
+
export const SUPPORTED_EVM_CHAINS = [
|
|
31
20
|
"ETH",
|
|
32
21
|
"POLYGON",
|
|
33
22
|
"AVALANCHE",
|
|
@@ -38,26 +27,22 @@ exports.SUPPORTED_EVM_CHAINS = [
|
|
|
38
27
|
"FUSE",
|
|
39
28
|
"FUSESPARK",
|
|
40
29
|
"MUMBAI",
|
|
41
|
-
exports.sepolia,
|
|
42
30
|
"MANTA",
|
|
43
31
|
"MANTA-TESTNET",
|
|
44
32
|
"METIS",
|
|
45
33
|
"METIS-TESTNET",
|
|
46
34
|
"MANTLE",
|
|
47
35
|
"MANTLE-TESTNET",
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
exports.vanarTestnet,
|
|
36
|
+
zkLink,
|
|
37
|
+
zkLinkTestnet,
|
|
38
|
+
bitlayerTestnet,
|
|
39
|
+
neoxTestnet,
|
|
40
|
+
sepolia,
|
|
41
|
+
polygonAmoy,
|
|
55
42
|
];
|
|
56
|
-
|
|
57
|
-
exports.AA_SUPPORTED_EVM_CHAINS = [
|
|
43
|
+
export const AA_SUPPORTED_EVM_CHAINS = [
|
|
58
44
|
// "ETH",
|
|
59
45
|
"POLYGON",
|
|
60
|
-
exports.sepolia,
|
|
61
46
|
// "AVALANCHE",
|
|
62
47
|
// "ARBITRUM",
|
|
63
48
|
// "BINANCE",
|
|
@@ -65,13 +50,13 @@ exports.AA_SUPPORTED_EVM_CHAINS = [
|
|
|
65
50
|
"FUSE",
|
|
66
51
|
"MUMBAI",
|
|
67
52
|
// "MANTLE",
|
|
68
|
-
|
|
53
|
+
sepolia,
|
|
69
54
|
"OPTIMISM",
|
|
70
55
|
"ARBITRUM",
|
|
71
56
|
"AVALANCHE",
|
|
72
57
|
"MANTLE",
|
|
73
58
|
];
|
|
74
|
-
|
|
59
|
+
export const ALLCHAINS = [
|
|
75
60
|
"ETH",
|
|
76
61
|
"POLYGON",
|
|
77
62
|
"AVALANCHE",
|
|
@@ -82,7 +67,6 @@ exports.ALLCHAINS = [
|
|
|
82
67
|
"FUSE",
|
|
83
68
|
"FUSESPARK",
|
|
84
69
|
"MUMBAI",
|
|
85
|
-
exports.sepolia,
|
|
86
70
|
"MANTA",
|
|
87
71
|
"MANTA-TESTNET",
|
|
88
72
|
"METIS",
|
|
@@ -90,24 +74,23 @@ exports.ALLCHAINS = [
|
|
|
90
74
|
"MANTLE",
|
|
91
75
|
"MANTLE-TESTNET",
|
|
92
76
|
"SOLANA",
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
exports.vanarTestnet,
|
|
77
|
+
zkLink,
|
|
78
|
+
zkLinkTestnet,
|
|
79
|
+
bitlayerTestnet,
|
|
80
|
+
neoxTestnet,
|
|
81
|
+
sepolia,
|
|
82
|
+
polygonAmoy,
|
|
100
83
|
];
|
|
101
84
|
const baseLogoUrl = "https://static.tria.so/chain-logo-w";
|
|
102
85
|
const baseLogoUrlBlack = "https://static.tria.so/chain-logo-b";
|
|
103
|
-
|
|
86
|
+
export const networks = [
|
|
104
87
|
{
|
|
105
88
|
chainName: "ETH",
|
|
106
89
|
logo: `${baseLogoUrl}/Ethereum.webp`,
|
|
107
90
|
type: "mainnet",
|
|
108
91
|
},
|
|
109
92
|
{
|
|
110
|
-
chainName:
|
|
93
|
+
chainName: sepolia,
|
|
111
94
|
logo: `${baseLogoUrl}/Ethereum.webp`,
|
|
112
95
|
type: "testnet",
|
|
113
96
|
},
|
|
@@ -122,7 +105,7 @@ exports.networks = [
|
|
|
122
105
|
type: "mainnet",
|
|
123
106
|
},
|
|
124
107
|
{
|
|
125
|
-
chainName:
|
|
108
|
+
chainName: polygonAmoy,
|
|
126
109
|
logo: `${baseLogoUrl}/Polygon.svg`,
|
|
127
110
|
type: "testnet",
|
|
128
111
|
},
|
|
@@ -201,37 +184,32 @@ exports.networks = [
|
|
|
201
184
|
type: "mainnet",
|
|
202
185
|
},
|
|
203
186
|
{
|
|
204
|
-
chainName:
|
|
187
|
+
chainName: zkLink,
|
|
205
188
|
logo: `${baseLogoUrl}/zklink.webp`,
|
|
206
189
|
type: "mainnet",
|
|
207
190
|
},
|
|
208
191
|
{
|
|
209
|
-
chainName:
|
|
192
|
+
chainName: zkLinkTestnet,
|
|
210
193
|
logo: `${baseLogoUrl}/zklink.webp`,
|
|
211
194
|
type: "testnet",
|
|
212
195
|
},
|
|
213
196
|
{
|
|
214
|
-
chainName:
|
|
197
|
+
chainName: bitlayerTestnet,
|
|
215
198
|
logo: `${baseLogoUrl}/bitlayer.webp`,
|
|
216
199
|
type: "testnet",
|
|
217
200
|
},
|
|
218
201
|
{
|
|
219
|
-
chainName:
|
|
202
|
+
chainName: neoxTestnet,
|
|
220
203
|
logo: `${baseLogoUrl}/Neo.webp`,
|
|
221
204
|
type: "testnet",
|
|
222
205
|
},
|
|
223
|
-
{
|
|
224
|
-
chainName: exports.vanarTestnet,
|
|
225
|
-
logo: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
|
|
226
|
-
type: "testnet",
|
|
227
|
-
},
|
|
228
206
|
];
|
|
229
|
-
|
|
207
|
+
export const chainNameToLogo = {
|
|
230
208
|
ETH: `${baseLogoUrl}/Ethereum.webp`,
|
|
231
|
-
[
|
|
209
|
+
[sepolia]: `${baseLogoUrl}/Ethereum.webp`,
|
|
232
210
|
FANTOM: `${baseLogoUrl}/Fantom.webp`,
|
|
233
211
|
POLYGON: `${baseLogoUrl}/Polygon.webp`,
|
|
234
|
-
[
|
|
212
|
+
[polygonAmoy]: `${baseLogoUrl}/Polygon.webp`,
|
|
235
213
|
AVALANCHE: `${baseLogoUrl}/Avalanche.webp`,
|
|
236
214
|
OPTIMISM: `${baseLogoUrl}/Optimism.webp`,
|
|
237
215
|
ARBITRUM: `${baseLogoUrl}/Arbitrum.webp`,
|
|
@@ -247,19 +225,18 @@ exports.chainNameToLogo = {
|
|
|
247
225
|
MANTLE: `${baseLogoUrl}/Mantle.webp`,
|
|
248
226
|
"MANTLE-TESTNET": `${baseLogoUrl}/Mantle.webp`,
|
|
249
227
|
SOLANA: `${baseLogoUrl}/Solana.webp`,
|
|
250
|
-
[
|
|
251
|
-
[
|
|
252
|
-
[
|
|
253
|
-
[
|
|
254
|
-
[exports.vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
|
|
228
|
+
[zkLink]: `${baseLogoUrl}/zklink.webp`,
|
|
229
|
+
[zkLinkTestnet]: `${baseLogoUrl}/zklink.webp`,
|
|
230
|
+
[bitlayerTestnet]: `${baseLogoUrl}/bitlayer.webp`,
|
|
231
|
+
[neoxTestnet]: `${baseLogoUrl}/Neo.webp`,
|
|
255
232
|
};
|
|
256
|
-
|
|
233
|
+
export const chainNameToLogoBlack = {
|
|
257
234
|
ETH: `${baseLogoUrlBlack}/Ethereum.webp`,
|
|
258
|
-
[
|
|
235
|
+
[sepolia]: `${baseLogoUrlBlack}/Ethereum.webp`,
|
|
259
236
|
BINANCE: `${baseLogoUrlBlack}/binance.webp`,
|
|
260
237
|
FANTOM: `${baseLogoUrlBlack}/Fantom.webp`,
|
|
261
238
|
POLYGON: `${baseLogoUrlBlack}/Polygon.webp`,
|
|
262
|
-
[
|
|
239
|
+
[polygonAmoy]: `${baseLogoUrlBlack}/Polygon.webp`,
|
|
263
240
|
AVALANCHE: `${baseLogoUrlBlack}/Avalanche.webp`,
|
|
264
241
|
OPTIMISM: `${baseLogoUrlBlack}/Optimism.webp`,
|
|
265
242
|
ARBITRUM: `${baseLogoUrlBlack}/Arbitrum.webp`,
|
|
@@ -274,9 +251,8 @@ exports.chainNameToLogoBlack = {
|
|
|
274
251
|
MANTLE: `${baseLogoUrlBlack}/Mantle.webp`,
|
|
275
252
|
"MANTLE-TESTNET": `${baseLogoUrlBlack}/Mantle.webp`,
|
|
276
253
|
SOLANA: `${baseLogoUrlBlack}/Solana.webp`,
|
|
277
|
-
[
|
|
278
|
-
[
|
|
279
|
-
[
|
|
280
|
-
[
|
|
281
|
-
[exports.vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrlBlack}/Vanguard.png`,
|
|
254
|
+
[zkLink]: `${baseLogoUrlBlack}/zklink.webp`,
|
|
255
|
+
[zkLinkTestnet]: `${baseLogoUrlBlack}/zklink.webp`,
|
|
256
|
+
[bitlayerTestnet]: `${baseLogoUrlBlack}/bitlayer.webp`,
|
|
257
|
+
[neoxTestnet]: `${baseLogoUrlBlack}/Neo.png`,
|
|
282
258
|
};
|
package/dist/src/config.d.ts
CHANGED
|
@@ -3,4 +3,3 @@ export declare const isEvmChain: (chainName: string) => boolean;
|
|
|
3
3
|
export declare const isAaSupportedChain: (chainName: string) => boolean;
|
|
4
4
|
export declare const isChainSupported: (chainName: string) => boolean;
|
|
5
5
|
export declare const isTestnetChain: (chainName: string) => boolean;
|
|
6
|
-
export declare const isGasAbsEnabled: (chainName: string) => boolean;
|
package/dist/src/config.js
CHANGED
|
@@ -1,25 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
exports.prodApiUrl = "https://prod.tria.so";
|
|
6
|
-
const isEvmChain = (chainName) => {
|
|
7
|
-
return chains_1.SUPPORTED_EVM_CHAINS.includes(chainName);
|
|
1
|
+
import { AA_SUPPORTED_EVM_CHAINS, ALLCHAINS, SUPPORTED_EVM_CHAINS, TESTNET_CHAINS, } from "./chains";
|
|
2
|
+
export const prodApiUrl = "https://prod.tria.so";
|
|
3
|
+
export const isEvmChain = (chainName) => {
|
|
4
|
+
return SUPPORTED_EVM_CHAINS.includes(chainName);
|
|
8
5
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return chains_1.AA_SUPPORTED_EVM_CHAINS.includes(chainName);
|
|
6
|
+
export const isAaSupportedChain = (chainName) => {
|
|
7
|
+
return AA_SUPPORTED_EVM_CHAINS.includes(chainName);
|
|
12
8
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return chains_1.ALLCHAINS.includes(chainName);
|
|
9
|
+
export const isChainSupported = (chainName) => {
|
|
10
|
+
return ALLCHAINS.includes(chainName);
|
|
16
11
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
return chains_1.TESTNET_CHAINS.includes(chainName);
|
|
12
|
+
export const isTestnetChain = (chainName) => {
|
|
13
|
+
return TESTNET_CHAINS.includes(chainName);
|
|
20
14
|
};
|
|
21
|
-
exports.isTestnetChain = isTestnetChain;
|
|
22
|
-
const isGasAbsEnabled = (chainName) => {
|
|
23
|
-
return chains_1.GAS_ABS_ENABLED_CHAINS.includes(chainName);
|
|
24
|
-
};
|
|
25
|
-
exports.isGasAbsEnabled = isGasAbsEnabled;
|
package/dist/src/connect.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.triaAuthUrl = exports.storageKeys = exports.TRIA_WALLET_SELECTED_CHAIN = exports.TRIA_WALLET_STORE = exports.eventTypes = void 0;
|
|
4
|
-
exports.eventTypes = {
|
|
1
|
+
export const eventTypes = {
|
|
5
2
|
logIn: "Log in",
|
|
6
3
|
triaSignUp: "Tria Sign up",
|
|
7
4
|
emailPwSignUp: "Email Pwd Sign up",
|
|
@@ -18,12 +15,12 @@ exports.eventTypes = {
|
|
|
18
15
|
saveToAuth: "Save to Auth Iframe",
|
|
19
16
|
triaStoreSet: "triaStoreSet",
|
|
20
17
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
export const TRIA_WALLET_STORE = "tria.wallet.store";
|
|
19
|
+
export const TRIA_WALLET_SELECTED_CHAIN = "tria.wallet.selectedChain";
|
|
20
|
+
export const storageKeys = {
|
|
24
21
|
TRIA_WALLET_STORE: "tria.wallet.store",
|
|
25
22
|
TRIA_WALLET_SELECTED_CHAIN: "tria.wallet.selectedChain",
|
|
26
23
|
PERSIST_ROOT: "persist:root",
|
|
27
24
|
};
|
|
28
|
-
|
|
25
|
+
export const triaAuthUrl = "https://auth.tria.so";
|
|
29
26
|
// export const PARENT_URL = document?.referrer || window?.parent?.[0]?.location?.ancestorOrigins?.[0];
|
package/dist/src/txn.d.ts
CHANGED
|
@@ -171,9 +171,9 @@ export declare const chainNameToChainId: {
|
|
|
171
171
|
"MANTLE-TESTNET": number;
|
|
172
172
|
};
|
|
173
173
|
export declare const chainIdToChainName: {
|
|
174
|
-
11155111: string;
|
|
175
174
|
80001: string;
|
|
176
175
|
80002: string;
|
|
176
|
+
11155111: string;
|
|
177
177
|
137: string;
|
|
178
178
|
1: string;
|
|
179
179
|
43114: string;
|
|
@@ -193,5 +193,4 @@ export declare const chainIdToChainName: {
|
|
|
193
193
|
810182: string;
|
|
194
194
|
200810: string;
|
|
195
195
|
12227330: string;
|
|
196
|
-
78600: string;
|
|
197
196
|
};
|
package/dist/src/txn.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.chainIdToChainName = exports.chainNameToChainId = exports.rpcUrls = exports.nativeTokenDetails = exports.txnBaseUrl = exports.explorerBaseUrls = void 0;
|
|
4
|
-
const chains_1 = require("./chains");
|
|
5
|
-
exports.explorerBaseUrls = {
|
|
1
|
+
import { bitlayerTestnet, neoxTestnet, polygonAmoy, sepolia, zkLink, zkLinkTestnet, } from "./chains";
|
|
2
|
+
export const explorerBaseUrls = {
|
|
6
3
|
ETH: "https://etherscan.io",
|
|
7
|
-
[
|
|
4
|
+
[sepolia]: "https://sepolia.etherscan.io",
|
|
8
5
|
POLYGON: "https://polygonscan.com",
|
|
9
|
-
[
|
|
6
|
+
[polygonAmoy]: "https://www.oklink.com/amoy",
|
|
10
7
|
AVALANCHE: "https://snowtrace.io",
|
|
11
8
|
ARBITRUM: "https://arbiscan.io",
|
|
12
9
|
BINANCE: "https://bscscan.com",
|
|
@@ -25,44 +22,42 @@ exports.explorerBaseUrls = {
|
|
|
25
22
|
"MANTLE-TESTNET": "https://explorer.testnet.mantle.xyz",
|
|
26
23
|
MANTA: "https://pacific-explorer.manta.network",
|
|
27
24
|
"MANTA-TESTNET": "https://manta-testnet.calderaexplorer.xyz",
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[chains_1.vanarTestnet]: "https://explorer-vanguard.vanarchain.com",
|
|
25
|
+
[zkLink]: "https://explorer.zklink.io",
|
|
26
|
+
[zkLinkTestnet]: "https://goerli.explorer.zklink.io",
|
|
27
|
+
[bitlayerTestnet]: "https://testnet-scan.bitlayer.org/en-us",
|
|
28
|
+
[neoxTestnet]: "https://xt2scan.ngd.network",
|
|
33
29
|
};
|
|
34
|
-
|
|
35
|
-
ETH: `${
|
|
36
|
-
[
|
|
37
|
-
POLYGON: `${
|
|
38
|
-
[
|
|
39
|
-
AVALANCHE: `${
|
|
40
|
-
ARBITRUM: `${
|
|
41
|
-
BINANCE: `${
|
|
42
|
-
OPTIMISM: `${
|
|
43
|
-
FANTOM: `${
|
|
44
|
-
FUSE: `${
|
|
45
|
-
FUSESPARK: `${
|
|
46
|
-
MUMBAI: `${
|
|
47
|
-
METIS: `${
|
|
48
|
-
"METIS-TESTNET": `${
|
|
49
|
-
MANTLE: `${
|
|
50
|
-
"MANTLE-TESTNET": `${
|
|
51
|
-
MANTA: `${
|
|
52
|
-
"MANTA-TESTNET": `${
|
|
53
|
-
[
|
|
54
|
-
[
|
|
55
|
-
[
|
|
56
|
-
[
|
|
57
|
-
[chains_1.vanarTestnet]: `${exports.explorerBaseUrls[chains_1.vanarTestnet]}/tx`,
|
|
30
|
+
export const txnBaseUrl = {
|
|
31
|
+
ETH: `${explorerBaseUrls.ETH}/tx`, // /txHash
|
|
32
|
+
[sepolia]: `${explorerBaseUrls[sepolia]}/tx`,
|
|
33
|
+
POLYGON: `${explorerBaseUrls.POLYGON}/tx`,
|
|
34
|
+
[polygonAmoy]: `${explorerBaseUrls[polygonAmoy]}/tx`,
|
|
35
|
+
AVALANCHE: `${explorerBaseUrls.AVALANCHE}/tx`,
|
|
36
|
+
ARBITRUM: `${explorerBaseUrls.ARBITRUM}/tx`,
|
|
37
|
+
BINANCE: `${explorerBaseUrls.BINANCE}/tx`,
|
|
38
|
+
OPTIMISM: `${explorerBaseUrls.OPTIMISM}/tx`,
|
|
39
|
+
FANTOM: `${explorerBaseUrls.FANTOM}/tx`,
|
|
40
|
+
FUSE: `${explorerBaseUrls.FUSE}/tx`,
|
|
41
|
+
FUSESPARK: `${explorerBaseUrls.FUSESPARK}/tx`,
|
|
42
|
+
MUMBAI: `${explorerBaseUrls.MUMBAI}/tx`,
|
|
43
|
+
METIS: `${explorerBaseUrls.METIS}/tx`,
|
|
44
|
+
"METIS-TESTNET": `${explorerBaseUrls["METIS-TESTNET"]}/tx`,
|
|
45
|
+
MANTLE: `${explorerBaseUrls.MANTLE}/tx`,
|
|
46
|
+
"MANTLE-TESTNET": `${explorerBaseUrls["MANTLE-TESTNET"]}/tx`,
|
|
47
|
+
MANTA: `${explorerBaseUrls.MANTA}/tx`,
|
|
48
|
+
"MANTA-TESTNET": `${explorerBaseUrls["MANTA-TESTNET"]}/tx`,
|
|
49
|
+
[zkLink]: `${explorerBaseUrls[zkLink]}/tx`,
|
|
50
|
+
[zkLinkTestnet]: `${explorerBaseUrls[zkLinkTestnet]}/tx`,
|
|
51
|
+
[bitlayerTestnet]: `${explorerBaseUrls[bitlayerTestnet]}/tx`,
|
|
52
|
+
[neoxTestnet]: `${explorerBaseUrls[neoxTestnet]}/tx`,
|
|
58
53
|
};
|
|
59
|
-
|
|
54
|
+
export const nativeTokenDetails = {
|
|
60
55
|
ETH: {
|
|
61
56
|
name: "Ether",
|
|
62
57
|
symbol: "ETH",
|
|
63
58
|
logoUrl: "https://www.datocms-assets.com/86369/1669619533-ethereum.png",
|
|
64
59
|
},
|
|
65
|
-
[
|
|
60
|
+
[sepolia]: {
|
|
66
61
|
name: "Ether",
|
|
67
62
|
symbol: "ETH",
|
|
68
63
|
logoUrl: "https://www.datocms-assets.com/86369/1669619533-ethereum.png",
|
|
@@ -72,7 +67,7 @@ exports.nativeTokenDetails = {
|
|
|
72
67
|
symbol: "MATIC",
|
|
73
68
|
logoUrl: "https://logos.covalenthq.com/tokens/1/0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0.png",
|
|
74
69
|
},
|
|
75
|
-
[
|
|
70
|
+
[polygonAmoy]: {
|
|
76
71
|
name: "Matic Token",
|
|
77
72
|
symbol: "MATIC",
|
|
78
73
|
logoUrl: "https://logos.covalenthq.com/tokens/1/0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0.png",
|
|
@@ -152,39 +147,33 @@ exports.nativeTokenDetails = {
|
|
|
152
147
|
symbol: "SOL",
|
|
153
148
|
logoUrl: "https://static.tria.so/chain-logo-w/Solana.webp",
|
|
154
149
|
},
|
|
155
|
-
[
|
|
150
|
+
[zkLink]: {
|
|
156
151
|
name: "Ether",
|
|
157
152
|
symbol: "ETH",
|
|
158
153
|
logoUrl: "https://static.tria.so/chain-logo-w/zklink.webp",
|
|
159
154
|
},
|
|
160
|
-
[
|
|
155
|
+
[zkLinkTestnet]: {
|
|
161
156
|
name: "Ether",
|
|
162
157
|
symbol: "ETH",
|
|
163
158
|
logoUrl: "https://static.tria.so/chain-logo-w/zklink.webp",
|
|
164
159
|
},
|
|
165
|
-
[
|
|
160
|
+
[bitlayerTestnet]: {
|
|
166
161
|
name: "Bitcoin",
|
|
167
162
|
symbol: "BTC",
|
|
168
163
|
logoUrl: "https://static.tria.so/chain-logo-w/bitlayer.webp",
|
|
169
164
|
},
|
|
170
|
-
[
|
|
165
|
+
[neoxTestnet]: {
|
|
171
166
|
name: "Gas",
|
|
172
167
|
symbol: "GAS",
|
|
173
168
|
logoUrl: "https://assets.coingecko.com/coins/images/858/standard/GAS_512_512.png?1696501992",
|
|
174
169
|
},
|
|
175
|
-
[chains_1.vanarTestnet]: {
|
|
176
|
-
name: "Vanry",
|
|
177
|
-
symbol: "VG",
|
|
178
|
-
logoUrl: "https://explorer-vanguard.vanarchain.com/assets/network_icon_dark.svg",
|
|
179
|
-
},
|
|
180
170
|
};
|
|
181
171
|
const alchemyKey = "kcuWVV9ss_iLWJ2Lw6xdHbmtZYixfY7Z";
|
|
182
|
-
|
|
172
|
+
export const rpcUrls = {
|
|
183
173
|
MUMBAI: `https://polygon-mumbai.g.alchemy.com/v2/${alchemyKey}`, //'https://polygon-mumbai.blockpi.network/v1/rpc/public',
|
|
184
|
-
[
|
|
185
|
-
[
|
|
174
|
+
[polygonAmoy]: `https://polygon-amoy.g.alchemy.com/v2/${alchemyKey}`,
|
|
175
|
+
[sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
|
|
186
176
|
ETH: "https://eth.llamarpc.com",
|
|
187
|
-
[chains_1.sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
|
|
188
177
|
POLYGON: `https://polygon-mainnet.g.alchemy.com/v2/${alchemyKey}`, // 'https://polygon.llamarpc.com',
|
|
189
178
|
AVALANCHE: "https://avalanche-c-chain.publicnode.com",
|
|
190
179
|
ARBITRUM: "https://arbitrum-one.publicnode.com",
|
|
@@ -199,16 +188,15 @@ exports.rpcUrls = {
|
|
|
199
188
|
"METIS-TESTNET": "https://goerli.gateway.metisdevops.link",
|
|
200
189
|
MANTLE: "https://rpc.mantle.xyz",
|
|
201
190
|
"MANTLE-TESTNET": "https://rpc.testnet.mantle.xyz",
|
|
202
|
-
[
|
|
203
|
-
[
|
|
204
|
-
[
|
|
205
|
-
[
|
|
206
|
-
[chains_1.vanarTestnet]: "http://rpc-partners-vanguard.vanarchain.com", // "https://rpc-vanguard.vanarchain.com",
|
|
191
|
+
[zkLink]: "https://rpc.zklink.io",
|
|
192
|
+
[zkLinkTestnet]: "https://goerli.rpc.zklink.io",
|
|
193
|
+
[bitlayerTestnet]: "https://testnet-rpc.bitlayer.org",
|
|
194
|
+
[neoxTestnet]: "https://neoxseed1.ngd.network",
|
|
207
195
|
};
|
|
208
|
-
|
|
196
|
+
export const chainNameToChainId = {
|
|
209
197
|
MUMBAI: 80001,
|
|
210
|
-
[
|
|
211
|
-
[
|
|
198
|
+
[polygonAmoy]: 80002,
|
|
199
|
+
[sepolia]: 11155111,
|
|
212
200
|
POLYGON: 137,
|
|
213
201
|
ETH: 1,
|
|
214
202
|
AVALANCHE: 43114,
|
|
@@ -224,16 +212,15 @@ exports.chainNameToChainId = {
|
|
|
224
212
|
"METIS-TESTNET": 599,
|
|
225
213
|
MANTLE: 5000,
|
|
226
214
|
"MANTLE-TESTNET": 5001,
|
|
227
|
-
[
|
|
228
|
-
[
|
|
229
|
-
[
|
|
230
|
-
[
|
|
231
|
-
[chains_1.vanarTestnet]: 78600,
|
|
215
|
+
[zkLink]: 810180,
|
|
216
|
+
[zkLinkTestnet]: 810182,
|
|
217
|
+
[bitlayerTestnet]: 200810,
|
|
218
|
+
[neoxTestnet]: 12227330,
|
|
232
219
|
};
|
|
233
|
-
|
|
234
|
-
11155111: chains_1.sepolia,
|
|
220
|
+
export const chainIdToChainName = {
|
|
235
221
|
80001: "MUMBAI",
|
|
236
|
-
80002:
|
|
222
|
+
80002: polygonAmoy,
|
|
223
|
+
11155111: sepolia,
|
|
237
224
|
137: "POLYGON",
|
|
238
225
|
1: "ETH",
|
|
239
226
|
43114: "AVALANCHE",
|
|
@@ -249,9 +236,8 @@ exports.chainIdToChainName = {
|
|
|
249
236
|
599: "METIS-TESTNET",
|
|
250
237
|
169: "MANTA",
|
|
251
238
|
3441005: "MANTA-TESTNET",
|
|
252
|
-
810180:
|
|
253
|
-
810182:
|
|
254
|
-
200810:
|
|
255
|
-
12227330:
|
|
256
|
-
78600: chains_1.vanarTestnet,
|
|
239
|
+
810180: zkLink,
|
|
240
|
+
810182: zkLinkTestnet,
|
|
241
|
+
200810: bitlayerTestnet,
|
|
242
|
+
12227330: neoxTestnet,
|
|
257
243
|
};
|
package/index.ts
CHANGED
package/package.json
CHANGED
package/src/chains.ts
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
export const mumbai = "MUMBAI";
|
|
2
|
-
export const polygon = "POLYGON";
|
|
3
|
-
export const ethereum = "ETH";
|
|
4
|
-
export const fuse = "FUSE";
|
|
5
|
-
export const fuseSpark = "FUSESPARK";
|
|
6
|
-
|
|
7
1
|
export const zkLink: string = "ZKLINK-NOVA";
|
|
8
2
|
export const zkLinkTestnet: string = "ZKLINK-NOVA-TESTNET";
|
|
9
3
|
export const bitlayerTestnet: string = "BITLAYER-TESTNET";
|
|
10
4
|
export const neoxTestnet: string = "NEOX-TESTNET";
|
|
11
5
|
export const sepolia: string = "SEPOLIA";
|
|
12
6
|
export const polygonAmoy: string = "AMOY";
|
|
13
|
-
export const vanarTestnet: string = "VANGUARD-VANAR-TESTNET";
|
|
14
7
|
|
|
15
8
|
export type ZKLINK = "ZKLINK-NOVA";
|
|
16
9
|
export type ZKLINK_TESTNET = "ZKLINK-NOVA-TESTNET";
|
|
@@ -18,10 +11,8 @@ export type BITLAYER_TESTNET = "BITLAYER-TESTNET";
|
|
|
18
11
|
export type NEOX_TESTNET = "NEOX-TESTNET";
|
|
19
12
|
export type SEPOLIA = "SEPOLIA";
|
|
20
13
|
export type AMOY = "AMOY";
|
|
21
|
-
export type VANGUARD_VANAR_TESTNET = "VANGUARD-VANAR-TESTNET";
|
|
22
14
|
|
|
23
15
|
export const TESTNET_CHAINS = [
|
|
24
|
-
sepolia,
|
|
25
16
|
"MUMBAI",
|
|
26
17
|
"FUSESPARK",
|
|
27
18
|
"MANTA-TESTNET",
|
|
@@ -32,7 +23,6 @@ export const TESTNET_CHAINS = [
|
|
|
32
23
|
neoxTestnet,
|
|
33
24
|
sepolia,
|
|
34
25
|
polygonAmoy,
|
|
35
|
-
vanarTestnet,
|
|
36
26
|
];
|
|
37
27
|
|
|
38
28
|
export const SUPPORTED_EVM_CHAINS = [
|
|
@@ -46,7 +36,6 @@ export const SUPPORTED_EVM_CHAINS = [
|
|
|
46
36
|
"FUSE",
|
|
47
37
|
"FUSESPARK",
|
|
48
38
|
"MUMBAI",
|
|
49
|
-
sepolia,
|
|
50
39
|
"MANTA",
|
|
51
40
|
"MANTA-TESTNET",
|
|
52
41
|
"METIS",
|
|
@@ -59,15 +48,11 @@ export const SUPPORTED_EVM_CHAINS = [
|
|
|
59
48
|
neoxTestnet,
|
|
60
49
|
sepolia,
|
|
61
50
|
polygonAmoy,
|
|
62
|
-
vanarTestnet,
|
|
63
51
|
];
|
|
64
52
|
|
|
65
|
-
export const GAS_ABS_ENABLED_CHAINS = [sepolia, "POLYGON"];
|
|
66
|
-
|
|
67
53
|
export const AA_SUPPORTED_EVM_CHAINS = [
|
|
68
54
|
// "ETH",
|
|
69
55
|
"POLYGON",
|
|
70
|
-
sepolia,
|
|
71
56
|
// "AVALANCHE",
|
|
72
57
|
// "ARBITRUM",
|
|
73
58
|
// "BINANCE",
|
|
@@ -93,7 +78,6 @@ export const ALLCHAINS = [
|
|
|
93
78
|
"FUSE",
|
|
94
79
|
"FUSESPARK",
|
|
95
80
|
"MUMBAI",
|
|
96
|
-
sepolia,
|
|
97
81
|
"MANTA",
|
|
98
82
|
"MANTA-TESTNET",
|
|
99
83
|
"METIS",
|
|
@@ -107,7 +91,6 @@ export const ALLCHAINS = [
|
|
|
107
91
|
neoxTestnet,
|
|
108
92
|
sepolia,
|
|
109
93
|
polygonAmoy,
|
|
110
|
-
vanarTestnet,
|
|
111
94
|
];
|
|
112
95
|
|
|
113
96
|
const baseLogoUrl = "https://static.tria.so/chain-logo-w";
|
|
@@ -233,11 +216,6 @@ export const networks = [
|
|
|
233
216
|
logo: `${baseLogoUrl}/Neo.webp`,
|
|
234
217
|
type: "testnet",
|
|
235
218
|
},
|
|
236
|
-
{
|
|
237
|
-
chainName: vanarTestnet,
|
|
238
|
-
logo: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
|
|
239
|
-
type: "testnet",
|
|
240
|
-
},
|
|
241
219
|
];
|
|
242
220
|
|
|
243
221
|
export const chainNameToLogo = {
|
|
@@ -265,7 +243,6 @@ export const chainNameToLogo = {
|
|
|
265
243
|
[zkLinkTestnet]: `${baseLogoUrl}/zklink.webp`,
|
|
266
244
|
[bitlayerTestnet]: `${baseLogoUrl}/bitlayer.webp`,
|
|
267
245
|
[neoxTestnet]: `${baseLogoUrl}/Neo.webp`,
|
|
268
|
-
[vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
|
|
269
246
|
};
|
|
270
247
|
|
|
271
248
|
export const chainNameToLogoBlack = {
|
|
@@ -293,5 +270,4 @@ export const chainNameToLogoBlack = {
|
|
|
293
270
|
[zkLinkTestnet]: `${baseLogoUrlBlack}/zklink.webp`,
|
|
294
271
|
[bitlayerTestnet]: `${baseLogoUrlBlack}/bitlayer.webp`,
|
|
295
272
|
[neoxTestnet]: `${baseLogoUrlBlack}/Neo.png`,
|
|
296
|
-
[vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrlBlack}/Vanguard.png`,
|
|
297
273
|
};
|
package/src/config.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AA_SUPPORTED_EVM_CHAINS,
|
|
3
3
|
ALLCHAINS,
|
|
4
|
-
GAS_ABS_ENABLED_CHAINS,
|
|
5
4
|
SUPPORTED_EVM_CHAINS,
|
|
6
5
|
TESTNET_CHAINS,
|
|
7
6
|
} from "./chains";
|
|
@@ -23,7 +22,3 @@ export const isChainSupported = (chainName: string) => {
|
|
|
23
22
|
export const isTestnetChain = (chainName: string) => {
|
|
24
23
|
return TESTNET_CHAINS.includes(chainName);
|
|
25
24
|
};
|
|
26
|
-
|
|
27
|
-
export const isGasAbsEnabled = (chainName: string) => {
|
|
28
|
-
return GAS_ABS_ENABLED_CHAINS.includes(chainName);
|
|
29
|
-
};
|
package/src/txn.ts
CHANGED
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
sepolia,
|
|
6
6
|
zkLink,
|
|
7
7
|
zkLinkTestnet,
|
|
8
|
-
vanarTestnet,
|
|
9
8
|
} from "./chains";
|
|
10
9
|
|
|
11
10
|
export const explorerBaseUrls = {
|
|
@@ -35,7 +34,6 @@ export const explorerBaseUrls = {
|
|
|
35
34
|
[zkLinkTestnet]: "https://goerli.explorer.zklink.io",
|
|
36
35
|
[bitlayerTestnet]: "https://testnet-scan.bitlayer.org/en-us",
|
|
37
36
|
[neoxTestnet]: "https://xt2scan.ngd.network",
|
|
38
|
-
[vanarTestnet]: "https://explorer-vanguard.vanarchain.com",
|
|
39
37
|
};
|
|
40
38
|
|
|
41
39
|
export const txnBaseUrl = {
|
|
@@ -61,7 +59,6 @@ export const txnBaseUrl = {
|
|
|
61
59
|
[zkLinkTestnet]: `${explorerBaseUrls[zkLinkTestnet]}/tx`,
|
|
62
60
|
[bitlayerTestnet]: `${explorerBaseUrls[bitlayerTestnet]}/tx`,
|
|
63
61
|
[neoxTestnet]: `${explorerBaseUrls[neoxTestnet]}/tx`,
|
|
64
|
-
[vanarTestnet]: `${explorerBaseUrls[vanarTestnet]}/tx`,
|
|
65
62
|
};
|
|
66
63
|
|
|
67
64
|
export const nativeTokenDetails = {
|
|
@@ -189,12 +186,6 @@ export const nativeTokenDetails = {
|
|
|
189
186
|
logoUrl:
|
|
190
187
|
"https://assets.coingecko.com/coins/images/858/standard/GAS_512_512.png?1696501992",
|
|
191
188
|
},
|
|
192
|
-
[vanarTestnet]: {
|
|
193
|
-
name: "Vanry",
|
|
194
|
-
symbol: "VG",
|
|
195
|
-
logoUrl:
|
|
196
|
-
"https://explorer-vanguard.vanarchain.com/assets/network_icon_dark.svg",
|
|
197
|
-
},
|
|
198
189
|
};
|
|
199
190
|
|
|
200
191
|
const alchemyKey = "kcuWVV9ss_iLWJ2Lw6xdHbmtZYixfY7Z";
|
|
@@ -204,7 +195,6 @@ export const rpcUrls = {
|
|
|
204
195
|
[polygonAmoy]: `https://polygon-amoy.g.alchemy.com/v2/${alchemyKey}`,
|
|
205
196
|
[sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
|
|
206
197
|
ETH: "https://eth.llamarpc.com",
|
|
207
|
-
[sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
|
|
208
198
|
POLYGON: `https://polygon-mainnet.g.alchemy.com/v2/${alchemyKey}`, // 'https://polygon.llamarpc.com',
|
|
209
199
|
AVALANCHE: "https://avalanche-c-chain.publicnode.com",
|
|
210
200
|
ARBITRUM: "https://arbitrum-one.publicnode.com",
|
|
@@ -223,7 +213,6 @@ export const rpcUrls = {
|
|
|
223
213
|
[zkLinkTestnet]: "https://goerli.rpc.zklink.io",
|
|
224
214
|
[bitlayerTestnet]: "https://testnet-rpc.bitlayer.org",
|
|
225
215
|
[neoxTestnet]: "https://neoxseed1.ngd.network",
|
|
226
|
-
[vanarTestnet]: "http://rpc-partners-vanguard.vanarchain.com", // "https://rpc-vanguard.vanarchain.com",
|
|
227
216
|
};
|
|
228
217
|
|
|
229
218
|
export const chainNameToChainId = {
|
|
@@ -249,13 +238,12 @@ export const chainNameToChainId = {
|
|
|
249
238
|
[zkLinkTestnet]: 810182,
|
|
250
239
|
[bitlayerTestnet]: 200810,
|
|
251
240
|
[neoxTestnet]: 12227330,
|
|
252
|
-
[vanarTestnet]: 78600,
|
|
253
241
|
};
|
|
254
242
|
|
|
255
243
|
export const chainIdToChainName = {
|
|
256
|
-
11155111: sepolia,
|
|
257
244
|
80001: "MUMBAI",
|
|
258
245
|
80002: polygonAmoy,
|
|
246
|
+
11155111: sepolia,
|
|
259
247
|
137: "POLYGON",
|
|
260
248
|
1: "ETH",
|
|
261
249
|
43114: "AVALANCHE",
|
|
@@ -275,5 +263,4 @@ export const chainIdToChainName = {
|
|
|
275
263
|
810182: zkLinkTestnet,
|
|
276
264
|
200810: bitlayerTestnet,
|
|
277
265
|
12227330: neoxTestnet,
|
|
278
|
-
78600: vanarTestnet,
|
|
279
266
|
};
|
package/tsconfig.json
CHANGED
package/dist/src/gasToken.d.ts
DELETED
|
File without changes
|
package/dist/src/gasToken.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { polygonAmoy, sepolia } from "./chains";
|
|
3
|
-
// export const gasTokenAddresses = {
|
|
4
|
-
// [sepolia]: {
|
|
5
|
-
// USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
6
|
-
// USDT: "",
|
|
7
|
-
// TST: "0xe2fDF4b113552A7bFaD5492D7E68F7479D7DFaCF",
|
|
8
|
-
// },
|
|
9
|
-
// [polygonAmoy]: {
|
|
10
|
-
// USDC: "",
|
|
11
|
-
// USDT: "",
|
|
12
|
-
// },
|
|
13
|
-
// };
|
package/src/gasToken.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// import { polygonAmoy, sepolia } from "./chains";
|
|
2
|
-
|
|
3
|
-
// export const gasTokenAddresses = {
|
|
4
|
-
// [sepolia]: {
|
|
5
|
-
// USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
6
|
-
// USDT: "",
|
|
7
|
-
// TST: "0xe2fDF4b113552A7bFaD5492D7E68F7479D7DFaCF",
|
|
8
|
-
// },
|
|
9
|
-
// [polygonAmoy]: {
|
|
10
|
-
// USDC: "",
|
|
11
|
-
// USDT: "",
|
|
12
|
-
// },
|
|
13
|
-
// };
|