Smart Contract
A program stored on a blockchain that runs automatically when its conditions are met — no lawyer, bank, or middleman required. It's the building block behind DeFi, NFTs, and pretty much everything on Ethereum.
A smart contract is code deployed to a blockchain address. Once live, it executes exactly as written whenever someone sends it a transaction: swap these tokens, release these funds, mint this NFT. Nobody can quietly change the rules afterwards (unless the developers built in an upgrade mechanism — always worth checking). Every interaction costs gas, since the network's computers do the work.
The catch: "runs exactly as written" includes the bugs. Billions have been lost to smart contract exploits, and there's no customer support line to reverse a transaction. "Code is law" sounds noble until the code has a typo. Before trusting a contract with real money, check whether it's been audited — and remember an audit is a review, not a guarantee.
Go deeper in our guides
New to crypto? Definitions only get you so far — the free Crypto 101 path connects the dots.
Start Crypto 101 →