A self-executing program stored on a blockchain that automatically carries out predefined actions when specific conditions are met. Smart contracts enable trustless transactions without intermediaries and are the foundation for DeFi, NFTs, and most Web3 applications.