Skip to content

Commit

Permalink
feat: add High Performance Blockchain
Browse files Browse the repository at this point in the history
  • Loading branch information
pk-850 committed Nov 13, 2024
1 parent fd9ae52 commit b9703bf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fair-plants-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const hpb = /*#__PURE__*/ defineChain({
id: 269,
name: 'High Performance Blockchain',
nativeCurrency: { name: 'HPB', symbol: 'HPB', decimals: 18 },
rpcUrls: {
default: {
http: ['https://hpbnode.com'],
},
},
blockExplorers: {
default: {
name: 'hpbScan',
url: 'https://hscan.org',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ export { hederaTestnet } from './definitions/hederaTestnet.js'
export { hela } from './definitions/hela.js'
export { hemiSepolia } from './definitions/hemiSepolia.js'
export { holesky } from './definitions/holesky.js'
export { hpb } from './definitions/hpb.js'
export { hychain } from './definitions/hychain.js'
export { hychainTestnet } from './definitions/hychainTestnet.js'
export { idchain } from './definitions/idchain.js'
Expand Down

0 comments on commit b9703bf

Please sign in to comment.