Skip to content

Commit

Permalink
Add more data about the Pontus-X ParaTime
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Feb 21, 2024
1 parent f81de1d commit 882fe4f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
1 change: 1 addition & 0 deletions .changelog/1259.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add more data about the Pontus-X ParaTime
8 changes: 8 additions & 0 deletions src/app/components/LayerPicker/LayerDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
})

Expand Down
9 changes: 4 additions & 5 deletions src/app/components/Search/search-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
7 changes: 3 additions & 4 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down
3 changes: 2 additions & 1 deletion src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 882fe4f

Please sign in to comment.