Skip to content

Commit 3d14bfd

Browse files
authored
Add missing Telos Testnet and LAOS configs (#618)
1 parent af77cd7 commit 3d14bfd

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

packages/network/src/config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export const allNetworks = validateAndSortNetworks([
123123
createNetworkConfig(ChainId.BLAST),
124124
createNetworkConfig(ChainId.BLAST_SEPOLIA),
125125
createNetworkConfig(ChainId.TELOS),
126+
createNetworkConfig(ChainId.TELOS_TESTNET),
126127
createNetworkConfig(ChainId.BORNE_TESTNET),
127128
createNetworkConfig(ChainId.SKALE_NEBULA),
128129
createNetworkConfig(ChainId.SKALE_NEBULA_TESTNET),
@@ -132,5 +133,7 @@ export const allNetworks = validateAndSortNetworks([
132133
createNetworkConfig(ChainId.IMMUTABLE_ZKEVM_TESTNET),
133134
createNetworkConfig(ChainId.ROOT_NETWORK),
134135
createNetworkConfig(ChainId.ROOT_NETWORK_PORCINI),
136+
createNetworkConfig(ChainId.LAOS),
137+
createNetworkConfig(ChainId.LAOS_SIGMA_TESTNET),
135138
...hardhatNetworks
136139
])

packages/network/src/constants.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export enum ChainId {
5656

5757
// TELOS
5858
TELOS = 40,
59+
TELOS_TESTNET = 41,
5960

6061
// B3 Sepolia
6162
B3 = 8333,
@@ -766,7 +767,23 @@ export const networks: Record<ChainId, NetworkMetadata> = {
766767
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.TELOS}.webp`,
767768
blockExplorer: {
768769
name: 'Telos Explorer',
769-
rootUrl: 'https://explorer.telos.net/network/'
770+
rootUrl: 'https://www.teloscan.io/'
771+
},
772+
nativeToken: {
773+
symbol: 'TLOS',
774+
name: 'TLOS',
775+
decimals: 18
776+
}
777+
},
778+
[ChainId.TELOS_TESTNET]: {
779+
chainId: ChainId.TELOS_TESTNET,
780+
type: NetworkType.TESTNET,
781+
name: 'telos-testnet',
782+
title: 'Telos Testnet',
783+
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.TELOS_TESTNET}.webp`,
784+
blockExplorer: {
785+
name: 'Telos Testnet Explorer',
786+
rootUrl: 'https://testnet.teloscan.io/'
770787
},
771788
nativeToken: {
772789
symbol: 'TLOS',

0 commit comments

Comments
 (0)