@cryptorubic/web3 1.4.0 → 1.4.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptorubic/web3",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "dependencies": {
5
5
  "@ethersproject/bignumber": "^5.8.0",
6
6
  "@mysten/sui": "^1.24.0",
@@ -1491,5 +1491,32 @@ exports.viemConfig = {
1491
1491
  address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1492
1492
  }
1493
1493
  }
1494
+ }),
1495
+ MEGAETH: (0, viem_1.defineChain)({
1496
+ id: 4326,
1497
+ name: 'MegaETH',
1498
+ network: 'MegaETH',
1499
+ nativeCurrency: {
1500
+ name: 'Ethereum',
1501
+ symbol: 'ETH',
1502
+ decimals: 18
1503
+ },
1504
+ rpcUrls: {
1505
+ default: {
1506
+ http: ['https://mainnet.megaeth.com/rpc']
1507
+ }
1508
+ },
1509
+ blockExplorers: {
1510
+ default: {
1511
+ name: 'megaethblockscout',
1512
+ url: 'https://mega.etherscan.io'
1513
+ }
1514
+ },
1515
+ testnet: false,
1516
+ contracts: {
1517
+ multicall3: {
1518
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1519
+ }
1520
+ }
1494
1521
  })
1495
1522
  };
@@ -78,5 +78,6 @@ exports.viemBlockchainMapping = {
78
78
  [core_1.BLOCKCHAIN_NAME.HEMI]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.HEMI],
79
79
  [core_1.BLOCKCHAIN_NAME.PLASMA]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.PLASMA],
80
80
  [core_1.BLOCKCHAIN_NAME.HYPER_EVM]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.HYPER_EVM],
81
- [core_1.BLOCKCHAIN_NAME.MONAD]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.MONAD]
81
+ [core_1.BLOCKCHAIN_NAME.MONAD]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.MONAD],
82
+ [core_1.BLOCKCHAIN_NAME.MEGAETH]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.MEGAETH]
82
83
  };