Skip to content

Commit

Permalink
feat: add morph Sepolia Testnet (#1931)
Browse files Browse the repository at this point in the history
* Add morph sepolia testnet

* Update morphSepolia.ts

---------

Co-authored-by: jxom <jakemoxey@gmail.com>
  • Loading branch information
Rahat-ch and jxom committed Mar 13, 2024
1 parent 89f5ef9 commit 798b346
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/famous-trains-collect.md
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added Morph Sepolia Testnet
20 changes: 20 additions & 0 deletions src/chains/definitions/morphSepolia.ts
@@ -0,0 +1,20 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const morphSepolia = /*#__PURE__*/ defineChain({
id: 2710,
name: 'Morph Sepolia',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc-testnet.morphl2.io'],
},
},
blockExplorers: {
default: {
name: 'Morph Testnet Explorer',
url: 'https://explorer-testnet.morphl2.io',
apiUrl: 'https://explorer-api-testnet.morphl2.io/api',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Expand Up @@ -131,6 +131,7 @@ export { moonbaseAlpha } from './definitions/moonbaseAlpha.js'
export { moonbeam } from './definitions/moonbeam.js'
export { moonbeamDev } from './definitions/moonbeamDev.js'
export { moonriver } from './definitions/moonriver.js'
export { morphSepolia } from './definitions/morphSepolia.js'
export { neonDevnet } from './definitions/neonDevnet.js'
export { neonMainnet } from './definitions/neonMainnet.js'
export { nexi } from './definitions/nexi.js'
Expand Down

0 comments on commit 798b346

Please sign in to comment.