diff --git a/.changeset/five-months-think.md b/.changeset/five-months-think.md new file mode 100644 index 0000000000..8cd0e6c896 --- /dev/null +++ b/.changeset/five-months-think.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added cronoszkEVMTestnet chain. diff --git a/src/chains/definitions/bobaSepolia.ts b/src/chains/definitions/bobaSepolia.ts index 1fe83d41a3..2f23ee98fa 100644 --- a/src/chains/definitions/bobaSepolia.ts +++ b/src/chains/definitions/bobaSepolia.ts @@ -17,4 +17,5 @@ export const bobaSepolia = /*#__PURE__*/ defineChain({ url: 'https://testnet.bobascan.com', }, }, + testnet: true, }) diff --git a/src/chains/definitions/cronoszkEVMTestnet.ts b/src/chains/definitions/cronoszkEVMTestnet.ts new file mode 100644 index 0000000000..f04f30104b --- /dev/null +++ b/src/chains/definitions/cronoszkEVMTestnet.ts @@ -0,0 +1,21 @@ +import { defineChain } from '../../utils/chain/defineChain.js' + +export const cronoszkEVMTestnet = /*#__PURE__*/ defineChain({ + id: 282, + name: 'Cronos zkEVM Testnet', + nativeCurrency: { + decimals: 18, + name: 'Cronos zkEVM Test Coin', + symbol: 'zkTCRO', + }, + rpcUrls: { + default: { http: ['https://testnet.zkevm.cronos.org'] }, + }, + blockExplorers: { + default: { + name: 'Cronos zkEVM Testnet Explorer', + url: 'https://explorer.zkevm.cronos.org/testnet', + }, + }, + testnet: true, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index 5f9b801ef2..b6e55cacc4 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -60,6 +60,7 @@ export { confluxESpaceTestnet } from './definitions/confluxESpaceTestnet.js' export { coreDao } from './definitions/coreDao.js' export { crab } from './definitions/crab.js' export { cronos } from './definitions/cronos.js' +export { cronoszkEVMTestnet } from './definitions/cronoszkEVMTestnet.js' export { cronosTestnet } from './definitions/cronosTestnet.js' export { crossbell } from './definitions/crossbell.js' export { cyber } from './definitions/cyber.js'