@cryptorubic/web3 0.7.9-alpha-berachain-api.1 → 0.7.10-alpha-soneium-api.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/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptorubic/web3",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.10-alpha-soneium-api.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.3.0",
|
|
6
6
|
"bignumber.js": "9.1.2",
|
|
7
|
-
"@cryptorubic/core": "0.7.
|
|
7
|
+
"@cryptorubic/core": "0.7.10-alpha-soneium-api.0",
|
|
8
8
|
"viem": "^2.19.1",
|
|
9
9
|
"web3-utils": "^4.3.1",
|
|
10
10
|
"@ton/ton": "^15.1.0",
|
|
11
11
|
"@solana/web3.js": "1.95.3",
|
|
12
12
|
"@solflare-wallet/utl-sdk": "^1.4.0",
|
|
13
13
|
"@ethersproject/bignumber": "^5.7.0",
|
|
14
|
-
"@cryptorubic/tron-types": "0.7.
|
|
14
|
+
"@cryptorubic/tron-types": "0.7.10-alpha-soneium-api.0",
|
|
15
15
|
"bitcoin-address-validation": "^2.2.3",
|
|
16
16
|
"axios": "0.27.2",
|
|
17
17
|
"crc-32": "^1.2.2",
|
|
@@ -45,7 +45,7 @@ exports.viemConfig = {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}),
|
|
48
|
-
|
|
48
|
+
BERACHAIN: (0, viem_1.defineChain)({
|
|
49
49
|
blockExplorers: {
|
|
50
50
|
default: {
|
|
51
51
|
apiUrl: 'https://artio.beratrail.io/',
|
|
@@ -1344,20 +1344,20 @@ exports.viemConfig = {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
}),
|
|
1347
|
-
|
|
1347
|
+
SONEIUM: (0, viem_1.defineChain)({
|
|
1348
1348
|
blockExplorers: {
|
|
1349
1349
|
default: {
|
|
1350
|
-
apiUrl: 'https://
|
|
1351
|
-
name: '
|
|
1352
|
-
url: 'https://
|
|
1350
|
+
apiUrl: 'https://soneium.blockscout.com/',
|
|
1351
|
+
name: 'Soneium Explorer',
|
|
1352
|
+
url: 'https://soneium.blockscout.com/'
|
|
1353
1353
|
}
|
|
1354
1354
|
},
|
|
1355
|
-
id:
|
|
1356
|
-
name: '
|
|
1357
|
-
nativeCurrency: { decimals: 18, name: '
|
|
1355
|
+
id: 1868,
|
|
1356
|
+
name: 'Soneium',
|
|
1357
|
+
nativeCurrency: { decimals: 18, name: 'Ethereum', symbol: 'ETH' },
|
|
1358
1358
|
rpcUrls: {
|
|
1359
1359
|
default: {
|
|
1360
|
-
http: ['https://rpc.
|
|
1360
|
+
http: ['https://1868.rpc.thirdweb.com/', 'https://rpc.soneium.org/', 'https://soneium.drpc.org']
|
|
1361
1361
|
}
|
|
1362
1362
|
},
|
|
1363
1363
|
testnet: false,
|
|
@@ -56,7 +56,7 @@ exports.viemBlockchainMapping = {
|
|
|
56
56
|
[core_1.BLOCKCHAIN_NAME.SEPOLIA]: chains_1.sepolia,
|
|
57
57
|
[core_1.BLOCKCHAIN_NAME.MANTA_PACIFIC]: chains_1.manta,
|
|
58
58
|
[core_1.BLOCKCHAIN_NAME.SCROLL]: chains_1.scroll,
|
|
59
|
-
[core_1.BLOCKCHAIN_NAME.
|
|
59
|
+
[core_1.BLOCKCHAIN_NAME.BERACHAIN]: chains_1.berachainTestnet,
|
|
60
60
|
[core_1.BLOCKCHAIN_NAME.BLAST]: chains_1.blast,
|
|
61
61
|
[core_1.BLOCKCHAIN_NAME.HOLESKY]: chains_1.holesky,
|
|
62
62
|
[core_1.BLOCKCHAIN_NAME.KROMA]: chains_1.kroma,
|
|
@@ -73,5 +73,5 @@ exports.viemBlockchainMapping = {
|
|
|
73
73
|
[core_1.BLOCKCHAIN_NAME.GRAVITY]: chains_1.gravity,
|
|
74
74
|
[core_1.BLOCKCHAIN_NAME.FRAXTAL]: chains_1.fraxtal,
|
|
75
75
|
[core_1.BLOCKCHAIN_NAME.CORE]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.CORE],
|
|
76
|
-
[core_1.BLOCKCHAIN_NAME.
|
|
76
|
+
[core_1.BLOCKCHAIN_NAME.SONEIUM]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.SONEIUM]
|
|
77
77
|
};
|