Skip to content

Commit

Permalink
feat: add mint chain (#2756)
Browse files Browse the repository at this point in the history
* feat: add mint network

* Update chilly-vans-fold.md

---------

Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
jeff-0402 and jxom committed Sep 23, 2024
1 parent 60dacc1 commit 5e1a13d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilly-vans-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const mint = /*#__PURE__*/ defineChain({
id: 185,
name: 'Mint Mainnet',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.mintchain.io'],
},
},
blockExplorers: {
default: {
name: 'Mintchain explorer',
url: 'https://explorer.mintchain.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 @@ -199,6 +199,7 @@ export { metis } from './definitions/metis.js'
export { metisGoerli } from './definitions/metisGoerli.js'
export { mev } from './definitions/mev.js'
export { mevTestnet } from './definitions/mevTestnet.js'
export { mint } from './definitions/mint.js'
export { mintSepoliaTestnet } from './definitions/mintSepoliaTestnet.js'
export { mode } from './definitions/mode.js'
export { modeTestnet } from './definitions/modeTestnet.js'
Expand Down

0 comments on commit 5e1a13d

Please sign in to comment.