diff --git a/.changelog/1259.trivial.md b/.changelog/1259.trivial.md new file mode 100644 index 000000000..bdb755376 --- /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 3ad5bd42a..0929d6588 100644 --- a/src/app/components/LayerPicker/LayerDetails.tsx +++ b/src/app/components/LayerPicker/LayerDetails.tsx @@ -24,7 +24,7 @@ import { useScreenSize } from '../../hooks/useScreensize' type LayerDetailsContent = { description: string rpcHttp: string - rpcWebSockets: string + rpcWebSockets?: string chainHexId: string chainDecimalId: string docs: string @@ -68,6 +68,13 @@ const getDetails = (t: TFunction): Details => ({ chainDecimalId: '23295', docs: docs.sapphire, }, + [Layer.pontusx]: { + description: t('layerPicker.testnet.pontusx'), + rpcHttp: 'https://pontusx.not.si:443', + chainHexId: '0x7ec8', + chainDecimalId: '32456', + docs: docs.pontusx1, + }, }, }) @@ -143,11 +150,13 @@ const RuntimeDetails: FC = props => { endpoint: details.rpcHttp, })} - - {t('layerPicker.rpcWebSockets', { - endpoint: details.rpcWebSockets, - })} - + {details.rpcWebSockets && ( + + {t('layerPicker.rpcWebSockets', { + endpoint: details.rpcWebSockets, + })} + + )} {t('layerPicker.chainId')} diff --git a/src/app/components/Search/search-utils.ts b/src/app/components/Search/search-utils.ts index 79d013ef1..752c2fc78 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 16c2178f5..b87fc4a5f 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 578133e1f..e564d2edb 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": {