Skip to content

Commit

Permalink
feat: add cornoszkEVMTestnet chain (#2530)
Browse files Browse the repository at this point in the history
* added bobaSepolia chain

* Update bobaSepolia.ts

* Update quiet-olives-trade.md

* Added cronoszkEVMTestnet chain.

* Added cronoszkEVMTestnet chain.

* Delete .changeset/metal-students-run.md

* Delete .changeset/quiet-olives-trade.md

---------

Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
Si-Ki and jxom authored Jul 25, 2024
1 parent a5d4ec4 commit d6cc8f6
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-months-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added cronoszkEVMTestnet chain.
1 change: 1 addition & 0 deletions src/chains/definitions/bobaSepolia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ export const bobaSepolia = /*#__PURE__*/ defineChain({
url: 'https://testnet.bobascan.com',
},
},
testnet: true,
})
21 changes: 21 additions & 0 deletions src/chains/definitions/cronoszkEVMTestnet.ts
Original file line number Diff line number Diff line change
@@ -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,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d6cc8f6

Please sign in to comment.