Skip to content

Commit 5607f0b

Browse files
feat: add humanity testnet (#3837)
* Add humanity testnet * Rename humanityTestnet.TS to humanityTestnet.ts --------- Co-authored-by: jxom <[email protected]>
1 parent 1189c90 commit 5607f0b

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.changeset/silly-kings-shake.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 humanity testnet.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+
export const humanityTestnet = /*#__PURE__*/ defineChain({
4+
id: 7_080_969,
5+
name: 'Humanity Testnet',
6+
nativeCurrency: {
7+
name: 'tHP',
8+
symbol: 'tHP',
9+
decimals: 18,
10+
},
11+
rpcUrls: {
12+
default: {
13+
http: ['https://rpc.testnet.humanity.org'],
14+
},
15+
},
16+
blockExplorers: {
17+
default: {
18+
name: 'Humanity Testnet Explorer',
19+
url: 'https://humanity-testnet.explorer.alchemy.com',
20+
apiUrl: 'https://humanity-testnet.explorer.alchemy.com/api',
21+
},
22+
},
23+
testnet: true,
24+
})

src/chains/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ export { hoodi } from './definitions/hoodi.js'
242242
export { hpb } from './definitions/hpb.js'
243243
export { huddle01Mainnet } from './definitions/huddle01Mainnet.js'
244244
export { huddle01Testnet } from './definitions/huddle01Testnet.js'
245+
export { humanityTestnet } from './definitions/humanityTestnet.js'
245246
export { humanode } from './definitions/humanode.js'
246247
export { humanodeTestnet5 } from './definitions/humanodeTestnet5.js'
247248
export { hychain } from './definitions/hychain.js'

0 commit comments

Comments
 (0)