Skip to content

Commit

Permalink
Update documentation to reflect deweb beta release on mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-senechal committed Dec 20, 2024
1 parent 97d68ee commit bd46c39
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
3 changes: 0 additions & 3 deletions docs/deweb/home.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).
:::

Expand Down
12 changes: 6 additions & 6 deletions docs/deweb/local-server-config/server-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
```
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/deweb/provider/setup-public-instance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions docs/deweb/upload/mns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bd46c39

Please sign in to comment.