A self-executing program deployed on a blockchain.
Definition
In depth
A smart contract is code that lives on-chain and runs deterministically when called. Smart contracts power every DeFi protocol, NFT collection and DAO. Once deployed, they're typically immutable — bugs are forever.