DecentralizationWhat is Web3?
This Friday sprint we wanted to take on a problem that was out of our normal scope. We decided on creating a decentralized chatting app, where all of the data is not stored on a single location or entity, but a small subset of the data is stored on each user of the application.
Image by Cointelegraph
As you might not even be aware, currently we are using Web2. Web1 was the first iteration of the web. The main difference with Web1 is that it was mainly a read-only web. Most participants were consumers of the content on Web1, and the content was created by developers. Web2 brought about the change that regular users were able to create content and contribute to the web, in the form of videos, images, blog posts and even websites. This allowed everyone to participate to a certain extent on the web.
So what is Web3?
The biggest difference with Web2 is that Web3 is focused on decentralization, where the users not only are able to contribute and create, but self-governing and facilitating. Web3 aims to put the control of their online presence back with the users. There are multiple examples of this in practice, with blockchains as the most recognizable form. Web3 applications are not deployed on a single server or store their data in a single database, managed by a single cloud provider (Google, AWS, Microsoft) but are run on blockchains or decentralized networks. These applications are called decentralized applications (dapps).
This Friday we created a decentralized chatting app. This would mean that we couldn’t rely on our regular solutions for sending and receiving data, and storing this in a traditional database. We went with the decentralized database GUN. This database was made to protect people's privacy and enable developers to create dapps in a way that they are accustomed to.
Image by Cointelegraph
GUN saves the data locally and also connects to different peers to store the data safely on other ledgers. However currently the author of GUN is unable to keep up with the amount of requests being done to the GUN system, which in term leads to a suboptimal performance. We hope that with time dapp technologies improve to ensure the stability of these solutions, as we have already seen with blockchain technology.
With that said, check out our first decentralized app, the Miyagami dapp! It features end to end encryption, user authentication based on the SEA library (Security, Encryption & Authorization) and a front-end built with the open source and lightweight Svelte library. It’s not a perfect dap, mainly due to the latency issues that axe currently has. However, it taught us a great deal about decentralized data storage and encryption protocols.
Accelerate your digital transformation.
With a strong innovation and technology-focused mindset, we explore your problems and come up with the best tailor-made solution.Contact us