Create A Decentralized Application in 5 Steps
Create A Decentralized Application in 5 Steps
Create A Decentralized Application in 5 Steps
Courses @90% Refund Trending Now Data Structures & Algorithms Foundational Courses Data Scie
Features of Dapp
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 1/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
Pros of Dapps
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 2/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
Cons of Dapps
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 3/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
Examples of Dapp
1. Uniswap
2. CryptoKitties
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 4/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
3. MakerDAO
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 5/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
4. Augur
5. Brave Browser
Architecture of Dapp
1. Blockchain Layer
2. Smart Contracts
The business logic and guidelines of the dapp are specified by smart
contracts, which are self-executing programmes stored on the
blockchain. Typically, they are created using blockchain platform-
specific programming languages, such as Ethereum’s Solidity. The
foundation of the dapp is made up of smart contracts, which uphold
trust and encourage user-app interaction.
3. Consensus Mechanism
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 7/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
The front end of the dapp, or user interface layer, is where users can
interact with the program. It might be a desktop program, a mobile
app, or a web interface. Through APIs or specialized libraries like
Web3.js, the UI layer can interface with the blockchain layer and allow
users to execute actions and view data stored on the blockchain.
5. Middleware Layer
Between the user interface layer and the blockchain layer, the
middleware layer serves as a link. It is made up of many parts that
make communication and data processing easier. In dapp architectures,
common middleware elements include:
1. Blockchain Platforms
Smart contracts define the business logic of the dapp and are typically
written in platform-specific programming languages. Solidity is the
most popular language for Ethereum, while other platforms may have
their own languages like EOSIO’s C++ or TRON’s Solidity-compatible
language. Development frameworks like Truffle or Hardhat facilitate
smart contract compilation, testing, and deployment.
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 9/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
6. Backend Infrastructure
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 10/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
Identify the problem your DApp aims to solve and determine how
blockchain technology and decentralization can provide a unique
solution. For example, let’s consider a supply chain management
DApp. The problem could be inefficient tracking and verification of
products. The answer would involve creating a transparent and
immutable ledger for tracking product movement.
Create and construct the smart contracts that are required for your
DApp. Depending on the blockchain platform selected, a variety of
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 11/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
Create the user interface (UI) and user experience (UX) design for your
DApp’s front end. You can use different tech stacks for front-end and
back-end development:
Front-end:
Web-based DApp: Use HTML, CSS, and JavaScript frameworks like
React, Angular, or Vue.js.
Mobile DApp: Develop native applications using Swift for iOS or
Kotlin for Android, or consider cross-platform frameworks like React
Native or Flutter.
Back-end:
Ethereum: Interact with Ethereum nodes and smart contracts using
web3.js or ethers.js libraries.
Hyperledger Fabric: Develop server-side components using
programming languages like Node.js or Go, and utilize Hyperledger
Fabric SDKs.
Polkadot: Leverage the Substrate framework and its supported
back-end languages like Rust, JavaScript, or C++.
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 12/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 13/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
Looking for a place to share your ideas, learn, and connect? Our
Community portal is just the spot! Come join us and see what all the
buzz is about!
Three 90 Challenge ending on 5th Feb! Last chance to get 90% refund by
completing 90% course in 90 days. Explore offer now.
Previous Next
Similar Reads
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 14/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
Complete Tutorials
Brain Teasers SDLC Models | Software
Development Models
K kalpeshb…
Additional Information
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 15/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
Company Explore
About Us Job-A-Thon Hiring Challenge
Legal Hack-A-Thon
Careers GfG Weekly Contest
In Media Offline Classes (Delhi/NCR)
Contact Us DSA in JAVA/C++
Advertise with us Master System Design
GFG Corporate Solution Master CP
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 16/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
Languages DSA
Python Data Structures
Java Algorithms
C++ DSA for Beginners
PHP Basic DSA Problems
GoLang DSA Roadmap
SQL Top 100 DSA Interview Problems
R Language DSA Roadmap by Sandeep Jain
Android Tutorial All Cheat Sheets
Tutorials Archive
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 17/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
https://www.geeksforgeeks.org/create-a-decentralized-application-in-5-steps/ 18/19
02.02.24, 22:04 Create a Decentralized Application in 5 Steps - GeeksforGeeks
Colleges Companies
Indian Colleges Admission & Campus Experiences META Owned Companies
List of Central Universities - In India Alphabhet Owned Companies
Colleges in Delhi University TATA Group Owned Companies
IIT Colleges Reliance Owned Companies
NIT Colleges Fintech Companies
IIIT Colleges EdTech Companies