Skip to content

Commit 3709214

Browse files
committed
Add cronoszkEVM chain
1 parent a99eb0e commit 3709214

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Added cronoszkEVM chain.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+
export const cronoszkEVM = /*#__PURE__*/ defineChain({
4+
id: 388,
5+
name: 'Cronos zkEVM Mainnet',
6+
nativeCurrency: {
7+
decimals: 18,
8+
name: 'Cronos zkEVM CRO',
9+
symbol: 'zkCRO',
10+
},
11+
rpcUrls: {
12+
default: { http: ['https://mainnet.zkevm.cronos.org'] },
13+
},
14+
blockExplorers: {
15+
default: {
16+
name: 'Cronos zkEVM (Mainnet) Chain Explorer',
17+
url: 'https://explorer.zkevm.cronos.org',
18+
},
19+
},
20+
})

src/chains/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export { confluxESpaceTestnet } from './definitions/confluxESpaceTestnet.js'
6767
export { coreDao } from './definitions/coreDao.js'
6868
export { crab } from './definitions/crab.js'
6969
export { cronos } from './definitions/cronos.js'
70+
export { cronoszkEVM } from './definitions/cronoszkEVM.js'
7071
export { cronoszkEVMTestnet } from './definitions/cronoszkEVMTestnet.js'
7172
export { cronosTestnet } from './definitions/cronosTestnet.js'
7273
export { crossbell } from './definitions/crossbell.js'

0 commit comments

Comments
 (0)