DApps: Crypto Basics For All Part 1

What are DApps?

@pramodchandrayan
CryptoWise
5 min readMay 15, 2021

--

I Feel:

When technology starts respecting user privacy and is willing to decentralize the control of the data generated by humans securely and with the required transparency, the whole of humanity is bound to benefit for good.

DApps are the true technology that harnesses the power of decentralization beautifully to serve end-users with the required sensitivity and security. DApps are expanded as Decentralized Applications which are built on top of Blockchain.

What Are DApps?

A dApp has its backend code running on a decentralized peer-to-peer network. Contrast this with a normal app where the backend code is running on centralized servers.

Blockchain-powered decentralized apps are similar to the current mobile or web apps we use every day and only differ in how you transact or communicate over the blockchain network. Here the data being transacted is no longer controlled by big any single entity, middleman, or enterprise rather it is being distributed over the decentralized network of millions of nodes keeping user records and identity immutable and secure.

The main difference between conventional web or mobile apps and DApps is that DApp’s run on distributed and immutable blockchain networks rather than a centrally controlled operating system/server. This power of immutability makes DApps free of any censorship

Special Attributes Of DApps:

Some of the amazing characteristics and properties which DApps hold are what make them special. Let’s list down some of them and discuss them briefly

Censorship Proof :

If you are using a decentralized app, as a user your profile or account can’t be blocked by anyone in the blockchain network as it is not controlled by any central authority or any owner.

Let’s understand it with one more example:

If you are using Facebook-like dApp and publish messages in the app network. Once posted, no one, including you, cannot delete those messages.

Open Source:

DApps needs to be open-sourced and the code base must be available for the developer community. Having said that, any updates being pushed in the open-sourced DApp code must be done through a consensus mechanism that amounts to some form of majority vote rather than by a developer.

Decentralized:

As it is a decentralized app, DApps data which is obviously anonymous must be stored on an immutable, public blockchain.

Secured Cryptographically :

Dapps offer Complete data integrity. Data stored on the blockchain is immutable and indisputable, thanks to cryptographic primitives that ensure that hackers/attackers can’t forge your transaction without your consent. You authorize dApp actions with your DApp user account usually via your wallet so that your credentials remain safe .

Stay Anonymous:

As a dApps user, your real-world identity is never revealed and you can stay anonymous while transacting in the DApp.

Get Incentivised :

Validators in the Blockchain ecosystem are incentivized through tokens generated in DApp’s.

DApps With Zero Downtime:

DApps are hosted on a decentralized blockchain platform like Ethereum, polygon, which ensures a high level of availability 24x7. The chances of a blockchain platform like Ethereum being hacked or suffering downtime are extremely rare event.

How Does DApp’s Work?

DApps backend code is hosted and run on a decentralized network like the Ethereum blockchain for data storage and smart contracts for their app logic.

Here smart contracts are a set of protocols that lives on the blockchain publicly to be viewed and executed based on those set protocols. Smart contracts facilitate agreements and transactions as a trusted mediator. The real reason why DApps are able to be decentralized in the given blockchain network is the intelligent smart contract that holds the logic to control the DApp’s transactions.

Smart Contract:

As covered above, smart contracts lie at the core of Dapp's success. Let’s understand more about smart contract

What is a Smart Contract?

A “smart contract” is simply a code piece that runs on the Ethereum blockchain. It’s a collection of functions and data (its state) that resides at a specific address on the blockchain platform like Ethereum.

Smart contracts are a kind of Ethereum account. This means they have a balance and they can send transactions over the network. However they’re not controlled by a user, instead, they are deployed to the network and run as programmed

We will learn more about Smart contracts and how it works in our upcoming piece in this series of Crypto basics, as it is out of scope for this article.

DApps Use Case & Examples :

DApps can run everything from games, NFT, Collectibles, and marketplaces to decentralized finance (Defi) lending platforms. Some of the popular examples of the same are,

DApps Example :

  • UniSwap: Decentralized Trading Protocol
  • Aave: Open-sourced liquidity protocol
  • 1-Inch: Most Efficient DeFi aggregator
  • Audius: Giving everyone the freedom to distribute, monetize, and stream audio
  • Rarible: is both a marketplace for those assets, as well as a distributed network built on Ethereum that enables their trade without a middleman.

“To learn more about any dapp or find dapp development tools, you can use Alchemy’s Dapp directory. Or if you’re building your own dapp, you can also add it to the directory.”

What’s Next?

We will discuss the most fundamental unit of the blockchain network called “Nodes”. I feel it is imperative that one should understand the importance and functionality of nodes if one wants to learn more about crypto basics. Also, we will cover

  • AMM’s: Automated Market Makers
  • Smart Contract
  • MetaMask
  • Yield Farming
  • Cloud Mining
  • Pool Mining
  • NFT: Non-Fungible Tokens and many more crypto concepts.

Summing Things Up:

“ App ecosystem over the decentralized network will be a new marketplace, where the user will have a stronger say and will be invested to make this ecosystem thrive & become sustainable ”

--

--

@pramodchandrayan
CryptoWise

Building @krishaq: an Agritech startup committed to revive farming, farmers and our ecology | Writes often about agriculture, climate change & technology