Skip to content

Commit 38dc6a0

Browse files
Phillip-Kemperjxom
andauthored
feat: add Zircuit Testnet (#2427)
* Add Zircuit Testnet * Rm bun lockfile * Update zircuitTestnet.ts * Update index.ts --------- Co-authored-by: jxom <[email protected]>
1 parent cea8636 commit 38dc6a0

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.changeset/lazy-windows-begin.md

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 Zircuit Testnet
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+
export const zircuitTestnet = /*#__PURE__*/ defineChain({
4+
id: 48899,
5+
name: 'Zircuit Testnet',
6+
nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 },
7+
rpcUrls: {
8+
default: {
9+
http: ['https://zircuit1.p2pify.com'],
10+
},
11+
},
12+
blockExplorers: {
13+
default: {
14+
name: 'Zircuit Explorer',
15+
url: 'https://explorer.zircuit.com',
16+
},
17+
},
18+
contracts: {
19+
multicall3: {
20+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
21+
blockCreated: 6040287,
22+
},
23+
},
24+
})

src/chains/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ export { zkSyncTestnet } from './definitions/zkSyncTestnet.js'
293293
export { zora } from './definitions/zora.js'
294294
export { zoraSepolia } from './definitions/zoraSepolia.js'
295295
export { zoraTestnet } from './definitions/zoraTestnet.js'
296+
export { zircuitTestnet } from './definitions/zircuitTestnet.js'
296297

297298
//////////////////////////////////////////////////////////////////////////////////////
298299
// Required type exports to prevent TypeScript error "TS2742".

0 commit comments

Comments
 (0)