@cryptorubic/web3 0.7.16 → 0.7.18-alpha-id-2007.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.16",
3
+ "version": "0.7.18-alpha-id-2007.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0",
6
6
  "bignumber.js": "9.1.2",
7
- "@cryptorubic/core": "0.7.16",
7
+ "@cryptorubic/core": "0.7.18-alpha-id-2007.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.16",
14
+ "@cryptorubic/tron-types": "0.7.18-alpha-id-2007.0",
15
15
  "bitcoin-address-validation": "^2.2.3",
16
16
  "axios": "0.27.2",
17
17
  "crc-32": "^1.2.2",
@@ -1412,5 +1412,32 @@ exports.viemConfig = {
1412
1412
  address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1413
1413
  }
1414
1414
  }
1415
+ }),
1416
+ MORPH: (0, viem_1.defineChain)({
1417
+ id: 2818,
1418
+ name: 'Morph',
1419
+ nativeCurrency: {
1420
+ decimals: 18,
1421
+ name: 'Ether',
1422
+ symbol: 'ETH'
1423
+ },
1424
+ rpcUrls: {
1425
+ default: {
1426
+ http: ['https://rpc.morphl2.io'],
1427
+ webSocket: ['wss://rpc.morphl2.io:8443']
1428
+ }
1429
+ },
1430
+ blockExplorers: {
1431
+ default: {
1432
+ name: 'Morph Explorer',
1433
+ url: 'https://explorer.morphl2.io'
1434
+ }
1435
+ },
1436
+ testnet: false,
1437
+ contracts: {
1438
+ multicall3: {
1439
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1440
+ }
1441
+ }
1415
1442
  })
1416
1443
  };
@@ -66,7 +66,7 @@ exports.viemBlockchainMapping = {
66
66
  [core_1.BLOCKCHAIN_NAME.MODE]: chains_1.mode,
67
67
  [core_1.BLOCKCHAIN_NAME.ZK_FAIR]: chains_1.zkFair,
68
68
  [core_1.BLOCKCHAIN_NAME.ZK_LINK]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.ZK_LINK],
69
- [core_1.BLOCKCHAIN_NAME.XLAYER]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.XLAYER], // viem xLayer config without multicall address
69
+ [core_1.BLOCKCHAIN_NAME.XLAYER]: chains_1.xLayer,
70
70
  [core_1.BLOCKCHAIN_NAME.BAHAMUT]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.BAHAMUT],
71
71
  [core_1.BLOCKCHAIN_NAME.BITLAYER]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.BITLAYER],
72
72
  [core_1.BLOCKCHAIN_NAME.SEI]: chains_1.sei,
@@ -76,5 +76,6 @@ exports.viemBlockchainMapping = {
76
76
  [core_1.BLOCKCHAIN_NAME.BERACHAIN]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.BERACHAIN],
77
77
  [core_1.BLOCKCHAIN_NAME.SONEIUM]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.SONEIUM],
78
78
  [core_1.BLOCKCHAIN_NAME.WANCHAIN]: chains_1.wanchain,
79
- [core_1.BLOCKCHAIN_NAME.UNICHAIN]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.UNICHAIN]
79
+ [core_1.BLOCKCHAIN_NAME.UNICHAIN]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.UNICHAIN],
80
+ [core_1.BLOCKCHAIN_NAME.MORPH]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.MORPH] // viem Morph config without multicall address
80
81
  };