A smart contract works like a deterministic program. It performs certain actions when specified conditions are met. Based on this, the smart contract system often uses "if… then…" expressions.
How smart contracts work in the blockchainPrintable View
|