Crypto & digital assets

Smart contract

IntermediateAlso called smart contracts

Plain meaning

A computer program stored on a blockchain that automatically carries out an agreement, such as releasing payment, once preset conditions are met.

Like I’m three

A smart contract is like a vending machine. Put in the right coins, press the button, and the snack drops out by itself, with no shopkeeper needed.

In detail

A smart contract is code deployed on a blockchain such as Ethereum that runs exactly as written when triggered, and no party can stop or change it unless the code allows. The idea was described by Nick Szabo in the 1990s, and Ethereum made it practical from 2015. Smart contracts power decentralised exchanges, lending protocols, stablecoins, NFTs and DAOs: a loan contract, for example, can automatically sell a borrower's collateral if its value falls too far. Because they hold real money and their code is public, bugs are costly: the 2016 hack of The DAO drained about 3.6 million ether through a coding flaw, and DeFi hacks have since cost billions, which is why audits matter. A common confusion: a smart contract is neither smart nor necessarily a legal contract; it is simply a program that executes automatically, and courts may not treat it as a binding agreement.

Example

Say a lending smart contract lets you borrow up to 75% of your collateral's value. You deposit ether worth $10,000 and borrow $6,000 of stablecoins. If ether falls 25%, your collateral is worth $7,500 and your limit drops to $5,625, below your $6,000 loan, so the contract can automatically sell part of your ether to repay it.

In the news

Save it, revise it

Open this word in the interactive dictionary to save it, quiz yourself and see every term it links to.

Open in the interactive dictionary

From the Finspire Dictionary, compiled by Finspire, the finance club of IPM at IIM Ranchi. Last updated . How entries are written and checked