How Does a Smart Contract Relate to a Decentralized Application (Dapp)?

A smart contract is the backend logic and core functionality of a dApp. The dApp is the complete application, including a user interface (frontend) that interacts with the smart contract (backend) on the blockchain.

Essentially, the smart contract defines the rules and state changes, while the dApp provides the means for users to interact with those rules.

Why Is Arbitrage Essential for the Health and Functionality of Decentralized Exchanges?
How Do Smart Contracts Enable Decentralized Finance (DeFi)?
What Is “Flash Loan” Functionality and How Is It Secured by Smart Contracts?
How Does the Concept of ‘Invariants’ Relate to the Security of Financial Smart Contracts?
What Is a Decentralized Application (Dapp)?
What Happens If There Is a Bug in a Smart Contract’s Code?
What Is the Concept of ‘Gas’ in Executing a Smart Contract?
How Do Smart Contracts Relate to Decentralized Finance (DeFi)?

Glossar