Skip to content

Commit

Permalink
Update chains based on latest data from chainId.network
Browse files Browse the repository at this point in the history
  • Loading branch information
rkalis committed May 8, 2023
1 parent 24c944a commit 598f743
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@revoke.cash/chains",
"version": "1.0.0",
"version": "1.1.0",
"description": "Helper module for getting EVM chains info.",
"author": "Revoke.cash",
"contributors": [
Expand Down
54 changes: 51 additions & 3 deletions src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2571,6 +2571,27 @@ export const chains: Chains = {
}
]
},
155: {
name: 'Tenet Testnet',
title: 'Tenet Testnet',
chain: 'TENET',
icon: 'tenet',
rpc: ['https://rpc.testnet.tenet.org'],
faucets: ['https://faucet.testnet.tenet.org'],
nativeCurrency: { name: 'TENET', symbol: 'TENET', decimals: 18 },
infoURL: 'https://tenet.org/',
shortName: 'tenet-testnet',
chainId: 155,
networkId: 155,
explorers: [
{
name: 'TenetScan Testnet',
url: 'https://testnet.tenetscan.io',
icon: 'tenet',
standard: 'EIP3091'
}
]
},
156: {
name: 'OEBlock Testnet',
chain: 'OEBt',
Expand Down Expand Up @@ -3661,7 +3682,7 @@ export const chains: Chains = {
explorers: [
{
name: 'Cronos Testnet Explorer',
url: 'https://testnet.cronoscan.com',
url: 'https://explorer.cronos.org/testnet',
standard: 'none'
}
]
Expand Down Expand Up @@ -3825,14 +3846,20 @@ export const chains: Chains = {
name: 'LA Testnet',
chain: 'LATestnet',
rpc: ['https://rpc.testnet.lachain.network'],
faucets: [],
faucets: ['https://faucet.lachain.network'],
nativeCurrency: { name: 'Test La Coin', symbol: 'TLA', decimals: 18 },
features: [{ name: 'EIP155' }],
infoURL: '',
shortName: 'latestnet',
chainId: 418,
networkId: 418,
explorers: []
explorers: [
{
name: 'LA Testnet Explorer',
url: 'https://testexplorer.lachain.network',
standard: 'EIP3091'
}
]
},
420: {
name: 'Optimism Goerli Testnet',
Expand Down Expand Up @@ -6439,6 +6466,27 @@ export const chains: Chains = {
}
]
},
1559: {
name: 'Tenet',
title: 'Tenet Mainnet',
chain: 'TENET',
icon: 'tenet',
rpc: ['https://rpc.tenet.org'],
faucets: [],
nativeCurrency: { name: 'TENET', symbol: 'TENET', decimals: 18 },
infoURL: 'https://tenet.org/',
shortName: 'tenet',
chainId: 1559,
networkId: 1559,
explorers: [
{
name: 'TenetScan Mainnet',
url: 'https://tenetscan.io',
icon: 'tenet',
standard: 'EIP3091'
}
]
},
1618: {
name: 'Catecoin Chain Mainnet',
chain: 'Catechain',
Expand Down
4 changes: 4 additions & 0 deletions src/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export enum ChainName {
DAXCHAIN = 'DAX CHAIN',
PHINetworkv2 = 'PHI Network v2',
SixProtocolTestnet = 'Six Protocol Testnet',
TenetTestnet = 'Tenet Testnet',
OEBlockTestnet = 'OEBlock Testnet',
ArmoniaEvaChainMainnet = 'Armonia Eva Chain Mainnet',
ArmoniaEvaChainTestnet = 'Armonia Eva Chain Testnet',
Expand Down Expand Up @@ -342,6 +343,7 @@ export enum ChainName {
SherpaxMainnet = 'Sherpax Mainnet',
SherpaxTestnet = 'Sherpax Testnet',
BeagleMessagingChain = 'Beagle Messaging Chain',
Tenet = 'Tenet',
CatecoinChainMainnet = 'Catecoin Chain Mainnet',
Atheios = 'Atheios',
Btachain = 'Btachain',
Expand Down Expand Up @@ -1019,6 +1021,7 @@ export enum ChainId {
DAXCHAIN = 142,
PHINetworkv2 = 144,
SixProtocolTestnet = 150,
TenetTestnet = 155,
OEBlockTestnet = 156,
ArmoniaEvaChainMainnet = 160,
ArmoniaEvaChainTestnet = 161,
Expand Down Expand Up @@ -1227,6 +1230,7 @@ export enum ChainId {
SherpaxMainnet = 1506,
SherpaxTestnet = 1507,
BeagleMessagingChain = 1515,
Tenet = 1559,
CatecoinChainMainnet = 1618,
Atheios = 1620,
Btachain = 1657,
Expand Down

0 comments on commit 598f743

Please sign in to comment.