avatar
4 years

I don't understand the concept of a dApp. Please explain

Hello. I started reading about a new trend in the crypto world - decentralized finances (DeFi) but I don't understand one term "dApps". Could someone explain to me what it means? Thanks in advance.

Hello. I started reading about a new trend in the crypto world - decentralized finances (DeFi) but I don't understand one term "dApps". Could someone explain to me what it means? Thanks in advance.

2 users upvote it!

5 answers


dryer923

DApp (Decentralised Application) is an application with a backend in the form of a smart contract. The user interface written in one of the JavaScript frameworks, e.g. Angular or React, downloads and saves data in the blockchain network.

What does the architecture of such a solution look like? The frontend indicates the address of the contract placed on the blockchain smart contract and interacts with it through the Web3 library (Ethereum JavaScript API).

The connection to the Ethereum network is established using the MetaMask plugin - DApp works in the context of an active user account (wallet). In practice, the plug-in injects the currentProvider object into the browser window, which is passed to the Web3 library.

What about users who do not have a wallet? You present them with the application at least in read-only mode - you don't write anything in blockchain, you don't generate transactions.

However, for reading you still need a network connection. There are two options: own node or external API. Maintaining a high-availability node that stores copies of blockchain in the cloud, for example, can be costly. To start with, I recommend external, fully scalable API such as Infura.

DApp (Decentralised Application) is an application with a backend in the form of a smart contract. The user interface written in one of the JavaScript frameworks, e.g. Angular or React, downloads and saves data in the blockchain network.

What does the architecture of such a solution look like? The frontend indicates the address of the contract placed on the blockchain smart contract and interacts with it through the Web3 library (Ethereum JavaScript API).

The connection to the Ethereum network is established using the MetaMask plugin - DApp works in the context of an active user account (wallet). In practice, the plug-in injects the currentProvider object into the browser window, which is passed to the Web3 library.

What about users who do not have a wallet? You present them with the application at least in read-only mode - you don't write anything in blockchain, you don't generate transactions.

However, for reading you still need a network connection. There are two options: own node or external API. Maintaining a high-availability node that stores copies of blockchain in the cloud, for example, can be costly. To start with, I recommend external, fully scalable API such as Infura.


1 like

cryptoboy

DApps are modern applications whose evolution is attributed to blockchain technology. Decentralized P2P Network applications work instead of a single computer. These applications cannot be authorized or controlled by a single user or computer.

But what is their specific application? Well, to fully understand their role and advantage over centralized applications, we need to identify the differences between them.

For any application to be considered "decentralized", it must meet a number of conditions. To begin with, each application will only certify the DApp if it owns open source software. This means that the source code of the application must be publicly available to everyone. It must use a chain similar to blockchain cryptographic solutions. It should also have cryptographic tokens for sustainability. It must produce tokens with a unified consensus-based operating mechanism.

However, all DApps do not necessarily have to work in blockchain networks. There are many blockchain applications, such as Popcorn Time, Bit Torrent and BitMessage, etc., that do not work on block chains, but rather on P2P networks. The key thing to understand is that blockchain is a clear type of P2P network. We have previously established that all decentralized applications must have open software and be accessible and have an unlimited number of people on both sides of the market.

DApps are modern applications whose evolution is attributed to blockchain technology. Decentralized P2P Network applications work instead of a single computer. These applications cannot be authorized or controlled by a single user or computer.

But what is their specific application? Well, to fully understand their role and advantage over centralized applications, we need to identify the differences between them.

For any application to be considered "decentralized", it must meet a number of conditions. To begin with, each application will only certify the DApp if it owns open source software. This means that the source code of the application must be publicly available to everyone. It must use a chain similar to blockchain cryptographic solutions. It should also have cryptographic tokens for sustainability. It must produce tokens with a unified consensus-based operating mechanism.

However, all DApps do not necessarily have to work in blockchain networks. There are many blockchain applications, such as Popcorn Time, Bit Torrent and BitMessage, etc., that do not work on block chains, but rather on P2P networks. The key thing to understand is that blockchain is a clear type of P2P network. We have previously established that all decentralized applications must have open software and be accessible and have an unlimited number of people on both sides of the market.


1 like

leomessi

Dapps are decentralized applications, without a main server that controls them. They constitute a public database, and usually cryptocurrencies tokens are used to drive them, on a chain on which they are built. They use blockchain technology, so all data created in such an application is written on the appropriate blockchain. They are encrypted there and stored in a public register. The people who validate the data are properly rewarded for their work in the form of cryptocurrencies. How this validation works depends largely on the protocol that the network uses. Applying directly to the unwritten definition that these applications meet, we can consider that the first DApps is the bitcoin itself, which serves as a "fiscal application".

Dapps are decentralized applications, without a main server that controls them. They constitute a public database, and usually cryptocurrencies tokens are used to drive them, on a chain on which they are built. They use blockchain technology, so all data created in such an application is written on the appropriate blockchain. They are encrypted there and stored in a public register. The people who validate the data are properly rewarded for their work in the form of cryptocurrencies. How this validation works depends largely on the protocol that the network uses. Applying directly to the unwritten definition that these applications meet, we can consider that the first DApps is the bitcoin itself, which serves as a "fiscal application".


1 like

Dawid Wośniowski

Although "dApp" has recently become a trendy word, there is still no strict definition of what exactly it is. What is certain is that the history of dApp's and their possible areas of application goes far beyond common knowledge. 

A dApp is a shortened term for a decentralised application. Just as any developer can build apps for the App Store on Apple's IOS operating system, developers can (also) build on blockchain infrastructure such as Ethereum (ETH), Tron (TRX), EOS.

For the end user, the dApp may not look and feel any different than other applications used today. However, decentralised apps are powered by blockchain; and that makes them different - and perhaps... much better.

A decentralised app is an app that runs on a decentralised network and uses its resources. Standard dApp features include:

Open source code - The decentralised architecture assumes that the application source code can be accessed by all network members. In a trustless environment, the user must be able to verify what type of application they are running and what exactly it does (to prevent fraud and malware, protect personal data and resources). The easiest way to do this is to provide the source code.
No central point of failure - Compared to centralised apps, decentralised apps are reliable because they benefit from the advantages of a decentralised Peer to Peer (P2P) network. The dApp stores data in a decentralised database and uses decentralised computer resources to work.
Decentralised consensus mechanism - When an application runs in a decentralised environment where all users have equal rights to change data, there must be a way for all network users to agree on which data and transactions to trust. The solution to this problem is called a consensus mechanism. (In the case of the Bitcoin network, the consensus mechanism uses the Proof of Work algorithm)
Use of internal currency - There are many reasons why a dApp might use some form of currency: to support the development process, to power the underlying network and consensus mechanism, to give users the ability to exchange value, and more. It creates a healthy economic system around the app and helps the project grow.

Although "dApp" has recently become a trendy word, there is still no strict definition of what exactly it is. What is certain is that the history of dApp's and their possible areas of application goes far beyond common knowledge. 

A dApp is a shortened term for a decentralised application. Just as any developer can build apps for the App Store on Apple's IOS operating system, developers can (also) build on blockchain infrastructure such as Ethereum (ETH), Tron (TRX), EOS.

For the end user, the dApp may not look and feel any different than other applications used today. However, decentralised apps are powered by blockchain; and that makes them different - and perhaps... much better.

A decentralised app is an app that runs on a decentralised network and uses its resources. Standard dApp features include:

Open source code - The decentralised architecture assumes that the application source code can be accessed by all network members. In a trustless environment, the user must be able to verify what type of application they are running and what exactly it does (to prevent fraud and malware, protect personal data and resources). The easiest way to do this is to provide the source code.
No central point of failure - Compared to centralised apps, decentralised apps are reliable because they benefit from the advantages of a decentralised Peer to Peer (P2P) network. The dApp stores data in a decentralised database and uses decentralised computer resources to work.
Decentralised consensus mechanism - When an application runs in a decentralised environment where all users have equal rights to change data, there must be a way for all network users to agree on which data and transactions to trust. The solution to this problem is called a consensus mechanism. (In the case of the Bitcoin network, the consensus mechanism uses the Proof of Work algorithm)
Use of internal currency - There are many reasons why a dApp might use some form of currency: to support the development process, to power the underlying network and consensus mechanism, to give users the ability to exchange value, and more. It creates a healthy economic system around the app and helps the project grow.


OpenAI BOT

Sure! A dApp, short for decentralized application, is an application that runs on a decentralized network such as a blockchain. Unlike traditional applications, dApps operate on top of a blockchain protocol and do not rely on a central authority for operation. This means that dApps are more secure, transparent, and resistant to censorship or downtime.

Sure! A dApp, short for decentralized application, is an application that runs on a decentralized network such as a blockchain. Unlike traditional applications, dApps operate on top of a blockchain protocol and do not rely on a central authority for operation. This means that dApps are more secure, transparent, and resistant to censorship or downtime.


5/5