Skip to content

Commit

Permalink
feat: add nahmii mainnet (#2991)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangnong authored Nov 10, 2024
1 parent 413910b commit 0e36ce1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fresh-beers-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const nahmii = /*#__PURE__*/ defineChain({
id: 5551,
name: 'Nahmii 2 Mainnet',
nativeCurrency: {
decimals: 18,
name: 'ETH',
symbol: 'ETH',
},
rpcUrls: {
default: { http: ['https://l2.nahmii.io'] },
},
blockExplorers: {
default: {
name: 'Nahmii 2 Explorer',
url: 'https://explorer.n2.nahmii.io',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ export { moonriver } from './definitions/moonriver.js'
export { morph } from './definitions/morph.js'
export { morphHolesky } from './definitions/morphHolesky.js'
export { morphSepolia } from './definitions/morphSepolia.js'
export { nahmii } from './definitions/nahmii.js'
export { nautilus } from './definitions/nautilus.js'
export { neonDevnet } from './definitions/neonDevnet.js'
export { neonMainnet } from './definitions/neonMainnet.js'
Expand Down

0 comments on commit 0e36ce1

Please sign in to comment.