CURIUM
Is a vending machine the ancestor of smart contracts?

Smart contract

Is a vending machine the ancestor of smart contracts?

Yes, and Nick Szabo coined the concept in the 1990s. You insert a coin, the machine dispenses the can. The agreement executes automatically, with no seller, no trust needed, and no recourse. A smart contract applies the same logic, but on a blockchain.

EconomicsCryptocurrencies

The three levels

Beginner

Is a vending machine the ancestor of smart contracts?

Yes, and Nick Szabo coined the concept in the 1990s. You insert a coin, the machine dispenses the can. The agreement executes automatically, with no seller, no trust needed, and no recourse. A smart contract applies the same logic, but on a blockchain.

Intermediate

Why can't a smart contract read the news?

Because it can only see what's recorded on its blockchain. A currency exchange rate, match result, weather forecast. All of that must be brought to it by a third-party service called an oracle. And the contract's reliability never exceeds that of the oracle.

Expert

How can an immutable smart contract be reversed after a hack?

Not by patching it. The code has already executed. In 2016, the Ethereum community chose to rewrite the ledger's history itself. At the cost of a lasting network split.