Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Add Horizen EON testnet (gobi) and mainnet (eon) #433

Merged
merged 4 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions packages/chains/src/eon.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { Chain } from 'wagmi'

export const eon = {
id: 7_332,
name: 'Horizen EON',
network: 'eon',
nativeCurrency: {
decimals: 18,
name: 'ZEN',
symbol: 'ZEN',
},
rpcUrls: {
public: { http: ['https://eon-rpc.horizenlabs.io/ethv1'] },
default: { http: ['https://eon-rpc.horizenlabs.io/ethv1'] },
},
blockExplorers: {
etherscan: { name: 'EON Explorer', url: 'https://eon-explorer.horizenlabs.io/' },
default: { name: 'EON Explorer', url: 'https://eon-explorer.horizenlabs.io/' },
},
contracts: {
},
} as const satisfies Chain
23 changes: 23 additions & 0 deletions packages/chains/src/gobi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { Chain } from 'wagmi'

export const gobi = {
id: 1_663,
name: 'Horizen Gobi Testnet',
network: 'gobi',
nativeCurrency: {
decimals: 18,
name: 'Test ZEN',
symbol: 'tZEN',
},
rpcUrls: {
public: { http: ['https://gobi-testnet.horizenlabs.io/ethv1'] },
default: { http: ['https://gobi-testnet.horizenlabs.io/ethv1'] },
},
blockExplorers: {
etherscan: { name: 'Gobi Explorer', url: 'https://gobi-explorer.horizen.io/' },
default: { name: 'Gobi Explorer', url: 'https://gobi-explorer.horizen.io/' },
},
contracts: {
},
testnet: true,
} as const satisfies Chain