This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Horizen EON testnet (gobi) and mainnet (eon) (#433)
* Added gobi.ts and eon.ts Added Horizen EON testnet (gobi) and mainnet (eon) * Update eon.ts * Update gobi.ts * Create light-toes-relate.md --------- Co-authored-by: jxom <jakemoxey@gmail.com>
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@wagmi/chains": patch | ||
--- | ||
|
||
Added Horizen EON. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
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: { | ||
default: { name: 'EON Explorer', url: 'https://eon-explorer.horizenlabs.io' }, | ||
}, | ||
contracts: { | ||
}, | ||
} as const satisfies Chain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
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: { | ||
default: { name: 'Gobi Explorer', url: 'https://gobi-explorer.horizen.io' }, | ||
}, | ||
contracts: { | ||
}, | ||
testnet: true, | ||
} as const satisfies Chain |