Skip to content

Commit 97cec97

Browse files
authored
feat: add Henesys network (#4137)
Add Henesys explorer Co-authored-by: akitothemoon <akitothemoon@users.noreply.github.com>
1 parent cf7bcc8 commit 97cec97

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

.changeset/shy-geckos-tan.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 Henesys network.

src/chains/definitions/henesys.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+
export const henesys = /*#__PURE__*/ defineChain({
4+
id: 68414,
5+
name: 'Henesys',
6+
nativeCurrency: { name: 'NEXPACE', symbol: 'NXPC', decimals: 18 },
7+
rpcUrls: {
8+
default: {
9+
http: ['https://henesys-rpc.msu.io'],
10+
},
11+
},
12+
blockExplorers: {
13+
default: {
14+
name: 'Avalanche Explorer',
15+
url: 'https://subnets.avax.network/henesys',
16+
},
17+
},
18+
})

src/chains/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ export { hela } from './definitions/hela.js'
259259
export { heliosTestnet } from './definitions/heliosTestnet.js'
260260
export { hemi } from './definitions/hemi.js'
261261
export { hemiSepolia } from './definitions/hemiSepolia.js'
262+
export { henesys } from './definitions/henesys.js'
262263
export { holesky } from './definitions/holesky.js'
263264
export { hoodi } from './definitions/hoodi.js'
264265
export { hpb } from './definitions/hpb.js'

0 commit comments

Comments
 (0)