stay logged in   forgot password?

Please wait... Blue_on_grey_spinner

Procoders Collection

https://procoders.tech/blog/how-to-make-a-decentralized-application/ - read this article, and find a complete guide of dApp development. 

When it comes to determining how to create dApps, the workflow of a dApp is similar to that of other traditional applications, but with a few minor differences. There are typically three main components:

The front-end user interface
This can take many forms, but most simply is an HTML page that makes calls to a smart contract using Javascript. This step is very similar to building a regular web application. You can use any of the web frameworks that you like, such as Angular or React. When building a dApp, you'll need to use JavaScript libraries, such as Web3.js, to ensure that your frontend can communicate with the smart contract and the blockchain.

Creating a Smart Contract
This is the point where the magic happens. A smart contract is simply a program running on Ethereum. The smart contract contains the business logic, which is the equivalent of the code that would run on a traditional server. For example, an online crowd-funding platform would use a smart contract to control the way in which funds are collected and distributed.

A back-end server
This server could be written in Ruby, NodeJS, or whatever you're comfortable with when building a distributed application. The backend server could run a local copy of a client like Geth or Parity to receive events from the blockchain and forward them to the client. Alternatively, it could use an API service provider like Infura to connect to the Ethereum network without having to run a local client.

Click the button below to add an excerpt from a selected document (one of your uploads or a Public Document) to this collection!

© Copyright 2021, Paul Allison.
"NowComment" is a registered trademark of Paul Allison. All rights reserved.

Back to Top

Logging in, please wait... Blue_on_grey_spinner