Skip to content

Commit

Permalink
feat: add zkLink Nava Sepolia Testnet chain (#2478)
Browse files Browse the repository at this point in the history
* feat: add zkLink Nava Sepolia Testnet chain

* Update index.ts

* Update six-ravens-relax.md

---------

Co-authored-by: tinystone <jinshi.tinystone@gmail.com>
Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
3 people committed Jul 6, 2024
1 parent 741b83a commit 795ca46
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/six-ravens-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added zkLink Nova Sepolia Testnet chain.
20 changes: 20 additions & 0 deletions src/chains/definitions/zkLinkNovaSepoliaTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const zkLinkNovaSepoliaTestnet = /*#__PURE__*/ defineChain({
id: 810181,
name: 'zkLink Nova Sepolia Testnet',
nativeCurrency: {
decimals: 18,
name: 'ETH',
symbol: 'ETH',
},
rpcUrls: {
default: { http: ['https://sepolia.rpc.zklink.io'] },
},
blockExplorers: {
default: {
name: 'zkLink Nova Block Explorer',
url: 'https://sepolia.explorer.zklink.io',
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ export { zilliqaTestnet } from './definitions/zilliqaTestnet.js'
export { zkFair } from './definitions/zkFair.js'
export { zkFairTestnet } from './definitions/zkFairTestnet.js'
export { zkLinkNova } from './definitions/zkLinkNova.js'
export { zkLinkNovaSepoliaTestnet } from './definitions/zkLinkNovaSepoliaTestnet.js'
export { zkSync } from './definitions/zkSync.js'
export { zkSyncInMemoryNode } from './definitions/zkSyncInMemoryNode.js'
export { zkSyncLocalNode } from './definitions/zkSyncLocalNode.js'
Expand Down

0 comments on commit 795ca46

Please sign in to comment.