Skip to content

Commit

Permalink
feat: added horizen testnet chain
Browse files Browse the repository at this point in the history
  • Loading branch information
kasrakhosravi committed Jan 24, 2023
1 parent 5bf8457 commit a945fc2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
24 changes: 24 additions & 0 deletions packages/chains/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,30 @@ const newChains: Chain[] = [
},
testnet: true,
},
{
id: 1661,
name: 'Horizen EON Testnet',
network: 'horizenEON',
nativeCurrency: {
name: 'ZEN',
symbol: 'ZEN',
decimals: 18,
},
rpcUrls: {
default: { http: ['https://evm-tn-m2.horizenlabs.io/ethv1'] },
},
blockExplorers: {
etherscan: {
name: 'Horizen EON explorer',
url: 'https://dune-explorer.horizen.io/',
},
default: {
name: 'Horizen EON explorer',
url: 'https://dune-explorer.horizen.io/',
},
},
testnet: true,
},
];

export const FLAIR_CHAINS: Chain[] = [
Expand Down
1 change: 1 addition & 0 deletions packages/common/src/constants/chain-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ export enum ChainId {
AURORA_BETANET = 1313161556,
METIS_MAINNET = 1088,
METIS_GOERLI = 599,
HORIZON_EON_TESTNET = 1661,
}
8 changes: 8 additions & 0 deletions packages/common/src/constants/currencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,12 @@ export const KNOWN_CRYPTO_CURRENCIES: CryptoCurrency[] = [
coinGeckoId: 'metis-token',
coinMarketCapSymbol: 'METIS',
},
{
nativeChainIds: [ChainId.HORIZON_EON_TESTNET, ChainId.HORIZON_EON_TESTNET],
symbol: 'ZEN',
name: 'ZEN',
icon: 'ZEN',
coinGeckoId: 'zencash',
coinMarketCapSymbol: 'ZEN',
},
];

0 comments on commit a945fc2

Please sign in to comment.