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

Commit

Permalink
Add MEV and MEVTestnet Chain (#407)
Browse files Browse the repository at this point in the history
* Added MEV and MEVTestnet Chain

* applied multicall3

* Create beige-toys-perform.md
  • Loading branch information
judasowelu authored Jul 13, 2023
1 parent dee1782 commit 3c3143d
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
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: {
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: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 64371115,
},
},
testnet: true,
} as const satisfies Chain

0 comments on commit 3c3143d

Please sign in to comment.