blockchain 101
Smart contract
A smart contract is a computer program or a transaction protocol which automatically executes when conditions of the agreement are met. Smart contracts the key mechanism for DeFi and Dapps and are an important feature of the Ethereum blockchain.