Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Add MEV and MEVTestnet Chain #407

Merged
merged 6 commits into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/beige-toys-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": minor
---

Added MEV and MEVTestnet Chain
2 changes: 2 additions & 0 deletions packages/chains/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export { mantle } from './mantle'
export { mantleTestnet } from './mantleTestnet'
export { metis } from './metis'
export { metisGoerli } from './metisGoerli'
export { mev } from './mev'
export { mevTestnet } from './mevTestnet'
export { moonbaseAlpha } from './moonbaseAlpha'
export { moonbeam } from './moonbeam'
export { moonriver } from './moonriver'
Expand Down
32 changes: 32 additions & 0 deletions packages/chains/src/mev.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { Chain } from './types'

export const mev = {
id: 7518,
network: 'MEVerse',
name: 'MEVerse Chain Mainnet',
nativeCurrency: {
decimals: 18,
name: 'MEVerse',
symbol: 'MEV',
},
rpcUrls: {
default: {
http: ['https://rpc.meversemainnet.io'],
},
public: {
http: ['https://rpc.meversemainnet.io'],
},
},
blockExplorers: {
default: {
name: 'Explorer',
url: 'https://www.meversescan.io',
},
},
contracts: {
judasowelu marked this conversation as resolved.
Show resolved Hide resolved
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 86881340,
},
},
} as const satisfies Chain
33 changes: 33 additions & 0 deletions packages/chains/src/mevTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { Chain } from './types'

export const mevTestnet = {
id: 4759,
network: 'MEVerse Testnet',
name: 'MEVerse Chain Testnet',
nativeCurrency: {
decimals: 18,
name: 'MEVerse',
symbol: 'MEV',
},
rpcUrls: {
default: {
http: ['https://rpc.meversetestnet.io'],
},
public: {
http: ['https://rpc.meversetestnet.io'],
},
},
blockExplorers: {
default: {
name: 'Explorer',
url: 'https://testnet.meversescan.io/',
},
},
contracts: {
judasowelu marked this conversation as resolved.
Show resolved Hide resolved
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 64371115,
},
},
testnet: true,
} as const satisfies Chain
Loading