Smart contracts work by following simple โif/whenโฆthenโฆโ statements that are written into code on a blockchain. A network of computers executes these actions when predetermined conditions have been met and verified. These actions could include releasing funds to the appropriate parties, registering a vehicle, sending notifications, or issuing a ticket. The blockchain is then updated once the transaction has been completed. This means the transaction cannot be changed, and only parties who have been granted permission can see its results. Within a smart contract, as many stipulations as needed can satisfy the participating parties so they know for sure that tasks will be completed successfully. To establish these terms participants must decide how transactions and their data are represented on the blockchain; agree on the if-then rules that govern those transactions; explore all possible exceptions, and define a framework for resolving disputes. Once this has been established developers would need to program itโalthough increasingly organizations using blockchains also provide templates, web interfaces, and other online tools making it easier to structure smart contracts.