diff --git a/.changeset/odd-bulldogs-exist.md b/.changeset/odd-bulldogs-exist.md new file mode 100644 index 00000000..8a2629bf --- /dev/null +++ b/.changeset/odd-bulldogs-exist.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Added Mode Testnet chain. diff --git a/packages/chains/README.md b/packages/chains/README.md index 8ae3eb02..8586e64a 100644 --- a/packages/chains/README.md +++ b/packages/chains/README.md @@ -65,6 +65,7 @@ const { chains, provider } = configureChains( - `mantleTestnet` - `metis` - `metisGoerli` +- `modeTestnet` - `moonbaseAlpha` - `moonbeam` - `moonriver` diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index 81534b3d..1969645c 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -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' diff --git a/packages/chains/src/modeTestnet.ts b/packages/chains/src/modeTestnet.ts new file mode 100644 index 00000000..5567e7ed --- /dev/null +++ b/packages/chains/src/modeTestnet.ts @@ -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