Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new legacy holesky network #256

Merged
merged 3 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Metaport/Metaport.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Meta, StoryObj } from '@storybook/react'
import Metaport from './Metaport'

import { METAPORT_CONFIG } from '../../metadata/metaportConfigStaging'
import { METAPORT_CONFIG } from '../../metadata/metaportConfigTestnet'
METAPORT_CONFIG.mainnetEndpoint = import.meta.env.VITE_MAINNET_ENDPOINT
METAPORT_CONFIG.projectId = import.meta.env.VITE_WC_PROJECT_ID

Expand Down
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"
}
12 changes: 8 additions & 4 deletions src/metadata/faucet.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,16 @@
}
},
"legacy": {
"skale-innocent-nasty": {
"address": "0xC0ED18Fe6654C8211582671E28E75d73BF61A60f",
"adorable-quaint-bellatrix": {
"address": "0x94977628d2EeDa78E2A56Abe178F432c46E13a6b",
"func": "0x0c11dedd"
},
"international-villainous-zaurak": {
"address": "0x8bcA6a0E1427dBc2C2F40134d805d5929B80f56E",
"these-long-sadalsuud": {
"address": "0xA6dd0D8d8d7cf599AEAE97316b5Fba2E6a56a99E",
"func": "0x0c11dedd"
},
"spanish-smug-auva": {
"address": "0xa101902B3119f4830292bb79ebAB56967229207B",
"func": "0x0c11dedd"
}
},
Expand Down
Loading
Loading