From 882fe4f48a3381cd96f37abe74ff52edab2e7aa8 Mon Sep 17 00:00:00 2001 From: Kristof Csillag Date: Thu, 15 Feb 2024 12:17:29 +0100 Subject: [PATCH] Add more data about the Pontus-X ParaTime --- .changelog/1259.trivial.md | 1 + src/app/components/LayerPicker/LayerDetails.tsx | 8 ++++++++ src/app/components/Search/search-utils.ts | 9 ++++----- src/config.ts | 7 +++---- src/locales/en/translation.json | 3 ++- 5 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 .changelog/1259.trivial.md diff --git a/.changelog/1259.trivial.md b/.changelog/1259.trivial.md new file mode 100644 index 0000000000..bdb7553762 --- /dev/null +++ b/.changelog/1259.trivial.md @@ -0,0 +1 @@ +Add more data about the Pontus-X ParaTime diff --git a/src/app/components/LayerPicker/LayerDetails.tsx b/src/app/components/LayerPicker/LayerDetails.tsx index aa32f6e7fa..e411bcc084 100644 --- a/src/app/components/LayerPicker/LayerDetails.tsx +++ b/src/app/components/LayerPicker/LayerDetails.tsx @@ -68,6 +68,14 @@ const getDetails = (t: TFunction): Details => ({ chainDecimalId: '23295', docs: docs.sapphire, }, + [Layer.pontusx]: { + description: t('layerPicker.testnet.pontusx'), + rpcHttp: 'https://pontusx.not.si:443', + // rpcWebSockets: 'wss://testnet.sapphire.oasis.dev/ws', // TODO: fix this + chainHexId: '0x7ec8', + chainDecimalId: '32456', + docs: docs.pontusx1, + }, }, }) diff --git a/src/app/components/Search/search-utils.ts b/src/app/components/Search/search-utils.ts index 79d013ef17..752c2fc784 100644 --- a/src/app/components/Search/search-utils.ts +++ b/src/app/components/Search/search-utils.ts @@ -51,11 +51,10 @@ export const searchSuggestionTerms = { }, cipher: undefined, pontusx: { - // TODO: provide proper suggestions - suggestedBlock: '4260', - suggestedTransaction: '0xd9b5c08be1cb74229abedd9b3e1afb8b43228085a6abf72993db415959ab6b35', - suggestedAccount: '0xfA3AC9f65C9D75EE3978ab76c6a1105f03156204', - suggestedTokenFragment: 'USD', + suggestedBlock: '390632', + suggestedTransaction: '0x244f71bcc67a0359c0d1e417b302ec3b358193769399e71f0112c58135f0fc82', + suggestedAccount: '0xC09c6A1d5538E7ed135d6146241c8da11e92130B', + suggestedTokenFragment: 'Ocean', }, consensus: undefined, }, diff --git a/src/config.ts b/src/config.ts index 16c2178f57..b87fc4a5fd 100644 --- a/src/config.ts +++ b/src/config.ts @@ -131,11 +131,10 @@ const pontusxConfig: LayerConfig = { runtimeId: undefined, }, testnet: { - activeNodes: 8, // TODO use correct number - address: 'oasis1qqczuf3x6glkgjuf0xgtcpjjw95r3crf7y2323xd', // TODO use correct address - // See max_batch_gas https://github.com/oasisprotocol/sapphire-paratime/blob/main/runtime/src/lib.rs#L166 + activeNodes: 1, + address: 'oasis1qr02702pr8ecjuff2z3es254pw9xl6z2yg9qcc6c', blockGasLimit: 15_000_000, - runtimeId: '000000000000000000000000000000000000000000000000a6d1e3ebf60dff6c', + runtimeId: '0000000000000000000000000000000000000000000000004febe52eb412b421', tokens: [NativeToken.EUROe, NativeToken.TEST], fiatCurrency: 'eur', }, diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 578133e1fd..e564d2edb7 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -462,7 +462,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." + "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." } }, "home": {