Skip to content

Conversation

@kiyoakii
Copy link

Summary

  • Add MegaETH Mainnet chain definition (chain ID: 4326)
  • Fix MegaETH Testnet chain ID: 6342 → 6343

Details

Mainnet

Field Value
Chain ID 4326
RPC https://mainnet.megaeth.com/rpc
WebSocket wss://mainnet.megaeth.com/ws
Multicall3 0xcA11bde05977b3631167028862bE2a173976CA11

Testnet Chain ID Fix

The current testnet definition has incorrect chain ID (6342). The actual chain ID is 6343.

Verification:

curl -s https://carrot.megaeth.com/rpc -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'
# Returns: {"jsonrpc":"2.0","id":1,"result":"0x18c7"}  (6343)

References

@changeset-bot
Copy link

changeset-bot bot commented Jan 15, 2026

🦋 Changeset detected

Latest commit: 3eacaee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

http: ['https://mainnet.megaeth.com/rpc'],
webSocket: ['wss://mainnet.megaeth.com/ws'],
},
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you mind also adding the explorers section?
I think https://megaeth.blockscout.com/ is the one.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sakulstra we don't have a canonical explorer at this point and we don't want to imply that the blockscout explorer is the default one. Is it OK to omit this section for now? We can submit a new PR if the situation changes.

Copy link
Contributor

@sakulstra sakulstra Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a maintainer on that repo, but personally i think better to link "some" explorer than none.
A lot of ppl (including us) use the explorer configured here to render txn links etc. changing it down the line is no problem, but having non is pain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants