Skip to content

Commit

Permalink
feat: add Hemi Sepolia chain (#2813)
Browse files Browse the repository at this point in the history
  • Loading branch information
qi-0826 authored Oct 3, 2024
1 parent 768634e commit 3e97124
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/six-apple-bed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const hemiSepolia = /*#__PURE__*/ defineChain({
id: 743111,
name: 'Hemi Sepolia',
network: 'Hemi Sepolia',
nativeCurrency: {
name: 'Ether',
symbol: 'ETH',
decimals: 18,
},
rpcUrls: {
default: {
http: ['https://testnet.rpc.hemi.network/rpc'],
},
},
blockExplorers: {
default: {
name: 'Hemi Sepolia explorer',
url: 'https://testnet.explorer.hemi.xyz',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ export { haqqTestedge2 } from './definitions/haqqTestedge2.js'
export { hedera } from './definitions/hedera.js'
export { hederaTestnet } from './definitions/hederaTestnet.js'
export { hederaPreviewnet } from './definitions/hederaPreviewnet.js'
export { hemiSepolia } from './definitions/hemiSepolia.js'
export { holesky } from './definitions/holesky.js'
export { hychain } from './definitions/hychain.js'
export { hychainTestnet } from './definitions/hychainTestnet.js'
Expand Down

0 comments on commit 3e97124

Please sign in to comment.