Skip to content

Commit

Permalink
feat: add HashKey Chain (#3311)
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-jdj authored Feb 6, 2025
1 parent 253b107 commit 149d406
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tricky-moles-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const hashkey = /*#__PURE__*/ defineChain({
id: 177,
name: 'HashKey Chain',
nativeCurrency: {
decimals: 18,
name: 'HashKey EcoPoints',
symbol: 'HSK',
},
rpcUrls: {
default: {
http: ['https://mainnet.hsk.xyz'],
},
},
blockExplorers: {
default: {
name: 'HashKey Chain Explorer',
url: 'https://hashkey.blockscout.com',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 0,
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export { haqqMainnet } from './definitions/haqqMainnet.js'
export { haqqTestedge2 } from './definitions/haqqTestedge2.js'
export { hardhat } from './definitions/hardhat.js'
export { harmonyOne } from './definitions/harmonyOne.js'
export { hashkey } from './definitions/hashKeyChain.js'
export { hashkeyTestnet } from './definitions/hashkeyChainTestnet.js'
export { hedera } from './definitions/hedera.js'
export { hederaPreviewnet } from './definitions/hederaPreviewnet.js'
Expand Down

0 comments on commit 149d406

Please sign in to comment.