@tria-sdk/constants 1.0.52 → 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"}
@@ -0,0 +1,27 @@
1
+ export const eventTypes = {
2
+ logIn: "Log in",
3
+ triaSignUp: "Tria Sign up",
4
+ emailPwSignUp: "Email Pwd Sign up",
5
+ socialSignUp: "Social Sign up",
6
+ signMessage: "Sign Message",
7
+ send: "Send",
8
+ disconnect: "Disconnect",
9
+ switchChain: "Switch chain",
10
+ detected: "Detected Logged in Tria account",
11
+ logout: "Logout",
12
+ passMessage: "Pass Message",
13
+ accessToken: "Access Token Pass",
14
+ idTokenPass: "Id Token Pass",
15
+ saveToAuth: "Save to Auth Iframe",
16
+ triaStoreSet: "triaStoreSet",
17
+ };
18
+ export const TRIA_WALLET_STORE = "tria.wallet.store";
19
+ export const TRIA_WALLET_SELECTED_CHAIN = "tria.wallet.selectedChain";
20
+ export const storageKeys = {
21
+ TRIA_WALLET_STORE: "tria.wallet.store",
22
+ TRIA_WALLET_SELECTED_CHAIN: "tria.wallet.selectedChain",
23
+ PERSIST_ROOT: "persist:root",
24
+ };
25
+ export const triaAuthUrl = "https://auth.tria.so";
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"}
@@ -0,0 +1,14 @@
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
+ // };
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 ADDED
@@ -0,0 +1,6 @@
1
+ export * from "./config";
2
+ export * from "./chains";
3
+ export * from "./txn";
4
+ export * from "./connect";
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"}
package/dist/txn.js ADDED
@@ -0,0 +1,275 @@
1
+ import { bitlayerTestnet, bitlayerMainnet, neoxTestnet, polygonAmoy, sepolia, zkLink, zkLinkTestnet, vanarTestnet, skaleTestnet, } from "./chains";
2
+ export const explorerBaseUrls = {
3
+ ETH: "https://etherscan.io",
4
+ [sepolia]: "https://sepolia.etherscan.io",
5
+ POLYGON: "https://polygonscan.com",
6
+ [polygonAmoy]: "https://www.oklink.com/amoy",
7
+ AVALANCHE: "https://snowtrace.io",
8
+ ARBITRUM: "https://arbiscan.io",
9
+ BINANCE: "https://bscscan.com",
10
+ OPTIMISM: "https://optimistic.etherscan.io",
11
+ FANTOM: "https://ftmscan.com",
12
+ SOLANA: "https://solscan.io",
13
+ APTOS: "https://explorer.aptoslabs.com",
14
+ NEO: "https://neo3.neotube.io",
15
+ SUI: "https://suiexplorer.com/?network=mainnet",
16
+ FUSE: "https://explorer.fuse.io",
17
+ FUSESPARK: "https://explorer.fusespark.io",
18
+ MUMBAI: "https://mumbai.polygonscan.com",
19
+ METIS: "https://andromeda-explorer.metis.io",
20
+ "METIS-TESTNET": "https://sepolia.explorer.metisdevops.link",
21
+ MANTLE: "https://explorer.mantle.xyz",
22
+ "MANTLE-TESTNET": "https://explorer.testnet.mantle.xyz",
23
+ MANTA: "https://pacific-explorer.manta.network",
24
+ "MANTA-TESTNET": "https://manta-testnet.calderaexplorer.xyz",
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",
32
+ };
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`,
59
+ };
60
+ export const nativeTokenDetails = {
61
+ ETH: {
62
+ name: "Ether",
63
+ symbol: "ETH",
64
+ logoUrl: "https://www.datocms-assets.com/86369/1669619533-ethereum.png",
65
+ },
66
+ [sepolia]: {
67
+ name: "Ether",
68
+ symbol: "ETH",
69
+ logoUrl: "https://www.datocms-assets.com/86369/1669619533-ethereum.png",
70
+ },
71
+ POLYGON: {
72
+ name: "Matic Token",
73
+ symbol: "MATIC",
74
+ logoUrl: "https://logos.covalenthq.com/tokens/1/0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0.png",
75
+ },
76
+ [polygonAmoy]: {
77
+ name: "Matic Token",
78
+ symbol: "MATIC",
79
+ logoUrl: "https://logos.covalenthq.com/tokens/1/0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0.png",
80
+ },
81
+ AVALANCHE: {
82
+ name: "Avalanche Coin",
83
+ symbol: "AVAX",
84
+ logoUrl: "https://www.datocms-assets.com/86369/1686152997-avalanche-colour.png",
85
+ },
86
+ ARBITRUM: {
87
+ name: "Arbitrum Mainnet Ether",
88
+ symbol: "ETH",
89
+ logoUrl: "https://www.datocms-assets.com/86369/1669925028-arbitrum.png",
90
+ },
91
+ BINANCE: {
92
+ name: "Binance Coin",
93
+ symbol: "BNB",
94
+ logoUrl: "https://www.datocms-assets.com/86369/1670003837-biance-smart-chain-colour.png",
95
+ },
96
+ OPTIMISM: {
97
+ name: "Ether",
98
+ symbol: "ETH",
99
+ logoUrl: "https://www.datocms-assets.com/86369/1670347461-optimisim-colour.png",
100
+ },
101
+ FANTOM: {
102
+ name: "Fantom",
103
+ symbol: "FTM",
104
+ logoUrl: "https://www.datocms-assets.com/86369/1669925359-fantom-1.png",
105
+ },
106
+ FUSE: {
107
+ name: "Fuse",
108
+ symbol: "FUSE",
109
+ logoUrl: "https://assets.coingecko.com/coins/images/10347/standard/fuse.png",
110
+ },
111
+ FUSESPARK: {
112
+ name: "Spark",
113
+ symbol: "SPARK",
114
+ logoUrl: "https://assets.coingecko.com/coins/images/10347/standard/fuse.png",
115
+ },
116
+ MUMBAI: {
117
+ name: "Matic Token",
118
+ symbol: "MATIC",
119
+ logoUrl: "https://logos.covalenthq.com/tokens/1/0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0.png",
120
+ },
121
+ METIS: {
122
+ name: "Metis Token",
123
+ symbol: "METIS",
124
+ logoUrl: "https://static.tria.so/chain-logo-w/Metis.webp",
125
+ },
126
+ "METIS-TESTNET": {
127
+ name: "Metis Token",
128
+ symbol: "METIS",
129
+ logoUrl: "https://static.tria.so/chain-logo-w/Metis.webp",
130
+ },
131
+ MANTLE: {
132
+ name: "Mantle",
133
+ symbol: "MNT",
134
+ logoUrl: "https://static.tria.so/chain-logo-w/Mantle.webp",
135
+ },
136
+ "MANTLE-TESTNET": {
137
+ name: "Mantle",
138
+ symbol: "MNT",
139
+ logoUrl: "https://static.tria.so/chain-logo-w/Mantle.webp",
140
+ },
141
+ MANTA: {
142
+ name: "Ether",
143
+ symbol: "ETH",
144
+ logoUrl: "https://static.tria.so/chain-logo-w/Manta.webp",
145
+ },
146
+ "MANTA-TESTNET": {
147
+ name: "Ether",
148
+ symbol: "ETH",
149
+ logoUrl: "https://static.tria.so/chain-logo-w/Manta.webp",
150
+ },
151
+ SOLANA: {
152
+ name: "Solana",
153
+ symbol: "SOL",
154
+ logoUrl: "https://static.tria.so/chain-logo-w/Solana.webp",
155
+ },
156
+ [zkLink]: {
157
+ name: "Ether",
158
+ symbol: "ETH",
159
+ logoUrl: "https://static.tria.so/chain-logo-w/zklink.webp",
160
+ },
161
+ [zkLinkTestnet]: {
162
+ name: "Ether",
163
+ symbol: "ETH",
164
+ logoUrl: "https://static.tria.so/chain-logo-w/zklink.webp",
165
+ },
166
+ [bitlayerTestnet]: {
167
+ name: "Bitcoin",
168
+ symbol: "BTC",
169
+ logoUrl: "https://static.tria.so/chain-logo-w/bitlayer.webp",
170
+ },
171
+ [bitlayerMainnet]: {
172
+ name: "Bitcoin",
173
+ symbol: "BTC",
174
+ logoUrl: "https://static.tria.so/chain-logo-w/bitlayer.webp",
175
+ },
176
+ [neoxTestnet]: {
177
+ name: "Gas",
178
+ symbol: "GAS",
179
+ logoUrl: "https://assets.coingecko.com/coins/images/858/standard/GAS_512_512.png?1696501992",
180
+ },
181
+ [vanarTestnet]: {
182
+ name: "Vanry",
183
+ symbol: "VG",
184
+ logoUrl: "https://assets.coingecko.com/coins/images/33466/standard/apple-touch-icon.png?1701942541",
185
+ },
186
+ [skaleTestnet]: {
187
+ name: "sFUEL",
188
+ symbol: "sFUEL",
189
+ logoUrl: "https://assets.coingecko.com/coins/images/13564/standard/SFUEL.png?1696513318",
190
+ },
191
+ };
192
+ const alchemyKey = "kcuWVV9ss_iLWJ2Lw6xdHbmtZYixfY7Z";
193
+ export const rpcUrls = {
194
+ MUMBAI: `https://polygon-mumbai.g.alchemy.com/v2/${alchemyKey}`, //'https://polygon-mumbai.blockpi.network/v1/rpc/public',
195
+ [polygonAmoy]: `https://polygon-amoy.g.alchemy.com/v2/${alchemyKey}`,
196
+ [sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
197
+ ETH: "https://eth.llamarpc.com",
198
+ [sepolia]: `https://eth-sepolia.g.alchemy.com/v2/${alchemyKey}`,
199
+ POLYGON: `https://polygon-mainnet.g.alchemy.com/v2/${alchemyKey}`, // 'https://polygon.llamarpc.com',
200
+ AVALANCHE: "https://avalanche-c-chain.publicnode.com",
201
+ ARBITRUM: "https://arbitrum-one.publicnode.com",
202
+ BINANCE: "https://bsc.publicnode.com",
203
+ OPTIMISM: "https://optimism.meowrpc.com",
204
+ FANTOM: "https://fantom.publicnode.com",
205
+ FUSE: "https://rpc.fuse.io",
206
+ FUSESPARK: "https://rpc.fusespark.io",
207
+ MANTA: "https://1rpc.io/manta",
208
+ "MANTA-TESTNET": "https://manta-testnet.calderachain.xyz/http",
209
+ METIS: "https://metis-pokt.nodies.app",
210
+ "METIS-TESTNET": "https://goerli.gateway.metisdevops.link",
211
+ MANTLE: "https://rpc.mantle.xyz",
212
+ "MANTLE-TESTNET": "https://rpc.testnet.mantle.xyz",
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",
220
+ };
221
+ export const chainNameToChainId = {
222
+ MUMBAI: 80001,
223
+ [polygonAmoy]: 80002,
224
+ [sepolia]: 11155111,
225
+ POLYGON: 137,
226
+ ETH: 1,
227
+ AVALANCHE: 43114,
228
+ ARBITRUM: 42161,
229
+ BINANCE: 56,
230
+ OPTIMISM: 10,
231
+ FANTOM: 250,
232
+ FUSE: 122,
233
+ FUSESPARK: 123,
234
+ MANTA: 169,
235
+ "MANTA-TESTNET": 3441005,
236
+ METIS: 1088,
237
+ "METIS-TESTNET": 599,
238
+ MANTLE: 5000,
239
+ "MANTLE-TESTNET": 5001,
240
+ [zkLink]: 810180,
241
+ [zkLinkTestnet]: 810182,
242
+ [bitlayerTestnet]: 200810,
243
+ [bitlayerMainnet]: 200901,
244
+ [neoxTestnet]: 12227330,
245
+ [vanarTestnet]: 78600,
246
+ [skaleTestnet]: 974399131,
247
+ };
248
+ export const chainIdToChainName = {
249
+ 11155111: sepolia,
250
+ 80001: "MUMBAI",
251
+ 80002: polygonAmoy,
252
+ 137: "POLYGON",
253
+ 1: "ETH",
254
+ 43114: "AVALANCHE",
255
+ 42161: "ARBITRUM",
256
+ 56: "BINANCE",
257
+ 10: "OPTIMISM",
258
+ 250: "FANTOM",
259
+ 122: "FUSE",
260
+ 123: "FUSESPARK",
261
+ 5000: "MANTLE",
262
+ 5001: "MANTLE-TESTNET",
263
+ 1088: "METIS",
264
+ 599: "METIS-TESTNET",
265
+ 169: "MANTA",
266
+ 3441005: "MANTA-TESTNET",
267
+ 810180: zkLink,
268
+ 810182: zkLinkTestnet,
269
+ 200810: bitlayerTestnet,
270
+ 200901: bitlayerMainnet,
271
+ 12227330: neoxTestnet,
272
+ 78600: vanarTestnet,
273
+ 974399131: skaleTestnet,
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,EAAE,yBAAyB;IAClC,CAAC,WAAW,CAAC,EAAE,6BAA6B;IAC5C,SAAS,EAAE,sBAAsB;IACjC,QAAQ,EAAE,qBAAqB;IAC/B,OAAO,EAAE,qBAAqB;IAC9B,QAAQ,EAAE,iCAAiC;IAC3C,MAAM,EAAE,qBAAqB;IAC7B,MAAM,EAAE,oBAAoB;IAC5B,KAAK,EAAE,gCAAgC;IAC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IACxB,KAAK,EAAE,IAAI;IACX,eAAe,EAAE,GAAG;IACpB,MAAM,EAAE,IAAI;IACZ,gBAAgB,EAAE,IAAI;IACtB,CAAC,MAAM,CAAC,EAAE,MAAM;IAChB,CAAC,aAAa,CAAC,EAAE,MAAM;IACvB,CAAC,eAAe,CAAC,EAAE,MAAM;IACzB,CAAC,eAAe,CAAC,EAAE,MAAM;IACzB,CAAC,WAAW,CAAC,EAAE,QAAQ;IACvB,CAAC,YAAY,CAAC,EAAE,KAAK;IACrB,CAAC,YAAY,CAAC,EAAE,SAAS;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,QAAQ,EAAE,OAAO;IACjB,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,WAAW;IAClB,GAAG,EAAE,SAAS;IACd,CAAC,EAAE,KAAK;IACR,KAAK,EAAE,WAAW;IAClB,KAAK,EAAE,UAAU;IACjB,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,UAAU;IACd,GAAG,EAAE,QAAQ;IACb,GAAG,EAAE,MAAM;IACX,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,eAAe;IACpB,GAAG,EAAE,OAAO;IACZ,OAAO,EAAE,eAAe;IACxB,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,eAAe;IACvB,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,YAAY;CACxB,CAAC"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tria-sdk/constants",
3
- "version": "1.0.52",
3
+ "version": "1.0.60",
4
4
  "description": "",
5
- "module": "dist/constants.mjs",
5
+ "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "devDependencies": {
8
8
  "typescript": "^5.3.3",
@@ -16,6 +16,6 @@
16
16
  "scripts": {
17
17
  "test": "echo \"Error: no test specified\" && exit 1",
18
18
  "rollup": "rollup -c",
19
- "build": "tsc && vite build"
19
+ "build": "tsc"
20
20
  }
21
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",
package/tsconfig.json CHANGED
@@ -2,16 +2,17 @@
2
2
  "compilerOptions": {
3
3
  "target": "ES2022",
4
4
  "module": "ES2022",
5
- "lib": ["ES2022"],
5
+ "lib": ["ES2022", "DOM", "DOM.Iterable"],
6
6
  "skipLibCheck": true,
7
7
  "strict": true,
8
8
  "esModuleInterop": true,
9
9
  "moduleResolution": "node",
10
10
  "outDir": "dist",
11
11
  "resolveJsonModule": true,
12
- // "noImplicitReturns": true,
12
+ "sourceMap": true,
13
13
  "declaration": true
14
14
  },
15
- "include": ["**/*.ts", "**/*.js"],
16
- "exclude": ["tests", "**/*.d.ts", "**/extra.ts"]
15
+
16
+ "include": ["src/**/*"],
17
+ "exclude": ["tests", "**/extra.ts"]
17
18
  }