A smart contract is a program stored on the chain itself, holding assets under rules that the network's consensus — not any operator — enforces: when … First-principles module in Smart Contract & Execution, with a mastery quiz.