Skip to content

Commit

Permalink
feat: add metadium network (#3034)
Browse files Browse the repository at this point in the history
  • Loading branch information
qi-0826 authored Nov 21, 2024
1 parent 817023f commit 9c1db89
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dry-waves-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const metadium = /*#__PURE__*/ defineChain({
id: 11,
name: 'Metadium Network',
nativeCurrency: {
decimals: 18,
name: 'META',
symbol: 'META',
},
rpcUrls: {
default: { http: ['https://api.metadium.com/prod'] },
},
blockExplorers: {
default: {
name: 'Metadium Explorer',
url: 'https://explorer.metadium.com',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ export { meld } from './definitions/meld.js'
export { merlin } from './definitions/merlin.js'
export { metachain } from './definitions/metachain.js'
export { metachainIstanbul } from './definitions/metachainIstanbul.js'
export { metadium } from './definitions/metadium.js'
export { metalL2 } from './definitions/metalL2.js'
export { meter } from './definitions/meter.js'
export { meterTestnet } from './definitions/meterTestnet.js'
Expand Down

0 comments on commit 9c1db89

Please sign in to comment.