diff --git a/src/app/components/LayerPicker/LayerDetails.tsx b/src/app/components/LayerPicker/LayerDetails.tsx index 8bd7d91567..2a39206bcc 100644 --- a/src/app/components/LayerPicker/LayerDetails.tsx +++ b/src/app/components/LayerPicker/LayerDetails.tsx @@ -68,13 +68,20 @@ const getDetails = (t: TFunction): Details => ({ chainDecimalId: '23295', docs: docs.sapphire, }, - [Layer.pontusx]: { - description: t('layerPicker.testnet.pontusx'), + [Layer.pontusxdev]: { + description: t('layerPicker.testnet.pontusxdev'), rpcHttp: 'https://pontusx.not.si:443', chainHexId: '0x7ec8', chainDecimalId: '32456', docs: docs.pontusx1, }, + [Layer.pontusx]: { + description: t('layerPicker.testnet.pontusxtest'), + rpcHttp: 'https://pontusx.not.si:443', + chainHexId: '0x7ec9', + chainDecimalId: '32457', + docs: docs.pontusx1, + }, }, }) diff --git a/src/app/pages/ParatimeDashboardPage/LearningMaterials.tsx b/src/app/pages/ParatimeDashboardPage/LearningMaterials.tsx index 15aea92d0b..aa04be45f0 100644 --- a/src/app/pages/ParatimeDashboardPage/LearningMaterials.tsx +++ b/src/app/pages/ParatimeDashboardPage/LearningMaterials.tsx @@ -103,35 +103,35 @@ const getContent = (t: TFunction) => { [Layer.cipher]: undefined, [Layer.pontusxdev]: { primary: { - description: t('learningMaterials.pontusx.1.description'), - header: t('learningMaterials.pontusx.1.header'), + description: t('learningMaterials.pontusxdevnet.1.description'), + header: t('learningMaterials.pontusxdevnet.1.header'), url: docs.pontusx1, }, secondary: { - description: t('learningMaterials.pontusx.2.description'), - header: t('learningMaterials.pontusx.2.header'), + description: t('learningMaterials.pontusxdevnet.2.description'), + header: t('learningMaterials.pontusxdevnet.2.header'), url: docs.pontusx2, }, tertiary: { - description: t('learningMaterials.pontusx.2.description'), - header: t('learningMaterials.pontusx.3.header'), + description: t('learningMaterials.pontusxdevnet.3.description'), + header: t('learningMaterials.pontusxdevnet.3.header'), url: docs.pontusx3, }, }, [Layer.pontusx]: { primary: { - description: t('learningMaterials.pontusx.1.description'), - header: t('learningMaterials.pontusx.1.header'), + description: t('learningMaterials.pontusxtestnet.1.description'), + header: t('learningMaterials.pontusxtestnet.1.header'), url: docs.pontusx1, }, secondary: { - description: t('learningMaterials.pontusx.2.description'), - header: t('learningMaterials.pontusx.2.header'), + description: t('learningMaterials.pontusxtestnet.2.description'), + header: t('learningMaterials.pontusxtestnet.2.header'), url: docs.pontusx2, }, tertiary: { - description: t('learningMaterials.pontusx.2.description'), - header: t('learningMaterials.pontusx.3.header'), + description: t('learningMaterials.pontusxtestnet.3.description'), + header: t('learningMaterials.pontusxtestnet.3.header'), url: docs.pontusx3, }, }, diff --git a/src/app/utils/content.tsx b/src/app/utils/content.tsx index e000a0bd4c..bd7c3f0265 100644 --- a/src/app/utils/content.tsx +++ b/src/app/utils/content.tsx @@ -9,8 +9,8 @@ export const getLayerLabels = (t: TFunction): Record => ({ [Layer.emerald]: t('common.emerald'), [Layer.sapphire]: t('common.sapphire'), [Layer.cipher]: t('common.cipher'), - [Layer.pontusxdev]: t('common.pontusx'), // TODO - [Layer.pontusx]: t('common.pontusx'), // TODO + [Layer.pontusxdev]: t('pontusx.devnet'), + [Layer.pontusx]: t('pontusx.testnet'), [Layer.consensus]: t('common.consensus'), }) diff --git a/src/config.ts b/src/config.ts index 4d24d3e0a5..bb3d1df9a2 100644 --- a/src/config.ts +++ b/src/config.ts @@ -123,7 +123,7 @@ const pontusxDevConfig: LayerConfig = { tokens: [NativeToken.EUROe], }, testnet: { - activeNodes: 1, + activeNodes: 3, address: 'oasis1qr02702pr8ecjuff2z3es254pw9xl6z2yg9qcc6c', blockGasLimit: 15_000_000, runtimeId: '0000000000000000000000000000000000000000000000004febe52eb412b421', @@ -144,9 +144,9 @@ const pontusxTestConfig: LayerConfig = { }, testnet: { activeNodes: 1, - address: 'oasis1qr02702pr8ecjuff2z3es254pw9xl6z2yg9qcc6c', + address: 'oasis1qr02702pr8ecjuff2z3es254pw9xl6z2yg9qcc6c', // TODO blockGasLimit: 15_000_000, - runtimeId: '0000000000000000000000000000000000000000000000004febe52eb412b421', + runtimeId: '00000000000000000000000000000000000000000000000004a6f9071c007069', tokens: [NativeToken.EUROe, NativeToken.TEST], fiatCurrency: 'eur', }, diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 14ee0d8870..f9f2f4e2ac 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -106,7 +106,6 @@ "paratime": "Paratime", "parentheses": "({{subject}})", "percentage": "Percentage", - "pontusx": "Pontus-X", "proposal": "Proposal", "proposer": "Proposer", "rank": "Rank", @@ -295,7 +294,21 @@ "header": "Add the {{ layer }} Testnet to Hardhat", "description": "Open up your hardhat.config.ts and drop in these lines." }, - "pontusx": { + "pontusxdevnet": { + "1": { + "header": "What is the Pontus-X Network?", + "description": "The Pontus-X Network is our official confidential EVM Compatible ParaTime offering a smart contract development environment that is compatible with the Ethereum Virtual Machine (EVM) focused on building a Federated Data Economy." + }, + "2": { + "header": "Devnet Parameters", + "description": "The Devnet for Pontus-X may undergo frequent version upgrades." + }, + "3": { + "header": "Adding the Pontus-X Devnet to Hardhat", + "description": "To integrate with Pontus-X devnet, open your hardhat.config.ts file and insert the following configurations." + } + }, + "pontusxtestnet": { "1": { "header": "What is the Pontus-X Network?", "description": "The Pontus-X Network is our official confidential EVM Compatible ParaTime offering a smart contract development environment that is compatible with the Ethereum Virtual Machine (EVM) focused on building a Federated Data Economy." @@ -306,7 +319,7 @@ }, "3": { "header": "Adding the Pontus-X Testnet to Hardhat", - "description": "To integrate with Pontus-X, open your hardhat.config.ts file and insert the following configurations." + "description": "To integrate with Pontus-X testnet, open your hardhat.config.ts file and insert the following configurations." } }, "token": { @@ -516,7 +529,8 @@ "testnet": { "emerald": "The Testnet of the EVM Compatible ParaTime providing a smart contract development environment.", "sapphire": "The Testnet of the official confidential EVM Compatible ParaTime providing a smart contract development environment with EVM compatibility.", - "pontusx": "The Testnet of the official confidential EVM Compatible ParaTime offering a smart contract development environment that is compatible with the Ethereum Virtual Machine (EVM) focused on building a Federated Data Economy." + "pontusxdev": "The Devnet of the official confidential EVM Compatible ParaTime offering a smart contract development environment that is compatible with the Ethereum Virtual Machine (EVM) focused on building a Federated Data Economy.", + "pontusxtest": "The Testnet of the official confidential EVM Compatible ParaTime offering a smart contract development environment that is compatible with the Ethereum Virtual Machine (EVM) focused on building a Federated Data Economy." } }, "home": { @@ -564,6 +578,10 @@ "online": "Online", "outdated": "Out-of-date" }, + "pontusx": { + "devnet": "Pontus-X devnet", + "testnet": "Pontus-X testnet" + }, "search": { "placeholder": "Address, Block, Contract, Transaction hash, Token name, etc.", "error": {