Skip to content

Commit 40132ab

Browse files
authored
update monad mainnet: add multicall3 address, websocket, second RPC url, second block explorer (#4109)
1 parent b46fbe3 commit 40132ab

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

.changeset/modern-walls-cough.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Updated Monad block explorer URL and added WebSocket URLs, Multicall3 contract, second block explorer, and second RPC URL.

src/chains/definitions/monad.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,26 @@ export const monad = /*#__PURE__*/ defineChain({
1111
},
1212
rpcUrls: {
1313
default: {
14-
http: ['https://rpc.monad.xyz'],
14+
http: ['https://rpc.monad.xyz', 'https://rpc1.monad.xyz'],
15+
webSocket: ['wss://rpc.monad.xyz', 'wss://rpc1.monad.xyz'],
1516
},
1617
},
1718
blockExplorers: {
1819
default: {
19-
name: 'Monvision',
20-
url: 'https://mainnet-beta.monvision.io',
20+
name: 'MonadVision',
21+
url: 'https://monadvision.com',
22+
},
23+
monadscan: {
24+
name: 'Monadscan',
25+
url: 'https://monadscan.com',
26+
apiUrl: 'https://api.monadscan.com/api',
2127
},
2228
},
2329
testnet: false,
30+
contracts: {
31+
multicall3: {
32+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
33+
blockCreated: 9248132,
34+
},
35+
},
2436
})

0 commit comments

Comments
 (0)