Skip to content

Commit

Permalink
feat: add mekong chain (#2984)
Browse files Browse the repository at this point in the history
* Create mekong.ts

* Update mekong.ts

* Update index.ts

* Update mekong.ts

* Remove space committed by error

* Create small-cheetahs-applaud.md

---------

Co-authored-by: jxom <[email protected]>
  • Loading branch information
vince0656 and jxom authored Nov 7, 2024
1 parent 4035ff1 commit 907c646
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-cheetahs-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added Mekong chain.
19 changes: 19 additions & 0 deletions src/chains/definitions/mekong.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const mekong = /*#__PURE__*/ defineChain({
id: 7078815900,
name: 'Mekong Pectra Devnet',
nativeCurrency: { name: 'eth', symbol: 'eth', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.mekong.ethpandaops.io'],
},
},
blockExplorers: {
default: {
name: 'Block Explorer',
url: 'https://explorer.mekong.ethpandaops.io',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export { mantleTestnet } from './definitions/mantleTestnet.js'
export { mapProtocol } from './definitions/mapProtocol.js'
export { matchain } from './definitions/matchain.js'
export { matchainTestnet } from './definitions/matchainTestnet.js'
export { mekong } from './definitions/mekong.js';
export { meld } from './definitions/meld.js'
export { merlin } from './definitions/merlin.js'
export { metachain } from './definitions/metachain.js'
Expand Down

0 comments on commit 907c646

Please sign in to comment.