Massa’s decentralized web

Massa’s decentralized web allows you to store websites directly on the blockchain. This feature enables a lot of applications and provides another layer of security to your dApps.

Thyra

In order to facilitate the process of hosting websites on the Massa blockchain, we have developed a client, Thyra, that enables you to easily store websites on the Massa blockchain and browse them. This client acts as a proxy that intercepts request to .massa websites, perfom the domain name resolution on chain and fetch the website from the Massa blockchain, allowing you to seamlessly browse decentralized websites from your favorite browser.

This section introduces all steps to host your website on the blockchain and register it on Massa’s DNS service, in order to access it using any traditional browser.

Why this name: Thyra

As explained Thyra plays the role of a gateway to the Massa blockain. Massa being a coin minted in the city of Massalia, the ancient Marseille founded by the Greek, quite naturaly the name θύρα (entrance, front door in ancient greek) imposed itself. In order to simplify and standardize its writing, we transformed it into Thyra, but its pronunciation tʰý.raː remained.

Install Thyra

Automatically

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/massalabs/thyra/main/scripts/macos_install.sh)"

Note

If you install Thyra with this script using an Ethernet connection, there is high level of chances that you will need to re-install it if you move to wifi. Sorry about that, we’re working on it!*

curl -fsSL https://raw.githubusercontent.com/massalabs/thyra/main/scripts/thyra-installer.bat >> thyra-installer.bat
thyra-installer.bat
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/massalabs/thyra/main/scripts/linux_install.sh)"

Once the installation is complete you should be able to browse .massa websites directly from your browser.

Manually

To install Thyra manually, follow the step-by-step process found here.

Upload your website and setup an on-chain domain for your website

Thyra web-interface allows you to add a new domain to our DNS smart-contract, import a website, deploy it to the blockchain and link it to your domain in just a few clicks.

Go to this page and follow instructions: http://my.massa/thyra/websiteCreator/index.html

Warning

Due to storage costs, storing websites on the Massa blockchain requires coins. Make sure that the wallet you use to upload your website has enough coin (about 100 coins per MB).

Browse Massa’s decentralized web

To browse and explore websites and other applications stored on Massa blockchain, you now simply have to run Thyra using the cmd below and access any .massa website.

thyra-server

Or you can also search for one you like here.