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

Commit

Permalink
Add Mode Testnet chain
Browse files Browse the repository at this point in the history
  • Loading branch information
d0wnlore committed Aug 5, 2023
1 parent f62be25 commit d772f11
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 @@ -66,6 +66,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 d772f11

Please sign in to comment.