Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
feat: add Mode Testnet chain (#465)
Browse files Browse the repository at this point in the history
* Add Mode Testnet chain

* Update modeTestnet.ts

---------

Co-authored-by: jxom <[email protected]>
  • Loading branch information
d0wnlore and jxom authored Aug 9, 2023
1 parent d8b2fd5 commit 5683df2
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/odd-bulldogs-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": patch
---

Added Mode Testnet chain.
1 change: 1 addition & 0 deletions packages/chains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const { chains, provider } = configureChains(
- `mantleTestnet`
- `metis`
- `metisGoerli`
- `modeTestnet`
- `moonbaseAlpha`
- `moonbeam`
- `moonriver`
Expand Down
1 change: 1 addition & 0 deletions packages/chains/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export { metis } from './metis'
export { metisGoerli } from './metisGoerli'
export { mev } from './mev'
export { mevTestnet } from './mevTestnet'
export { modeTestnet } from './modeTestnet'
export { moonbaseAlpha } from './moonbaseAlpha'
export { moonbeam } from './moonbeam'
export { moonriver } from './moonriver'
Expand Down
23 changes: 23 additions & 0 deletions packages/chains/src/modeTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { Chain } from './types'

export const modeTestnet = {
id: 919,
name: 'Mode Testnet',
network: 'mode-testnet',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://sepolia.mode.network'],
},
public: {
http: ['https://sepolia.mode.network'],
},
},
blockExplorers: {
default: {
name: 'Blockscout',
url: 'https://sepolia.explorer.mode.network',
},
},
testnet: true,
} as const satisfies Chain

0 comments on commit 5683df2

Please sign in to comment.