Uncategorized

Difference between smart contracts and Dapps or decentralized applications

there are some key differences between what a smart contract is and what a decentralized application or Defi is stay tuned

SmartContract vs Dapps

we discuss smart contracts versus Dapps what you will see is that many people sometimes use both terms interchangeably and that is actually incorrect there’s some marked differences between smart contracts versus Dapps

let’s start first with a definition of what smart contracts are

smart contracts also known as smart code or smart property our computer protocols that can act as a contract .

let’s assume that two people want to actually enter into an agreement and they need to draft the contract instead of needing a lawyer or some broker any type of a third party to be able to be there and certify and notarize that contract instead a smart contract is created in computer code .
recently it’s been used in blockchain the reason why we say recently is
because smart contracts the term was first coined in the 90s by Nick Szabo so the concept of smart contracts has been around for some time but the use of blockchain and that decentralized nature of blockchain has made smart contracts a very powerful tool and that’s why right now they’ve gained so much prominence

in the context of using a smart contract with a blockchain based platform what you have is that you have a contract that’s fully created in code that runs on a blockchain .

for example : the ethereum blockchain now because of this these contracts need to be front-loaded .
what that means is that ?

that contract needs to take into account every single consideration because once you set a contract or a smart contract in motion you can’t stop it and you can’t cancel it because otherwise it would be rendered null and void as a result you need to make sure that every single possibility has been taken into consideration before

you set that smart contract in motion because if there’s a mistake in that smart contract there’s nowhere to change it now that’s a smart contract let’s move now to a Defi so a Dapp or DAP both terms are used some people call it Dapp like email some people call them DAPs is short for a decentralized application and what we mean by that

that is an application that is mainly or fully decentralized so think about it when you use an application you’re not just using a contract you are using a full application like .

for example : a web application that you would engage with you put in some information you get some sort of return so the key thing is that Dapp is mainly or fully decentralized

that because many of these centralized applications are not fully decentralized .
because many of the key things

for example : hosting messaging need to run on centralized products so the key thing is that a Defi doesn’t necessarily have to be fully decentralized it can be mainly decentralized and still be idea so key things to point out is that as the dapp works it can use multiple smart contracts

it’s not merely one smart contract there may be multiple smart contracts that are operating within Dapps as a result these smart contracts are pieces that can work an elements inside Dapps

now the smart contract can be used to decentralize the back end what that is the business logic of the Dapp could run on smart contracts but key things that we need to take into consideration is that not everything on a Defi needs to run on smart contracts and in fact it can’t run on smart contracts some things

for example : the front end of a web application or any type of decentralized application needs to be programmed in a different language for example HTML you need to use JavaScript CSS solidity which is the language for which you would program these smart contracts cannot help you create that front-end as a result the Dapp needs to do more than merely just have these smart contracts you need the other functionality as well

for example : such as storage it’s prohibitively expensive to keep information inside smart contracts so as a result you do not want to store the main information inside smart contracts additionally as I mentioned the cost of smart contracts also makes it prohibitive for you to be able to use it for every single part of the functionality as a result that is important to note that Dcentral applications do not require exclusively to use smart contracts to handle the business logic and in fact what you should do is actually reserve only the most important pieces that need to be trusted to rely on using a smart contract otherwise you’re better off using a different solution

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
bitcoin
Bitcoin (BTC) $ 36,955.00
ethereum
Ethereum (ETH) $ 2,460.22
tether
Tether (USDT) $ 1.00
binance-coin
Binance Coin (BNB) $ 372.83
cardano
Cardano (ADA) $ 1.09
dogecoin
Dogecoin (DOGE) $ 0.137452
xrp
XRP (XRP) $ 0.617050
usd-coin
USD Coin (USDC) $ 0.998361
polkadot
Polkadot (DOT) $ 18.12
uniswap
Uniswap (UNI) $ 10.71
bitcoin-cash
Bitcoin Cash (BCH) $ 292.55
internet-computer
Internet Computer (ICP) $ 20.82
litecoin
Litecoin (LTC) $ 110.20
solana
Solana (SOL) $ 93.38
binance-usd
Binance USD (BUSD) $ 1.00
chainlink
Chainlink (LINK) $ 15.71
matic-network
Polygon (MATIC) $ 1.52
theta-token
Theta Network (THETA) $ 2.60
stellar
Stellar (XLM) $ 0.195402
vechain
VeChain (VET) $ 0.051684
ethereum-classic
Ethereum Classic (ETC) $ 23.88
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 36,971.00
filecoin
Filecoin (FIL) $ 18.34
tron
TRON (TRX) $ 0.055281
dai
Dai (DAI) $ 1.00
eos
EOS (EOS) $ 2.20
monero
Monero (XMR) $ 147.21
aave
Aave (AAVE) $ 152.18
okb
OKB (OKB) $ 20.92
compound-usd-coin
cUSDC (CUSDC) $ 0.022495
cdai
cDAI (CDAI) $ 0.021856
shiba-inu
Shiba Inu (SHIB) $ 0.000021
kusama
Kusama (KSM) $ 175.54
neo
NEO (NEO) $ 18.07
compound-ether
cETH (CETH) $ 49.32
celsius-degree-token
Celsius Network (CEL) $ 2.35
cosmos
Cosmos (ATOM) $ 35.71
bitcoin-sv
Bitcoin SV (BSV) $ 90.80
iota
IOTA (MIOTA) $ 0.784838
theta-fuel
Theta Fuel (TFUEL) $ 0.133545
crypto-com-chain
Crypto.com Coin (CRO) $ 0.375121
pancakeswap-token
PancakeSwap (CAKE) $ 7.70
maker
Maker (MKR) $ 1,948.79
tezos
Tezos (XTZ) $ 2.93
algorand
Algorand (ALGO) $ 0.929505
ftx-token
FTX Token (FTT) $ 35.67
leo-token
LEO Token (LEO) $ 3.57
klay-token
Klaytn (KLAY) $ 1.24
avalanche-2
Avalanche (AVAX) $ 62.91