@cryptorubic/web3 0.7.10-alpha-soneium-api.0 → 0.7.10
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.10
|
|
3
|
+
"version": "0.7.10",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.3.0",
|
|
6
6
|
"bignumber.js": "9.1.2",
|
|
7
|
-
"@cryptorubic/core": "0.7.10
|
|
7
|
+
"@cryptorubic/core": "0.7.10",
|
|
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.10
|
|
14
|
+
"@cryptorubic/tron-types": "0.7.10",
|
|
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_TESTNET: (0, viem_1.defineChain)({
|
|
49
49
|
blockExplorers: {
|
|
50
50
|
default: {
|
|
51
51
|
apiUrl: 'https://artio.beratrail.io/',
|
|
@@ -1344,6 +1344,29 @@ exports.viemConfig = {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
}),
|
|
1347
|
+
BERACHAIN: (0, viem_1.defineChain)({
|
|
1348
|
+
blockExplorers: {
|
|
1349
|
+
default: {
|
|
1350
|
+
apiUrl: 'https://berascan.com/',
|
|
1351
|
+
name: 'Berachain Explorer',
|
|
1352
|
+
url: 'https://berascan.com/'
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
id: 80094,
|
|
1356
|
+
name: 'Berachain',
|
|
1357
|
+
nativeCurrency: { decimals: 18, name: 'BERA', symbol: 'BERA' },
|
|
1358
|
+
rpcUrls: {
|
|
1359
|
+
default: {
|
|
1360
|
+
http: ['https://rpc.berachain.com/']
|
|
1361
|
+
}
|
|
1362
|
+
},
|
|
1363
|
+
testnet: false,
|
|
1364
|
+
contracts: {
|
|
1365
|
+
multicall3: {
|
|
1366
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11'
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
}),
|
|
1347
1370
|
SONEIUM: (0, viem_1.defineChain)({
|
|
1348
1371
|
blockExplorers: {
|
|
1349
1372
|
default: {
|
|
@@ -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_TESTNET]: chains_1.berachainTestnetbArtio,
|
|
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,6 @@ 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.BERACHAIN]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.BERACHAIN],
|
|
76
77
|
[core_1.BLOCKCHAIN_NAME.SONEIUM]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.SONEIUM]
|
|
77
78
|
};
|