Skip to content

Commit

Permalink
feat: add MCH Verse chain (#3017)
Browse files Browse the repository at this point in the history
* Add MCH Verse chain

* Update mchVerse.ts
  • Loading branch information
SakuraCase authored Nov 18, 2024
1 parent 103de69 commit b4a05d6
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-sheep-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const mchVerse = /*#__PURE__*/ defineChain({
id: 29548,
name: 'MCH Verse',
nativeCurrency: { name: 'Oasys', symbol: 'OAS', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.oasys.mycryptoheroes.net'],
},
},
blockExplorers: {
default: {
name: 'MCH Verse Explorer',
url: 'https://explorer.oasys.mycryptoheroes.net',
apiUrl: 'https://explorer.oasys.mycryptoheroes.net/api',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,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 { mchVerse } from './definitions/mchVerse.js'
export { mekong } from './definitions/mekong.js'
export { meld } from './definitions/meld.js'
export { merlin } from './definitions/merlin.js'
Expand Down

0 comments on commit b4a05d6

Please sign in to comment.