@sign-global/tokentable-core 1.7.1 → 1.9.0
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/CHANGELOG.md +12 -0
- package/dist/index.d.mts +257 -143
- package/dist/index.d.ts +257 -143
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/constants/chain-config.ts +14 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sign-global/tokentable-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@tonconnect/sdk": "^3.0.6",
|
|
21
|
-
"viem": "^2.
|
|
21
|
+
"viem": "^2.38.0",
|
|
22
22
|
"@coral-xyz/anchor": "^0.30.1",
|
|
23
23
|
"@solana/spl-token": "^0.4.12",
|
|
24
24
|
"@solana/wallet-adapter-base": "^0.9.26",
|
|
@@ -10,7 +10,9 @@ import {
|
|
|
10
10
|
zetachainAthensTestnet,
|
|
11
11
|
bsc,
|
|
12
12
|
berachainTestnet,
|
|
13
|
-
arbitrum
|
|
13
|
+
arbitrum,
|
|
14
|
+
sonic,
|
|
15
|
+
xLayer
|
|
14
16
|
} from 'viem/chains';
|
|
15
17
|
import {
|
|
16
18
|
aptosTestNet,
|
|
@@ -85,6 +87,14 @@ export const ChainConfig = {
|
|
|
85
87
|
contractAddress: '0xeD09c23677D02f4f486E55f0f081cfc114EEa53b', // add default fee
|
|
86
88
|
rpcUrl: signBrBTestnet.rpcUrls.default.http[0]
|
|
87
89
|
},
|
|
90
|
+
[sonic.id]: {
|
|
91
|
+
contractAddress: '0xa6A2d42E16a690E03bDe181319fDD085880F2605',
|
|
92
|
+
rpcUrl: sonic.rpcUrls.default.http[0]
|
|
93
|
+
},
|
|
94
|
+
[xLayer.id]: {
|
|
95
|
+
contractAddress: '0xa6A2d42E16a690E03bDe181319fDD085880F2605',
|
|
96
|
+
rpcUrl: 'https://xlayerrpc.okx.com'
|
|
97
|
+
},
|
|
88
98
|
[CHAIN.TESTNET]: {
|
|
89
99
|
name: 'TestNet',
|
|
90
100
|
contractAddress: '',
|
|
@@ -137,5 +147,7 @@ export const SupportedChains = [
|
|
|
137
147
|
arbitrum,
|
|
138
148
|
tonTestNet,
|
|
139
149
|
tonMainNet,
|
|
140
|
-
signBrBTestnet
|
|
150
|
+
signBrBTestnet,
|
|
151
|
+
sonic,
|
|
152
|
+
xLayer
|
|
141
153
|
];
|