From d2d28fd55ddd5faeb1ceed45499d0300f71ba745 Mon Sep 17 00:00:00 2001 From: beruf Date: Wed, 25 Sep 2024 14:01:47 +0200 Subject: [PATCH] docs: change networks to table --- docs/browser.md | 2 +- docs/network.mdx | 36 ++++++++---------------------------- 2 files changed, 9 insertions(+), 29 deletions(-) diff --git a/docs/browser.md b/docs/browser.md index e36d6b8e..a0ec76e1 100644 --- a/docs/browser.md +++ b/docs/browser.md @@ -213,7 +213,7 @@ we recommend that you check out the official [Oasis starter] files. [Hardhat tutorial]: https://hardhat.org/tutorial [line 66]: https://github.com/NomicFoundation/hardhat-boilerplate/blob/13bd712c1285b2de572f14d20e6a750ae08565c0/contracts/Token.sol#L66 [quickstart]: quickstart.mdx#add-the-sapphire-testnet-to-hardhat -[sapphire-testnet]: ./network.mdx#testnet +[sapphire-testnet]: ./network.mdx#rpc-endpoints [Sapphire ParaTime examples]: https://github.com/oasisprotocol/sapphire-paratime/tree/main/examples/hardhat-boilerplate [social-media]: https://github.com/oasisprotocol/docs/blob/main/docs/get-involved/README.md#social-media-channels [pnpm]: https://pnpm.io diff --git a/docs/network.mdx b/docs/network.mdx index 6475d2e5..78b132db 100644 --- a/docs/network.mdx +++ b/docs/network.mdx @@ -1,42 +1,22 @@ --- -id: network -title: Network Information -description: Detailed information about chains, RPCs, block explorer and indexer -sidebar_label: Network +description: Detailed information for Sapphire about chains, RPCs, block explorers and indexers --- import {AddSapphireToMetaMask as S, AddSapphireTestnetToMetaMask as ST} from '@site/src/AddToMetaMask'; # Network information -### Mainnet +## Networks -- Network name: `sapphire` -- Long network name: `Oasis Sapphire` -- Chain ID: - - Hex: `0x5afe` - - Decimal: `23294` +| | Mainnet | Testnet | Localnet | +| ------------------| ----------------------------------- | ----------------------------------- | ------------------------------------------ | +| Network name | `sapphire` | `sapphire-testnet` | `sapphire-localnet` | +| Long network name | `Oasis Sapphire` | `Oasis Sapphire Testnet` | `Oasis Sapphire Localnet` | +| Chain ID | Hex:`0x5afe`
Decimal: `23294` | Hex:`0x5aff`
Decimal: `23295` | Hex:`0x5afd`
Decimal: `23293` | +| Tools | | [Testing token Faucet][faucet] | [Local development Docker image][localnet] | -### Testnet - -- Network name: `sapphire-testnet` -- Long network name: `Oasis Sapphire Testnet` -- Chain ID: - - Hex: `0x5aff` - - Decimal: `23295` -- Testing token [Faucet][faucet] [faucet]: https://faucet.testnet.oasis.io/ - -### Localnet - -- Network name: `sapphire-localnet` -- Long network name: `Localnet` -- Chain ID: - - Hex: `0x5afd` - - Decimal: `23293` -- Local development Docker [image][localnet] - [localnet]: https://github.com/oasisprotocol/oasis-web3-gateway/tree/main/docker ## RPC Endpoints