Skip to content
BTC$64,184 +0.80% ETH$1,872 +0.40% MCAP $2.18T -0.12%

What is a smart contract?

A program stored on a blockchain that runs exactly as written when its conditions are met, without anyone able to intervene.

Smart contracts allow agreements to be enforced by code rather than by an institution — lending, exchange, escrow and token issuance are all implemented this way. Once deployed, most cannot be altered.

Why it matters: immutability is the feature and the danger. A bug cannot be patched away, and there is no support desk to reverse a loss, which is why exploits routinely drain very large sums in minutes. “The code is the agreement” also means the code is the risk: an audit reduces that risk but does not remove it. See DeFi.

Related terms

  • LiquidationThe forced closure of a leveraged position by an exchange or protocol when the…
  • Bitcoin dominanceBitcoin's share of the total market capitalisation of all crypto assets, expressed as a…
  • Max supplyThe largest number of units of an asset that will ever exist, where the…
  • Proof of workA consensus mechanism where computers compete to solve a hard arithmetic puzzle, and the…
  • StablecoinA crypto token designed to hold a steady value, usually one US dollar, so…
  • HalvingThe scheduled event where the reward paid to Bitcoin miners for producing a block…

Crypto assets are volatile and high-risk. Prices shown are indicative and may be delayed. Always do your own research. Coinpric does not provide financial advice.