@tria-sdk/constants 1.0.51 → 1.0.60

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/config.js ADDED
@@ -0,0 +1,18 @@
1
+ import { AA_SUPPORTED_EVM_CHAINS, ALLCHAINS, GAS_ABS_ENABLED_CHAINS, 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);
5
+ };
6
+ export const isAaSupportedChain = (chainName) => {
7
+ return AA_SUPPORTED_EVM_CHAINS.includes(chainName);
8
+ };
9
+ export const isChainSupported = (chainName) => {
10
+ return ALLCHAINS.includes(chainName);
11
+ };
12
+ export const isTestnetChain = (chainName) => {
13
+ return TESTNET_CHAINS.includes(chainName);
14
+ };
15
+ export const isGasAbsEnabled = (chainName) => {
16
+ return GAS_ABS_ENABLED_CHAINS.includes(chainName);
17
+ };
18
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,GACf,MAAM,UAAU,CAAC;AAElB,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,CAAC;AAEjD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAAiB,EAAE,EAAE;IAC9C,OAAO,oBAAoB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAClD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACtD,OAAO,uBAAuB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AACrD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACpD,OAAO,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AACvC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,SAAiB,EAAE,EAAE;IAClD,OAAO,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAC5C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,EAAE;IACnD,OAAO,sBAAsB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AACpD,CAAC,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
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,13 @@ exports.eventTypes = {
18
15
  saveToAuth: "Save to Auth Iframe",
19
16
  triaStoreSet: "triaStoreSet",
20
17
  };
21
- exports.TRIA_WALLET_STORE = "tria.wallet.store";
22
- exports.TRIA_WALLET_SELECTED_CHAIN = "tria.wallet.selectedChain";
23
- exports.storageKeys = {
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
- exports.triaAuthUrl = "https://auth.tria.so";
25
+ export const triaAuthUrl = "https://auth.tria.so";
29
26
  // export const PARENT_URL = document?.referrer || window?.parent?.[0]?.location?.ancestorOrigins?.[0];
27
+ //# sourceMappingURL=connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect.js","sourceRoot":"","sources":["../src/connect.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,QAAQ;IACf,UAAU,EAAE,cAAc;IAC1B,aAAa,EAAE,mBAAmB;IAClC,YAAY,EAAE,gBAAgB;IAC9B,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,cAAc;IAC3B,QAAQ,EAAE,iCAAiC;IAC3C,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,mBAAmB;IAChC,WAAW,EAAE,eAAe;IAC5B,UAAU,EAAE,qBAAqB;IACjC,YAAY,EAAE,cAAc;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;AACrD,MAAM,CAAC,MAAM,0BAA0B,GAAG,2BAA2B,CAAC;AACtE,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,iBAAiB,EAAE,mBAAmB;IACtC,0BAA0B,EAAE,2BAA2B;IACvD,YAAY,EAAE,cAAc;CAC7B,CAAC;AACF,MAAM,CAAC,MAAM,WAAW,GAAG,sBAAsB,CAAC;AAElD,uGAAuG"}
@@ -11,3 +11,4 @@
11
11
  // USDT: "",
12
12
  // },
13
13
  // };
14
+ //# sourceMappingURL=gasToken.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gasToken.js","sourceRoot":"","sources":["../src/gasToken.ts"],"names":[],"mappings":";AAAA,mDAAmD;AAEnD,qCAAqC;AACrC,iBAAiB;AACjB,0DAA0D;AAC1D,gBAAgB;AAChB,yDAAyD;AACzD,OAAO;AACP,qBAAqB;AACrB,gBAAgB;AAChB,gBAAgB;AAChB,OAAO;AACP,KAAK"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./src/config";
2
- export * from "./src/chains";
3
- export * from "./src/txn";
4
- export * from "./src/connect";
1
+ export * from "./config";
2
+ export * from "./chains";
3
+ export * from "./txn";
4
+ export * from "./connect";
package/dist/index.js CHANGED
@@ -1,21 +1,6 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
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);
1
+ export * from "./config";
2
+ export * from "./chains";
3
+ export * from "./txn";
4
+ export * from "./connect";
21
5
  // export * from "./src/gasToken";
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,kCAAkC"}
@@ -1,12 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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, bitlayerMainnet, neoxTestnet, polygonAmoy, sepolia, zkLink, zkLinkTestnet, vanarTestnet, skaleTestnet, } from "./chains";
2
+ export const explorerBaseUrls = {
6
3
  ETH: "https://etherscan.io",
7
- [chains_1.sepolia]: "https://sepolia.etherscan.io",
4
+ [sepolia]: "https://sepolia.etherscan.io",
8
5
  POLYGON: "https://polygonscan.com",
9
- [chains_1.polygonAmoy]: "https://www.oklink.com/amoy",
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,48 +22,48 @@ 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
- [chains_1.zkLink]: "https://explorer.zklink.io",
29
- [chains_1.zkLinkTestnet]: "https://goerli.explorer.zklink.io",
30
- [chains_1.bitlayerTestnet]: "https://testnet-scan.bitlayer.org/en-us",
31
- [chains_1.bitlayerMainnet]: "https://www.btrscan.com",
32
- [chains_1.neoxTestnet]: "https://xt2scan.ngd.network",
33
- [chains_1.vanarTestnet]: "https://explorer-vanguard.vanarchain.com",
34
- [chains_1.skaleTestnet]: "https://giant-half-dual-testnet.explorer.testnet.skalenodes.com",
25
+ [zkLink]: "https://explorer.zklink.io",
26
+ [zkLinkTestnet]: "https://goerli.explorer.zklink.io",
27
+ [bitlayerTestnet]: "https://testnet-scan.bitlayer.org/en-us",
28
+ [bitlayerMainnet]: "https://www.btrscan.com",
29
+ [neoxTestnet]: "https://xt2scan.ngd.network",
30
+ [vanarTestnet]: "https://explorer-vanguard.vanarchain.com",
31
+ [skaleTestnet]: "https://giant-half-dual-testnet.explorer.testnet.skalenodes.com",
35
32
  };
36
- exports.txnBaseUrl = {
37
- ETH: `${exports.explorerBaseUrls.ETH}/tx`, // /txHash
38
- [chains_1.sepolia]: `${exports.explorerBaseUrls[chains_1.sepolia]}/tx`,
39
- POLYGON: `${exports.explorerBaseUrls.POLYGON}/tx`,
40
- [chains_1.polygonAmoy]: `${exports.explorerBaseUrls[chains_1.polygonAmoy]}/tx`,
41
- AVALANCHE: `${exports.explorerBaseUrls.AVALANCHE}/tx`,
42
- ARBITRUM: `${exports.explorerBaseUrls.ARBITRUM}/tx`,
43
- BINANCE: `${exports.explorerBaseUrls.BINANCE}/tx`,
44
- OPTIMISM: `${exports.explorerBaseUrls.OPTIMISM}/tx`,
45
- FANTOM: `${exports.explorerBaseUrls.FANTOM}/tx`,
46
- FUSE: `${exports.explorerBaseUrls.FUSE}/tx`,
47
- FUSESPARK: `${exports.explorerBaseUrls.FUSESPARK}/tx`,
48
- MUMBAI: `${exports.explorerBaseUrls.MUMBAI}/tx`,
49
- METIS: `${exports.explorerBaseUrls.METIS}/tx`,
50
- "METIS-TESTNET": `${exports.explorerBaseUrls["METIS-TESTNET"]}/tx`,
51
- MANTLE: `${exports.explorerBaseUrls.MANTLE}/tx`,
52
- "MANTLE-TESTNET": `${exports.explorerBaseUrls["MANTLE-TESTNET"]}/tx`,
53
- MANTA: `${exports.explorerBaseUrls.MANTA}/tx`,
54
- "MANTA-TESTNET": `${exports.explorerBaseUrls["MANTA-TESTNET"]}/tx`,
55
- [chains_1.zkLink]: `${exports.explorerBaseUrls[chains_1.zkLink]}/tx`,
56
- [chains_1.zkLinkTestnet]: `${exports.explorerBaseUrls[chains_1.zkLinkTestnet]}/tx`,
57
- [chains_1.bitlayerTestnet]: `${exports.explorerBaseUrls[chains_1.bitlayerTestnet]}/tx`,
58
- [chains_1.bitlayerMainnet]: `${exports.explorerBaseUrls[chains_1.bitlayerMainnet]}/tx`,
59
- [chains_1.neoxTestnet]: `${exports.explorerBaseUrls[chains_1.neoxTestnet]}/tx`,
60
- [chains_1.vanarTestnet]: `${exports.explorerBaseUrls[chains_1.vanarTestnet]}/tx`,
61
- [chains_1.skaleTestnet]: `${exports.explorerBaseUrls[chains_1.skaleTestnet]}/tx`,
33
+ export const txnBaseUrl = {
34
+ ETH: `${explorerBaseUrls.ETH}/tx`, // /txHash
35
+ [sepolia]: `${explorerBaseUrls[sepolia]}/tx`,
36
+ POLYGON: `${explorerBaseUrls.POLYGON}/tx`,
37
+ [polygonAmoy]: `${explorerBaseUrls[polygonAmoy]}/tx`,
38
+ AVALANCHE: `${explorerBaseUrls.AVALANCHE}/tx`,
39
+ ARBITRUM: `${explorerBaseUrls.ARBITRUM}/tx`,
40
+ BINANCE: `${explorerBaseUrls.BINANCE}/tx`,
41
+ OPTIMISM: `${explorerBaseUrls.OPTIMISM}/tx`,
42
+ FANTOM: `${explorerBaseUrls.FANTOM}/tx`,
43
+ FUSE: `${explorerBaseUrls.FUSE}/tx`,
44
+ FUSESPARK: `${explorerBaseUrls.FUSESPARK}/tx`,
45
+ MUMBAI: `${explorerBaseUrls.MUMBAI}/tx`,
46
+ METIS: `${explorerBaseUrls.METIS}/tx`,
47
+ "METIS-TESTNET": `${explorerBaseUrls["METIS-TESTNET"]}/tx`,
48
+ MANTLE: `${explorerBaseUrls.MANTLE}/tx`,
49
+ "MANTLE-TESTNET": `${explorerBaseUrls["MANTLE-TESTNET"]}/tx`,
50
+ MANTA: `${explorerBaseUrls.MANTA}/tx`,
51
+ "MANTA-TESTNET": `${explorerBaseUrls["MANTA-TESTNET"]}/tx`,
52
+ [zkLink]: `${explorerBaseUrls[zkLink]}/tx`,
53
+ [zkLinkTestnet]: `${explorerBaseUrls[zkLinkTestnet]}/tx`,
54
+ [bitlayerTestnet]: `${explorerBaseUrls[bitlayerTestnet]}/tx`,
55
+ [bitlayerMainnet]: `${explorerBaseUrls[bitlayerMainnet]}/tx`,
56
+ [neoxTestnet]: `${explorerBaseUrls[neoxTestnet]}/tx`,
57
+ [vanarTestnet]: `${explorerBaseUrls[vanarTestnet]}/tx`,
58
+ [skaleTestnet]: `${explorerBaseUrls[skaleTestnet]}/tx`,
62
59
  };
63
- exports.nativeTokenDetails = {
60
+ export const nativeTokenDetails = {
64
61
  ETH: {
65
62
  name: "Ether",
66
63
  symbol: "ETH",
67
64
  logoUrl: "https://www.datocms-assets.com/86369/1669619533-ethereum.png",
68
65
  },
69
- [chains_1.sepolia]: {
66
+ [sepolia]: {
70
67
  name: "Ether",
71
68
  symbol: "ETH",
72
69
  logoUrl: "https://www.datocms-assets.com/86369/1669619533-ethereum.png",
@@ -76,7 +73,7 @@ exports.nativeTokenDetails = {
76
73
  symbol: "MATIC",
77
74
  logoUrl: "https://logos.covalenthq.com/tokens/1/0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0.png",
78
75
  },
79
- [chains_1.polygonAmoy]: {
76
+ [polygonAmoy]: {
80
77
  name: "Matic Token",
81
78
  symbol: "MATIC",
82
79
  logoUrl: "https://logos.covalenthq.com/tokens/1/0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0.png",
@@ -156,49 +153,49 @@ exports.nativeTokenDetails = {
156
153
  symbol: "SOL",
157
154
  logoUrl: "https://static.tria.so/chain-logo-w/Solana.webp",
158
155
  },
159
- [chains_1.zkLink]: {
156
+ [zkLink]: {
160
157
  name: "Ether",
161
158
  symbol: "ETH",
162
159
  logoUrl: "https://static.tria.so/chain-logo-w/zklink.webp",
163
160
  },
164
- [chains_1.zkLinkTestnet]: {
161
+ [zkLinkTestnet]: {
165
162
  name: "Ether",
166
163
  symbol: "ETH",
167
164
  logoUrl: "https://static.tria.so/chain-logo-w/zklink.webp",
168
165
  },
169
- [chains_1.bitlayerTestnet]: {
166
+ [bitlayerTestnet]: {
170
167
  name: "Bitcoin",
171
168
  symbol: "BTC",
172
169
  logoUrl: "https://static.tria.so/chain-logo-w/bitlayer.webp",
173
170
  },
174
- [chains_1.bitlayerMainnet]: {
171
+ [bitlayerMainnet]: {
175
172
  name: "Bitcoin",
176
173
  symbol: "BTC",
177
174
  logoUrl: "https://static.tria.so/chain-logo-w/bitlayer.webp",
178
175
  },
179
- [chains_1.neoxTestnet]: {
176
+ [neoxTestnet]: {
180
177
  name: "Gas",
181
178
  symbol: "GAS",
182
179
  logoUrl: "https://assets.coingecko.com/coins/images/858/standard/GAS_512_512.png?1696501992",
183
180
  },
184
- [chains_1.vanarTestnet]: {
181
+ [vanarTestnet]: {
185
182
  name: "Vanry",
186
183
  symbol: "VG",
187
- logoUrl: "https://explorer-vanguard.vanarchain.com/assets/network_icon_dark.svg",
184
+ logoUrl: "https://assets.coingecko.com/coins/images/33466/standard/apple-touch-icon.png?1701942541",
188
185
  },
189
- [chains_1.skaleTestnet]: {
186
+ [skaleTestnet]: {
190
187
  name: "sFUEL",
191
188
  symbol: "sFUEL",
192
189
  logoUrl: "https://assets.coingecko.com/coins/images/13564/standard/SFUEL.png?1696513318",
193
190
  },
194
191
  };
195
192
  const alchemyKey = "kcuWVV9ss_iLWJ2Lw6xdHbmtZYixfY7Z";
196
- exports.rpcUrls = {
193
+ export const rpcUrls = {
197
194
  MUMBAI: `https://polygon-mumbai.g.alchemy.com/v2/${alchemyKey}`, //'https://polygon-mumbai.blockpi.network/v1/rpc/public',
198
- [chains_1.polygonAmoy]: `https://polygon-amoy.g.alchemy.com/v2/${alchemyKey}`,
199
- [chains_1.sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
195
+ [polygonAmoy]: `https://polygon-amoy.g.alchemy.com/v2/${alchemyKey}`,
196
+ [sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
200
197
  ETH: "https://eth.llamarpc.com",
201
- [chains_1.sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
198
+ [sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
202
199
  POLYGON: `https://polygon-mainnet.g.alchemy.com/v2/${alchemyKey}`, // 'https://polygon.llamarpc.com',
203
200
  AVALANCHE: "https://avalanche-c-chain.publicnode.com",
204
201
  ARBITRUM: "https://arbitrum-one.publicnode.com",
@@ -213,18 +210,18 @@ exports.rpcUrls = {
213
210
  "METIS-TESTNET": "https://goerli.gateway.metisdevops.link",
214
211
  MANTLE: "https://rpc.mantle.xyz",
215
212
  "MANTLE-TESTNET": "https://rpc.testnet.mantle.xyz",
216
- [chains_1.zkLink]: "https://rpc.zklink.io",
217
- [chains_1.zkLinkTestnet]: "https://goerli.rpc.zklink.io",
218
- [chains_1.bitlayerTestnet]: "https://testnet-rpc.bitlayer.org",
219
- [chains_1.bitlayerMainnet]: "https://rpc.bitlayer.org",
220
- [chains_1.neoxTestnet]: "https://neoxseed1.ngd.network",
221
- [chains_1.vanarTestnet]: "http://rpc-partners-vanguard.vanarchain.com", // "https://rpc-vanguard.vanarchain.com",
222
- [chains_1.skaleTestnet]: "https://testnet.skalenodes.com/v1/giant-half-dual-testnet",
213
+ [zkLink]: "https://rpc.zklink.io",
214
+ [zkLinkTestnet]: "https://goerli.rpc.zklink.io",
215
+ [bitlayerTestnet]: "https://testnet-rpc.bitlayer.org",
216
+ [bitlayerMainnet]: "https://rpc.bitlayer.org",
217
+ [neoxTestnet]: "https://neoxseed1.ngd.network",
218
+ [vanarTestnet]: "http://rpc-partners-vanguard.vanarchain.com", // "https://rpc-vanguard.vanarchain.com",
219
+ [skaleTestnet]: "https://testnet.skalenodes.com/v1/giant-half-dual-testnet",
223
220
  };
224
- exports.chainNameToChainId = {
221
+ export const chainNameToChainId = {
225
222
  MUMBAI: 80001,
226
- [chains_1.polygonAmoy]: 80002,
227
- [chains_1.sepolia]: 11155111,
223
+ [polygonAmoy]: 80002,
224
+ [sepolia]: 11155111,
228
225
  POLYGON: 137,
229
226
  ETH: 1,
230
227
  AVALANCHE: 43114,
@@ -240,18 +237,18 @@ exports.chainNameToChainId = {
240
237
  "METIS-TESTNET": 599,
241
238
  MANTLE: 5000,
242
239
  "MANTLE-TESTNET": 5001,
243
- [chains_1.zkLink]: 810180,
244
- [chains_1.zkLinkTestnet]: 810182,
245
- [chains_1.bitlayerTestnet]: 200810,
246
- [chains_1.bitlayerMainnet]: 200901,
247
- [chains_1.neoxTestnet]: 12227330,
248
- [chains_1.vanarTestnet]: 78600,
249
- [chains_1.skaleTestnet]: 974399131,
240
+ [zkLink]: 810180,
241
+ [zkLinkTestnet]: 810182,
242
+ [bitlayerTestnet]: 200810,
243
+ [bitlayerMainnet]: 200901,
244
+ [neoxTestnet]: 12227330,
245
+ [vanarTestnet]: 78600,
246
+ [skaleTestnet]: 974399131,
250
247
  };
251
- exports.chainIdToChainName = {
252
- 11155111: chains_1.sepolia,
248
+ export const chainIdToChainName = {
249
+ 11155111: sepolia,
253
250
  80001: "MUMBAI",
254
- 80002: chains_1.polygonAmoy,
251
+ 80002: polygonAmoy,
255
252
  137: "POLYGON",
256
253
  1: "ETH",
257
254
  43114: "AVALANCHE",
@@ -267,11 +264,12 @@ exports.chainIdToChainName = {
267
264
  599: "METIS-TESTNET",
268
265
  169: "MANTA",
269
266
  3441005: "MANTA-TESTNET",
270
- 810180: chains_1.zkLink,
271
- 810182: chains_1.zkLinkTestnet,
272
- 200810: chains_1.bitlayerTestnet,
273
- 200901: chains_1.bitlayerMainnet,
274
- 12227330: chains_1.neoxTestnet,
275
- 78600: chains_1.vanarTestnet,
276
- 974399131: chains_1.skaleTestnet,
267
+ 810180: zkLink,
268
+ 810182: zkLinkTestnet,
269
+ 200810: bitlayerTestnet,
270
+ 200901: bitlayerMainnet,
271
+ 12227330: neoxTestnet,
272
+ 78600: vanarTestnet,
273
+ 974399131: skaleTestnet,
277
274
  };
275
+ //# sourceMappingURL=txn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"txn.js","sourceRoot":"","sources":["../src/txn.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,eAAe,EACf,WAAW,EACX,WAAW,EACX,OAAO,EACP,MAAM,EACN,aAAa,EACb,YAAY,EACZ,YAAY,GACb,MAAM,UAAU,CAAC;AAElB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,GAAG,EAAE,sBAAsB;IAC3B,CAAC,OAAO,CAAC,EAAE,8BAA8B;IACzC,OAAO,EAA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AS,EAAE,YAAY;CACxB,CAAC"}
package/package.json CHANGED
@@ -1,18 +1,21 @@
1
1
  {
2
2
  "name": "@tria-sdk/constants",
3
- "version": "1.0.51",
3
+ "version": "1.0.60",
4
4
  "description": "",
5
- "main": "dist/index.js",
5
+ "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "devDependencies": {
8
8
  "typescript": "^5.3.3",
9
- "typescript-tools": "^0.3.1"
9
+ "typescript-tools": "^0.3.1",
10
+ "vite": "^5.1.4",
11
+ "vite-plugin-dts": "^3.7.3"
10
12
  },
11
13
  "keywords": [],
12
14
  "author": "",
13
15
  "license": "ISC",
14
16
  "scripts": {
15
17
  "test": "echo \"Error: no test specified\" && exit 1",
16
- "build": "tsc --project tsconfig.json"
18
+ "rollup": "rollup -c",
19
+ "build": "tsc"
17
20
  }
18
21
  }
package/src/chains.ts CHANGED
@@ -288,7 +288,7 @@ export const chainNameToLogo = {
288
288
  [vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
289
289
  [skaleTestnet]: `${baseLogoUrl}/skale.webp`,
290
290
  };
291
- export const chainNameToLogoAverageColor = {
291
+ export const chainNameToLogoAverageColor: { [key: string]: string } = {
292
292
  ETH: "rgba(98,126,235,0.7)",
293
293
  POLYGON: "rgba(131,69,231,0.7)",
294
294
  SEPOLIA: "rgba(98,126,235,0.7)",
@@ -345,3 +345,205 @@ export const chainNameToLogoBlack = {
345
345
  [vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrlBlack}/Vanguard.png`,
346
346
  [skaleTestnet]: `${baseLogoUrlBlack}/skale.webp`,
347
347
  };
348
+
349
+ export const chainNameToLogoBlackAverageColor = {
350
+ FANTOM: [
351
+ { color: "rgb(255,255,255)", count: 25004 },
352
+ { color: "rgb(132,132,132)", count: 3219 },
353
+ { color: "rgb(143,143,143)", count: 2392 },
354
+ { color: "rgb(114,114,114)", count: 2283 },
355
+ { color: "rgb(254,254,254)", count: 2250 },
356
+ ],
357
+
358
+ POLYGON: [
359
+ { color: "rgb(255,255,255)", count: 26414 },
360
+ { color: "rgb(132,132,132)", count: 3390 },
361
+ { color: "rgb(128,128,128)", count: 2783 },
362
+ { color: "rgb(125,125,125)", count: 2448 },
363
+ { color: "rgb(118,118,118)", count: 2387 },
364
+ ],
365
+
366
+ ETH: [
367
+ { color: "rgb(255,255,255)", count: 23340 },
368
+ { color: "rgb(132,132,132)", count: 2559 },
369
+ { color: "rgb(111,111,111)", count: 2372 },
370
+ { color: "rgb(143,143,143)", count: 2341 },
371
+ { color: "rgb(210,210,210)", count: 2325 },
372
+ ],
373
+
374
+ SEPOLIA: [
375
+ { color: "rgb(255,255,255)", count: 23340 },
376
+ { color: "rgb(132,132,132)", count: 2559 },
377
+ { color: "rgb(111,111,111)", count: 2372 },
378
+ { color: "rgb(143,143,143)", count: 2341 },
379
+ { color: "rgb(210,210,210)", count: 2325 },
380
+ ],
381
+
382
+ AMOY: [
383
+ { color: "rgb(255,255,255)", count: 26414 },
384
+ { color: "rgb(132,132,132)", count: 3390 },
385
+ { color: "rgb(128,128,128)", count: 2783 },
386
+ { color: "rgb(125,125,125)", count: 2448 },
387
+ { color: "rgb(118,118,118)", count: 2387 },
388
+ ],
389
+
390
+ ARBITRUM: [
391
+ { color: "rgb(255,255,255)", count: 37899 },
392
+ { color: "rgb(143,143,143)", count: 2422 },
393
+ { color: "rgb(111,111,111)", count: 2106 },
394
+ { color: "rgb(105,105,105)", count: 1930 },
395
+ { color: "rgb(254,254,254)", count: 1913 },
396
+ ],
397
+
398
+ OPTIMISM: [
399
+ { color: "rgb(255,255,255)", count: 27023 },
400
+ { color: "rgb(132,132,132)", count: 3031 },
401
+ { color: "rgb(111,111,111)", count: 2578 },
402
+ { color: "rgb(125,125,125)", count: 2530 },
403
+ { color: "rgb(118,118,118)", count: 2349 },
404
+ ],
405
+
406
+ LINEA: [
407
+ { color: "rgb(255,255,255)", count: 28540 },
408
+ { color: "rgb(132,132,132)", count: 3517 },
409
+ { color: "rgb(128,128,128)", count: 3200 },
410
+ { color: "rgb(118,118,118)", count: 2815 },
411
+ { color: "rgb(143,143,143)", count: 2740 },
412
+ ],
413
+
414
+ AVALANCHE: [
415
+ { color: "rgb(255,255,255)", count: 28225 },
416
+ { color: "rgb(132,132,132)", count: 3609 },
417
+ { color: "rgb(111,111,111)", count: 2934 },
418
+ { color: "rgb(143,143,143)", count: 2876 },
419
+ { color: "rgb(128,128,128)", count: 2668 },
420
+ ],
421
+
422
+ MUMBAI: [
423
+ { color: "rgb(255,255,255)", count: 26414 },
424
+ { color: "rgb(132,132,132)", count: 3390 },
425
+ { color: "rgb(128,128,128)", count: 2783 },
426
+ { color: "rgb(125,125,125)", count: 2448 },
427
+ { color: "rgb(118,118,118)", count: 2387 },
428
+ ],
429
+
430
+ FUSE: [
431
+ { color: "rgb(255,255,255)", count: 34461 },
432
+ { color: "rgb(125,125,125)", count: 2518 },
433
+ { color: "rgb(128,128,128)", count: 2480 },
434
+ { color: "rgb(143,143,143)", count: 2141 },
435
+ { color: "rgb(254,254,254)", count: 2017 },
436
+ ],
437
+
438
+ FUSESPARK: [
439
+ { color: "rgb(255,255,255)", count: 34461 },
440
+ { color: "rgb(125,125,125)", count: 2518 },
441
+ { color: "rgb(128,128,128)", count: 2480 },
442
+ { color: "rgb(143,143,143)", count: 2141 },
443
+ { color: "rgb(254,254,254)", count: 2017 },
444
+ ],
445
+
446
+ MANTA: [
447
+ { color: "rgb(0,0,0)", count: 35607 },
448
+ { color: "rgb(16,16,16)", count: 27650 },
449
+ { color: "rgb(17,17,17)", count: 5711 },
450
+ { color: "rgb(128,16,16)", count: 898 },
451
+ { color: "rgb(16,128,16)", count: 864 },
452
+ ],
453
+
454
+ "MANTA-TESTNET": [
455
+ { color: "rgb(0,0,0)", count: 35607 },
456
+ { color: "rgb(16,16,16)", count: 27650 },
457
+ { color: "rgb(17,17,17)", count: 5711 },
458
+ { color: "rgb(128,16,16)", count: 898 },
459
+ { color: "rgb(16,128,16)", count: 864 },
460
+ ],
461
+
462
+ METIS: [
463
+ { color: "rgb(0,0,0)", count: 35638 },
464
+ { color: "rgb(16,16,16)", count: 24682 },
465
+ { color: "rgb(17,17,17)", count: 4693 },
466
+ { color: "rgb(124,16,16)", count: 764 },
467
+ { color: "rgb(16,16,157)", count: 758 },
468
+ ],
469
+
470
+ "METIS-TESTNET": [
471
+ { color: "rgb(0,0,0)", count: 35638 },
472
+ { color: "rgb(16,16,16)", count: 24682 },
473
+ { color: "rgb(17,17,17)", count: 4693 },
474
+ { color: "rgb(124,16,16)", count: 764 },
475
+ { color: "rgb(16,16,157)", count: 758 },
476
+ ],
477
+
478
+ SOLANA: [
479
+ { color: "rgb(255,255,255)", count: 32241 },
480
+ { color: "rgb(132,132,132)", count: 3455 },
481
+ { color: "rgb(254,254,254)", count: 2440 },
482
+ { color: "rgb(143,143,143)", count: 2295 },
483
+ { color: "rgb(114,114,114)", count: 2228 },
484
+ ],
485
+
486
+ "MANTLE-TESTNET": [
487
+ { color: "rgb(0,0,0)", count: 35380 },
488
+ { color: "rgb(16,16,16)", count: 21481 },
489
+ { color: "rgb(17,17,17)", count: 6742 },
490
+ { color: "rgb(242,242,242)", count: 1969 },
491
+ { color: "rgb(15,15,15)", count: 1408 },
492
+ ],
493
+
494
+ MANTLE: [
495
+ { color: "rgb(0,0,0)", count: 35380 },
496
+ { color: "rgb(16,16,16)", count: 21481 },
497
+ { color: "rgb(17,17,17)", count: 6742 },
498
+ { color: "rgb(242,242,242)", count: 1969 },
499
+ { color: "rgb(15,15,15)", count: 1408 },
500
+ ],
501
+
502
+ "ZKLINK-NOVA-TESTNET": [
503
+ { color: "rgb(255,255,255)", count: 22586 },
504
+ { color: "rgb(132,132,132)", count: 3447 },
505
+ { color: "rgb(118,118,118)", count: 3122 },
506
+ { color: "rgb(111,111,111)", count: 2516 },
507
+ { color: "rgb(125,125,125)", count: 2497 },
508
+ ],
509
+
510
+ "ZKLINK-NOVA": [
511
+ { color: "rgb(255,255,255)", count: 22586 },
512
+ { color: "rgb(132,132,132)", count: 3447 },
513
+ { color: "rgb(118,118,118)", count: 3122 },
514
+ { color: "rgb(111,111,111)", count: 2516 },
515
+ { color: "rgb(125,125,125)", count: 2497 },
516
+ ],
517
+
518
+ "BITLAYER-TESTNET": [
519
+ { color: "rgb(255,255,255)", count: 32861 },
520
+ { color: "rgb(111,111,111)", count: 2685 },
521
+ { color: "rgb(132,132,132)", count: 2623 },
522
+ { color: "rgb(143,143,143)", count: 2323 },
523
+ { color: "rgb(115,115,115)", count: 1953 },
524
+ ],
525
+
526
+ "NEOX-TESTNET": [
527
+ { color: "rgb(255,255,255)", count: 39661 },
528
+ { color: "rgb(132,132,132)", count: 2785 },
529
+ { color: "rgb(143,143,143)", count: 2494 },
530
+ { color: "rgb(111,111,111)", count: 1972 },
531
+ { color: "rgb(140,140,140)", count: 1966 },
532
+ ],
533
+
534
+ "VANGUARD-VANAR-TESTNET": [
535
+ { color: "rgb(0,0,0)", count: 127157 },
536
+ { color: "rgb(255,255,255)", count: 3071 },
537
+ { color: "rgb(255,255,0)", count: 3057 },
538
+ { color: "rgb(0,255,255)", count: 2993 },
539
+ { color: "rgb(255,0,255)", count: 2892 },
540
+ ],
541
+
542
+ BINANCE: [
543
+ { color: "rgb(0,0,0)", count: 2614 },
544
+ { color: "rgb(255,255,255)", count: 1676 },
545
+ { color: "rgb(15,15,15)", count: 974 },
546
+ { color: "rgb(16,16,16)", count: 855 },
547
+ { color: "rgb(17,17,17)", count: 56 },
548
+ ],
549
+ };
package/src/index.ts ADDED
@@ -0,0 +1,5 @@
1
+ export * from "./config";
2
+ export * from "./chains";
3
+ export * from "./txn";
4
+ export * from "./connect";
5
+ // export * from "./src/gasToken";
package/src/txn.ts CHANGED
@@ -205,7 +205,7 @@ export const nativeTokenDetails = {
205
205
  name: "Vanry",
206
206
  symbol: "VG",
207
207
  logoUrl:
208
- "https://explorer-vanguard.vanarchain.com/assets/network_icon_dark.svg",
208
+ "https://assets.coingecko.com/coins/images/33466/standard/apple-touch-icon.png?1701942541",
209
209
  },
210
210
  [skaleTestnet]: {
211
211
  name: "sFUEL",