Skip to content

Commit

Permalink
feat: add zircuit mainnet chain (#2803)
Browse files Browse the repository at this point in the history
* Add zircuit chain

* Remove yarn file

* Update fluffy-laws-chew.md

---------

Co-authored-by: jxom <[email protected]>
  • Loading branch information
kevinb1003 and jxom authored Oct 1, 2024
1 parent be02ea5 commit 08da9bd
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-laws-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added Zircuit chain.
32 changes: 32 additions & 0 deletions src/chains/definitions/zircuit.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const zircuit = /*#__PURE__*/ defineChain({
id: 48900,
name: 'Zircuit Mainnet',
nativeCurrency: {
decimals: 18,
name: 'Ether',
symbol: 'ETH',
},
rpcUrls: {
default: {
http: [
'https://zircuit1-mainnet.p2pify.com',
'https://zircuit1-mainnet.liquify.com',
'https://zircuit-mainnet.drpc.org',
],
},
},
blockExplorers: {
default: {
name: 'Zircuit Explorer',
url: 'https://explorer.zircuit.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ export {
export { zora } from './definitions/zora.js'
export { zoraSepolia } from './definitions/zoraSepolia.js'
export { zoraTestnet } from './definitions/zoraTestnet.js'
export { zircuit } from './definitions/zircuit.js'
export { zircuitTestnet } from './definitions/zircuitTestnet.js'

//////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 08da9bd

Please sign in to comment.