From bd46c39d1be09d400507a56de7d2f8b32dec1c42 Mon Sep 17 00:00:00 2001 From: thomas-senechal Date: Fri, 20 Dec 2024 16:46:43 +0100 Subject: [PATCH] Update documentation to reflect deweb beta release on mainnet --- docs/deweb/home.mdx | 3 --- docs/deweb/local-server-config/server-config.mdx | 12 ++++++------ docs/deweb/provider/setup-public-instance.mdx | 2 +- docs/deweb/upload/mns.mdx | 8 ++++---- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/docs/deweb/home.mdx b/docs/deweb/home.mdx index adfbe1d9e..996d29887 100644 --- a/docs/deweb/home.mdx +++ b/docs/deweb/home.mdx @@ -76,9 +76,6 @@ Here is a list of available providers: Developers can upload their websites to the Massa blockchain using the [DeWeb upload CLI](./cli/overview.mdx). :::info Work in Progress -DeWeb is still in development and should be used with caution. For now it is only available on Massa Buildnet for testing purposes. -This means that your wallet needs to be setup to use the Buildnet, including the Buildnet version of Massa Name System which is independent from the Mainnet one. - If you encounter any issues or have suggestions, please let us know through our [issue tracker](https://github.com/massalabs/DeWeb/issues). ::: diff --git a/docs/deweb/local-server-config/server-config.mdx b/docs/deweb/local-server-config/server-config.mdx index c3833be2b..fd483d7e3 100644 --- a/docs/deweb/local-server-config/server-config.mdx +++ b/docs/deweb/local-server-config/server-config.mdx @@ -11,7 +11,7 @@ and store it alongside the server binary. Below is an example configuration file ```yaml domain: "massa.network" -network_node_url: "https://buildnet.massa.net/api/v2" +network_node_url: "https://mainnet.massa.net/api/v2" api_port: 8080 allow_list: - "massaNameService" @@ -27,7 +27,7 @@ If no configuration file is provided, the server will use the following default ```yaml domain: "localhost" -network_node_url: "https://buildnet.massa.net/api/v2" +network_node_url: "https://mainnet.massa.net/api/v2" api_port: 8080 ``` @@ -37,13 +37,13 @@ api_port: 8080 For example, set this to `massa.network` if your server is running on `massa.network`. The default value is `localhost`. -- **NetworkNodeURL**: The node DeWeb server will connect to. By default, this is set to `https://buildnet.massa.net/api/v2`. +- **NetworkNodeURL**: The node DeWeb server will connect to. By default, this is set to `https://mainnet.massa.net/api/v2`. You can use any node address for the JSON public API, such as those listed in the [Massa API Documentation](https://docs.massa.net/docs/build/api/jsonrpc) (Default port: 33035). - :::note - The default node address targets the Massa buildnet, once DeWeb is fully ready, - the default node address will be updated to target a mainnet node. + :::tip + To access a website that has been deployed on buildnet, + set the node address to `https://buildnet.massa.net/api/v2`. ::: - **APIPort**: The port the server will run on. The default value is 8080. diff --git a/docs/deweb/provider/setup-public-instance.mdx b/docs/deweb/provider/setup-public-instance.mdx index 5a16442df..2297c7d23 100644 --- a/docs/deweb/provider/setup-public-instance.mdx +++ b/docs/deweb/provider/setup-public-instance.mdx @@ -41,7 +41,7 @@ Each provider can use the blocklist/whitelist system to comply with local regula ```yaml domain: "example.com" -network_node_url: "https://buildnet.massa.net/api/v2" +network_node_url: "https://mainnet.massa.net/api/v2" api_port: 8080 allow_list: - "massaNameService" diff --git a/docs/deweb/upload/mns.mdx b/docs/deweb/upload/mns.mdx index 35c0055d4..dc074b3b9 100644 --- a/docs/deweb/upload/mns.mdx +++ b/docs/deweb/upload/mns.mdx @@ -12,11 +12,11 @@ successfully uploaded a website at AS12v...2UgLS This address represents that address you website was uploaded at. -To assign a MNS to your website navigate one of these links depending on your network +To assign a MNS to your website navigate to [mns.massa.net](https://mns.massa.net), +or it's fully decentralized version [mns.massa.network](https://mns.massa.network). -| Network | Mainnet | Buildnet | -| ------- | ------------- | ----------------- | -| URL | mns.massa.net | mns.massa.network | +MNS uses the network your wallet is connected to. +So make sure your wallet is connected to the network you uploaded your website to. #### Changing MNS target