DAPP

A decentralized application (dapp) is an application built on a decentralized network that combines a smart contract with a front-end user interface. Note that PolySmartChain smart contracts are accessible and transparent - just like open API - so your dapp can even contain smart contracts written by others.

Definition of DAPP

The back-end code of a dapp runs on a decentralized P2P network. In contrast, an application runs its back-end code on a centralized server.

The dapp can be written in any language (it's like an app). It has front-end code and a user interface that can call its back-end. In addition, its front-end can be hosted on a decentralized storage, such as IPFS.

  • Decentralized - The dapp runs on PolySmartChain, an open public decentralized platform that no one person or group can control.

  • Deterministic - Performs the same function regardless of the execution environment.

  • Turing-Complete - Dapp can perform any operation based on the required resources.

  • Isolation - They are executed in a virtual environment called EVM. Even if there is a problem with a smart contract, it will not prevent the blockchain network from functioning properly.

Smart Contracts

To introduce a dapp, we need to introduce smart contracts - the back end of the dapp, for lack of a better term. For a detailed overview, please visit our Smart Contracts section.

The smart contract is a computer program on the ethereum network that runs strictly according to pre-written code. Once a smart contract is deployed into the Ethernet network, it cannot be changed. The reason Dapps can be decentralized is that they are controlled by the established logic of the smart contract, not by individuals or companies. This also means that you need to design the contract very carefully and test it thoroughly.

Benefits of DAPP Development

  • Zero Downtime - Once a smart contract for a dapp is deployed to the blockchain, the entire network is available to customers who wish to interact with the contract. As a result, a malicious participant cannot launch a DoS attack against a single dapp.

  • Privacy - You do not need to provide a real-world identity to deploy or interact with the dapp.

  • Resist censorship - No single entity on the network can prevent users from submitting transactions, deploying dapps, or reading data on the blockchain.

  • Data Integrity - Data stored on the blockchain is immutable and indisputable due to the use of cryptographic primitives. Malicious actors cannot falsify transactions or other data that have been made public.

  • Computational/verifiable behavior without trusting relationships - Smart contracts can be analyzed and guaranteed to execute in a predictable manner without trusting a central authority. This does not exist in traditional models, such as when we use online banking systems where we have to trust that the financial institution will not misuse our financial data, tamper with records, or be hacked.

DAPP Tools

Scaffold-PSC - Try Solidity quickly with a front-end that adapts to smart contracts.

Create PSC App - Use one command to create an application that supports PolySmartChain.

One Click Decentralization - Free and open source software tool for generating decentralized application front ends from ABI.

Expanding Resources

Last updated