Smart contracts work by following simple “if/when…then…” statements that are written into code on a blockchain. A network of computers executes the actions when predetermined conditions are met and verified.
These actions might…
Article Source
https://www.ibm.com/think/topics/smart-contracts