diff --git a/documentation/docs/components/explorer-link.tsx b/documentation/docs/components/explorer-link.tsx new file mode 100644 index 0000000000..90f3dba33a --- /dev/null +++ b/documentation/docs/components/explorer-link.tsx @@ -0,0 +1,23 @@ +import Image from "next/image"; +import Link from "next/link"; +import explorerLogo from "../public/images/smiley.png"; + +export const Explorer = () => { + return ( + + {"Network + + ); +}; diff --git a/documentation/docs/components/footer.tsx b/documentation/docs/components/footer.tsx index 1866426d22..b7148f45eb 100644 --- a/documentation/docs/components/footer.tsx +++ b/documentation/docs/components/footer.tsx @@ -5,7 +5,7 @@ const links = [ ["Matrix", "https://matrix.to/#/#dev:nymtech.chat"], ["GitHub", "https://nymtech.net/go/github/nym"], ["Nym Wallet", "https://nymtech.net/download/wallet"], - ["Nym Explorer", "https://explorer.nymtech.net/"], + ["Nym Explorer", "https://nym.com/explorer/"], ["Nym Blog", "https://nymtech.medium.com/"], ["Twitter", "https://nymtech.net/go/x"], ["Telegram", "https://nymtech.net/go/telegram"], diff --git a/documentation/docs/components/landing-page.tsx b/documentation/docs/components/landing-page.tsx index e3f104b7bd..a3e274994a 100644 --- a/documentation/docs/components/landing-page.tsx +++ b/documentation/docs/components/landing-page.tsx @@ -6,10 +6,6 @@ import { useTheme } from "@mui/material/styles"; import Image from "next/image"; import Link from "next/link"; -// import networkDocs from "../public/images/landing/network-docs.png"; -// import developerDocs from "../public/images/landing/developer-docs.png"; -// import sdkDocs from "../public/images/landing/sdk-docs.png"; -// import operatorGuide from "../public/images/landing/operator-guide.png"; import networkDocs from "../public/images/landing/Vector1.png"; import developerDocs from "../public/images/landing/Vector2.png"; import sdkDocs from "../public/images/landing/Vector3.png"; @@ -41,13 +37,6 @@ export const LandingPage = () => { href: "/developers", icon: sdkDocs, }, - // { - // text: "SDKs", - // description: "Rust and Typescript SDK docs", - - // href: "/developers/rust", - // icon: sdkDocs, - // }, { text: "APIs", description: "Interactive API specs for Nym infrastructure", diff --git a/documentation/docs/components/matrix-link.tsx b/documentation/docs/components/matrix-link.tsx index 754857688a..6d28e8837f 100644 --- a/documentation/docs/components/matrix-link.tsx +++ b/documentation/docs/components/matrix-link.tsx @@ -1,7 +1,7 @@ -import { Box } from "@mui/material"; import Image from "next/image"; import Link from "next/link"; import matrixLogo from "../public/images/matrix-logo.png"; + export const Matrix = () => { return ( { target="_blank" rel="noopener noreferrer" > - {"Matrix + {"Matrix ); }; diff --git a/documentation/docs/pages/apis/explorer-api.mdx b/documentation/docs/pages/apis/explorer-api.mdx index 2dbb4f30ba..77cd141ddc 100644 --- a/documentation/docs/pages/apis/explorer-api.mdx +++ b/documentation/docs/pages/apis/explorer-api.mdx @@ -1,7 +1,7 @@ # Explorer API -The Explorer API is the backend for the [Mixnet Explorer](https://explorer.nymtech.net/). +The Explorer API is the backend for the [Mixnet Explorer](https://nym.com/explorer). **This will soon be deprecated in favour of the [Node Status API](ns-api.mdx).** diff --git a/documentation/docs/pages/developers/clients/socks5/setup.mdx b/documentation/docs/pages/developers/clients/socks5/setup.mdx index 43f9c86171..59e46c2c19 100644 --- a/documentation/docs/pages/developers/clients/socks5/setup.mdx +++ b/documentation/docs/pages/developers/clients/socks5/setup.mdx @@ -30,7 +30,7 @@ The `--id` in the example above is a local identifier so that you can name your The `--use-reply-surbs` field denotes whether you wish to send [SURBs](../../network/concepts/anonymous-replies) along with your request. It defaults to `false`, we are explicitly setting it as `true`. It defaults to `false` for compatibility with versions of the pre-smoosh `nym-network-requester` binary which will soon be deprecated. -The `--provider` field needs to be filled with the Nym address of an Exit Gateway that can make network requests on your behalf. You can select one from the [mixnet explorer](https://explorer.nymtech.net/network-components/gateways) by copying its `Client ID` and using this as the value of the `--provider` flag. Alternatively, you could use [Harbourmaster](https://harbourmaster.nymtech.net/). +The `--provider` field needs to be filled with the Nym address of an Exit Gateway that can make network requests on your behalf. You can select one from the [mixnet explorer](https://nym.com/explorer) by copying its `Client ID` and using this as the value of the `--provider` flag. Alternatively, you could use [Harbourmaster](https://harbourmaster.nymtech.net/). ## Choosing a Gateway By default - as in the example above - your client will choose a random gateway to connect to. @@ -42,6 +42,6 @@ However, there are several options for choosing a gateway, if you do not want on * send few ping messages to all of them, and measure response times. * create a weighted distribution to randomly choose one, favouring ones with lower latency. -You can select one from the [mixnet explorer](https://explorer.nymtech.net/network-components/gateways) by copying its `Client ID` and using this as the value of the `--provider` flag. Alternatively, you could use [Harbourmaster](https://harbourmaster.nymtech.net/). +You can select one from the [mixnet explorer](https://nym.com/explorer) by copying its `Client ID` and using this as the value of the `--provider` flag. Alternatively, you could use [Harbourmaster](https://harbourmaster.nymtech.net/). > Note this doesn't mean that your client will pick the closest gateway to you, but it will be far more likely to connect to gateway with a 20ms ping rather than 200ms diff --git a/documentation/docs/pages/developers/clients/websocket/setup.md b/documentation/docs/pages/developers/clients/websocket/setup.md index 5c06faa69c..1cf0606626 100644 --- a/documentation/docs/pages/developers/clients/websocket/setup.md +++ b/documentation/docs/pages/developers/clients/websocket/setup.md @@ -31,7 +31,7 @@ Initialising a new client instance can be done with the following command: The `--id` in the example above is a local identifier so that you can name your clients; it is **never** transmitted over the network. -There is an optional `--gateway` flag that you can use if you want to use a specific gateway. The supplied argument is the `Identity Key` of the gateway you wish to use, which can be found on the [mixnet explorer](https://explorer.nymtech.net/network-components/gateways). Alternatively, you could use [Harbourmaster](https://harbourmaster.nymtech.net/) +There is an optional `--gateway` flag that you can use if you want to use a specific gateway. The supplied argument is the `Identity Key` of the gateway you wish to use, which can be found on the [mixnet explorer](https://nym.com/explorer). Alternatively, you could use [Harbourmaster](https://harbourmaster.nymtech.net/) Not passing this argument will randomly select a gateway for your client. diff --git a/documentation/docs/pages/developers/typescript/FAQ.mdx b/documentation/docs/pages/developers/typescript/FAQ.mdx index 22696a5e5b..5998a1e0a8 100644 --- a/documentation/docs/pages/developers/typescript/FAQ.mdx +++ b/documentation/docs/pages/developers/typescript/FAQ.mdx @@ -19,4 +19,4 @@ To illustrate this: `DpB3cHAchJiNBQi5FrZx2csXb1mrHkpYh9Wzf8Rjsuko.ANNWrvHqMYuert - `DpB3cHAchJiNBQi5FrZx2csXb1mrHkpYh9Wzf8Rjsuko`: is the client's identity key; - `ANNWrvHqMYuertHGHUrZdBntQhpzfbWekB39qez9U2Vx`: is the client's Diffie Hellman key; -- `2BuMSfMW3zpeAjKXyKLhmY4QW1DXurrtSPEJ6CjX3SEh`: is the gateway's identity, which is what you'll need to check the state of the gateway in the [Nym Explorer](https://explorer.nymtech.net/network-components/gateways). +- `2BuMSfMW3zpeAjKXyKLhmY4QW1DXurrtSPEJ6CjX3SEh`: is the gateway's identity, which is what you'll need to check the state of the gateway in the [Nym Explorer](https://nym.com/explorer). diff --git a/documentation/docs/pages/operators/faq/general-faq.mdx b/documentation/docs/pages/operators/faq/general-faq.mdx index a95a8b7496..400c9c0a56 100644 --- a/documentation/docs/pages/operators/faq/general-faq.mdx +++ b/documentation/docs/pages/operators/faq/general-faq.mdx @@ -10,7 +10,7 @@ Yes, there are.. **Built by Nym** -* [Nym Explorer](https://explorer.nymtech.net/) +* [Nym Explorer](https://nym.com/explorer) * [Sandbox testnet](https://sandbox-explorer.nymtech.net/) * [Nym Harbourmaster](https://harbourmaster.nymtech.net) diff --git a/documentation/docs/pages/operators/nodes/nym-node/configuration/proxy-configuration.mdx b/documentation/docs/pages/operators/nodes/nym-node/configuration/proxy-configuration.mdx index b4ec5ac88a..7a5d89575d 100644 --- a/documentation/docs/pages/operators/nodes/nym-node/configuration/proxy-configuration.mdx +++ b/documentation/docs/pages/operators/nodes/nym-node/configuration/proxy-configuration.mdx @@ -259,7 +259,7 @@ That can be done only on an IP+destination port basis, however. Common P2P ports

You also have the option of blocking this IP address and others on the Nym network if you so desire. - The Nym project provides a + The Nym project provides a web service to fetch a list of all IP addresses of Nym Gateway Exit nodes that allow exiting to a specified IP:port combination. Please be considerate when using these options.

diff --git a/documentation/docs/pages/operators/nodes/performance-and-testing/gateway-probe.mdx b/documentation/docs/pages/operators/nodes/performance-and-testing/gateway-probe.mdx index 22642fe083..d5a3c6fe53 100644 --- a/documentation/docs/pages/operators/nodes/performance-and-testing/gateway-probe.mdx +++ b/documentation/docs/pages/operators/nodes/performance-and-testing/gateway-probe.mdx @@ -3,7 +3,7 @@ Nym Node operators running Gateway functionality are already familiar with the monitoring tool [Harbourmaster.nymtech.net](https://harbourmaster.nymtech.net). Under the hood of Nym Harbourmaster runs iterations of `nym-gateway-probe` doing various checks and displaying the results on the interface. Operators don't have to rely on the probe ran by Nym and wait for the data to refresh. With `nym-gateway-probe` everyone can check any Gateway's networking status from their own computer at any time. In one command the client queries data from: - [`nym-api`](https://validator.nymtech.net/api/v1/gateways) -- [`explorer-api`](https://explorer.nymtech.net/api/v1/gateways) +- [`explorer-api`](https://mainnet-node-status-api.nymtech.cc/swagger/#/Gateways) - [`harbour-master`](https://harbourmaster.nymtech.net/) @@ -88,4 +88,3 @@ For any `nym-node --mode exit-gateway` the aim is to have this outcome: **If your Gateway is blacklisted, the probe will not work.** If you don't provide a `--gateway` flag it will pick a random one to test. - diff --git a/documentation/docs/pages/operators/tokenomics/mixnet-rewards.mdx b/documentation/docs/pages/operators/tokenomics/mixnet-rewards.mdx index ea5cab1beb..7f76d40e98 100644 --- a/documentation/docs/pages/operators/tokenomics/mixnet-rewards.mdx +++ b/documentation/docs/pages/operators/tokenomics/mixnet-rewards.mdx @@ -360,7 +360,7 @@ $1 \ NYM = 1 \_ 000 \_ 000 \ uNYM$ The Reward Estimation API endpoint allows Mix Node operators to estimate the rewards they could earn for running a Nym Mix Node with a specific `MIX_ID`. -> The `` can be found in the "Mix ID" column of the [Network Explorer](https://explorer.nymtech.net/network-components/mixnodes/active). +> The `` can be found in the "Mix ID" column of the [Network Explorer](https://nym.com/explorer). The endpoint is a particularly common for Mix Node operators as it can provide an estimate of potential earnings based on factors such as the amount of traffic routed through the Mix Node, the quality of the Mix Node's performance, and the overall demand for Mix Nodes in the network. This information can be useful for Mix Node operators in deciding whether or not to run a Mix Node and in optimizing its operations for maximum profitability. diff --git a/documentation/docs/pages/operators/troubleshooting/nodes.mdx b/documentation/docs/pages/operators/troubleshooting/nodes.mdx index c8e5d06b25..64c09e4a6c 100644 --- a/documentation/docs/pages/operators/troubleshooting/nodes.mdx +++ b/documentation/docs/pages/operators/troubleshooting/nodes.mdx @@ -73,7 +73,7 @@ The directory structure for each node will be roughly as follows: ``` -If you `cat` the `public_sphinx.pem` key, the output will be different from the public key you will see on Nym [dashboard](https://explorer.nymtech.net/). The reason for this is that `.pem` files are encoded in **base64**, however on the web they are in **base58**. Don't be confused if your keys look different. They are the same keys, just with different encoding. +If you `cat` the `public_sphinx.pem` key, the output will be different from the public key you will see on Nym [dashboard](https://nym.com/explorer). The reason for this is that `.pem` files are encoded in **base64**, however on the web they are in **base58**. Don't be confused if your keys look different. They are the same keys, just with different encoding. ### Accidentally killing your node process on exiting session @@ -101,7 +101,7 @@ You don't have to do any additional configuration for your node to implement thi ### How can I tell my node is up and running and mixing traffic? First of all check the 'Mixnodes' section of either of the Nym Network Explorers: -* [Mainnet](https://explorer.nymtech.net/) +* [Mainnet](https://nym.com/explorer) * [Sandbox testnet](https://sandbox-explorer.nymtech.net/) You can also check [Nym Harbourmaster](https://harbourmaster.nymtech.net) which now also includes mixnode mode. diff --git a/documentation/docs/public/images/smiley.png b/documentation/docs/public/images/smiley.png new file mode 100644 index 0000000000..57a1301867 Binary files /dev/null and b/documentation/docs/public/images/smiley.png differ diff --git a/documentation/docs/theme.config.tsx b/documentation/docs/theme.config.tsx index e0bb456e64..19bc1049ab 100644 --- a/documentation/docs/theme.config.tsx +++ b/documentation/docs/theme.config.tsx @@ -1,7 +1,8 @@ import React from "react"; import { DocsThemeConfig, useConfig } from "nextra-theme-docs"; -import { Footer } from "./components/footer"; +// import { Footer } from "./components/footer"; import { Matrix } from "./components/matrix-link"; +import { Explorer } from "./components/explorer-link"; import { useRouter } from "next/router"; const config: DocsThemeConfig = { @@ -66,9 +67,9 @@ const config: DocsThemeConfig = { }, docsRepositoryBase: "https://github.com/nymtech/nym/tree/develop/documentation/docs/", - footer: { - text: Footer, - }, + // footer: { + // text: Footer, + // }, darkMode: true, nextThemes: { defaultTheme: "dark", @@ -77,8 +78,14 @@ const config: DocsThemeConfig = { defaultMenuCollapseLevel: 1, autoCollapse: true, }, + navbar: { - extraContent: , + extraContent: ( + <> + + + + ), }, toc: { float: false,