Decentralized Applications

As opposed to centralized applications that run on a single computer, decentralized applications run on a P2P network of computers. They have existed since the advent of P2P networks.

Decentralized applications don‘t necessarily need to run on top of a blockchain network. Tor, BitTorrent, Popcorn Time, BitMessage, are examples for decentralized applications that run on a P2P network, but not on a blockchain – which is a special kind of P2P network (read more: Origins of Bitcoin and Web3).

Decentralized applications are a piece of so ware that communicates with the blockchain, which manages the state of all network actors. The interface of the decentralized applications does not look any different than any website or mobile app today. The smart contract represents the core logic of a decentralized application. Smart contracts are integral building blocks of blockchains, that process information from external sensors or events and help the blockchain manage the state of all network actors.

The frontend of a decentralized application represents what you see, and the backend represents the entire business logic. This business logic is represented by one or several smart contracts interacting with the underlying blockchain. The frontend, as well as files like a photo, a video, or audio, could be hosted on decentralized storage networks such as Swarm or IPFS. Traditional Web applications use HTML, CSS, and javascript or the like to render a webpage. This page interacts with a centralized database, where all the data is stored. When you use a service like Twitter, Facebook, Amazon, or Airbnb, for example, the webpage will call an API to process your personal data and other necessary information stored on their servers, to display them on the page. User ID and passwords are used for identification and authentication, with low levels of security, since personalized data is stored on the server of the service provider.

Traditional websites: Front End → API → Database.

Decentralized applications are similar to a traditional Web application. The frontend uses the exact same technology to render the page. It contains a “wallet” that communicates with the blockchain. The wallet manages cryptographic keys and the blockchain address. Public-key infrastructure is used for user identification and authentication. Instead of an API connecting to a database, a wallet so – ware triggers activities of a smart contract, which interacts with a blockchain:

Web3 compatible website:
Front End (including wallet) → Smart Contract → Blockchain.

In contrast to Web2 applications, Web3 applications need a connection to the blockchain, which is managed by a special application called “wallet.” It keeps a record of the private keys and blockchain address, which represents the unique 30 identities and point of reference. Without a so ware that manages our digital identity, we will not be able to interact with the blockchain. The Web3, therefore, builds on the current Web2 stack and introduces additional elements on an application level. In the backend, the Web3 adds a whole new infrastructure layer for decentralized applications to interact with – the decentralized protocol stack. Decentralized apps need to have a component that manages a user’s private keys, with which one can sign transactions on the state layer, the blockchain (read more: Token Security – Cryptography).

Illustration of a DApp that uses a blockchain with smart contracts combined with the pillars of Swarm and Whisper.
Source: Ethereum Stack exchange

Trending Technologies 2020

How to view a SAFEBOX document?

How to view a SAFEBOX document?

Viewing any document shared on the blockchain system is quite easy. You need to have the SAFEBOX account in order to view the SAFEBOX document. You just follow the following three steps in case you want to view any SAFEBOX document. SAFEBOX account login Select Share...

A Beginner’s Guide to Smart Contracts

A Beginner’s Guide to Smart Contracts

Smart contracts are small pieces of code written to execute the conditions set by the parties involved in the agreement. These contracts are more reliable, secure, and are much smarter than traditional contracts. They hold numerous advantages over conventional...

Things to consider when selecting a Notary Public

Things to consider when selecting a Notary Public

There are more than 4 million notary publics in the U.S that are appointed by the state. Therefore, it can be quite irritating while selecting a notary public for your needs. You always want to select the best person for the job, whether you need the services for real...

Is Blockchain Technology Making the World Better

Is Blockchain Technology Making the World Better

Blockchain work on a decentralized peer to peer technology and can easily replace centralized systems. Blockchain technology can be beneficial in many sectors such as banks, health, music, real estate, supply chain, and trade. With the help of blockchain, many...

How Blockchain Technology Benefits eNotarization

How Blockchain Technology Benefits eNotarization

A certified digital notary public performs various notarizing duties electronically, such as adding the signature and authorized stamp to the certified document digitally. A digital notary public manages, stores, and also distributes the digital certificate using...

Our Latest Updates

List of services for which a Notary Public can charge fees?

List of services for which a Notary Public can charge fees?

There are different kinds of policies and regulations for every state regarding the fees of the notaries and services a Notary Public can charge. Some of the common services that notaries can charge for are as follows: Copies Notaries, for fixed fees, can also certify...

Smart contracts: are they here to stay?

Smart contracts: are they here to stay?

Smart contracts are based on blockchain technology; thus, we can say that they inherit all the properties of blockchain technology. There are many benefits of smart contracts. One key benefit of the smart contract is the absence of the middle man. The smart contract...