Skip to content

Commit

Permalink
Add new legacy holesky network
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrotkk committed Mar 26, 2024
1 parent e0393a4 commit fa88961
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 23 deletions.
6 changes: 3 additions & 3 deletions src/core/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ export const HTTPS_PREFIX = 'https://'
export const MAINNET_EXPLORER_URLS: { [skaleNetwork: string]: string } = {
mainnet: 'https://etherscan.io',
staging: 'https://goerli.etherscan.io/',
legacy: 'https://goerli.etherscan.io/',
legacy: 'https://holesky.etherscan.io/',
regression: 'https://goerli.etherscan.io/',
testnet: 'https://holesky.etherscan.io/'
}

export const BASE_EXPLORER_URLS: { [skaleNetwork: string]: string } = {
mainnet: 'explorer.mainnet.skalenodes.com',
staging: 'explorer.staging-v3.skalenodes.com',
legacy: 'legacy-explorer.skalenodes.com',
legacy: 'legacy-explorer.skaleserver.com',
regression: 'regression-explorer.skalenodes.com',
testnet: 'explorer.testnet.skalenodes.com'
}

export const MAINNET_WS_ENDPOINTS: { [skaleNetwork: string]: string } = {
mainnet: 'wss://ethereum.publicnode.com',
staging: 'wss://ethereum-goerli.publicnode.com',
legacy: 'wss://ethereum-goerli.publicnode.com',
legacy: 'wss://ethereum-holesky.publicnode.com',
regression: 'wss://ethereum-goerli.publicnode.com',
testnet: 'wss://ethereum-holesky.publicnode.com'
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const PROTOCOL: { [protocol in 'http' | 'ws']: string } = {

export const CHAIN_IDS: { [network in SkaleNetwork]: number } = {
staging: 5,
legacy: 5,
legacy: 17000,
regression: 5,
mainnet: 1,
testnet: 17000
Expand Down
16 changes: 8 additions & 8 deletions src/metadata/addresses/legacy.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"message_proxy_mainnet_address": "0x1aB061B92CF11Cb7E1dc66Ef397a8A86707398a8",
"linker_address": "0x71b9CeE11de5A0CD1c23c79761bd228D37f68B7f",
"community_pool_address": "0xf0d861f90707Fc348d3f55ac54DF51993191e146",
"deposit_box_eth_address": "0x4F945E1E36CB921acd25C25467C516B2aD830A26",
"deposit_box_erc20_address": "0x05F9264A0639419f3A1ED21de910EC1D7B7868ba",
"deposit_box_erc721_address": "0x44c39c783E2ba0B981A0a0e5beCE5a12661d11C8",
"deposit_box_erc1155_address": "0x4EC8e29627e233da710F257b537D0F53740CDB3E",
"deposit_box_erc721_with_metadata_address": "0x2dC54a15E06b9cBcE94d26C9753cc15aE3192b9C"
"message_proxy_mainnet_address": "0x0F38cD94a864329A67e4dc74F34153d048098e6F",
"linker_address": "0x91a0B2B94763D9d8891079cA59E857CDF789E7f0",
"community_pool_address": "0x4988B1B5CC4c370B096C3C1117B1A95f1103f3fa",
"deposit_box_eth_address": "0x9C3585942d9b1e794461468C88459C36dE703504",
"deposit_box_erc20_address": "0x8EB43abF4b359FF09e2b92a5671d8A5000E515e8",
"deposit_box_erc721_address": "0xAc70e8a4b4E7BFd24270C0A4e0AF249cB39079fa",
"deposit_box_erc1155_address": "0x9C3D36481b612DB7565Ce2F78Fa5c233E8A77255",
"deposit_box_erc721_with_metadata_address": "0xD3DCC92525955C801D08c30aCc96E4ef39713A4A"
}
11 changes: 1 addition & 10 deletions src/metadata/faucet.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,7 @@
"func": "0x0c11dedd"
}
},
"legacy": {
"skale-innocent-nasty": {
"address": "0xC0ED18Fe6654C8211582671E28E75d73BF61A60f",
"func": "0x0c11dedd"
},
"international-villainous-zaurak": {
"address": "0x8bcA6a0E1427dBc2C2F40134d805d5929B80f56E",
"func": "0x0c11dedd"
}
},
"legacy": null,
"regression": null,
"testnet": {
"juicy-low-small-testnet": {
Expand Down
2 changes: 1 addition & 1 deletion src/metadata/proxy.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"mainnet": "mainnet.skalenodes.com",
"staging": "staging-v3.skalenodes.com",
"legacy": "legacy-proxy.skalenodes.com",
"legacy": "legacy-proxy.skaleserver.com",
"regression": "regression-proxy.skalenodes.com",
"qatestnet": "new-testnet-proxy.skalenodes.com",
"testnet": "testnet.skalenodes.com"
Expand Down

0 comments on commit fa88961

Please sign in to comment.