Stockertim Dictionary · Crypto · Technology
Smart contract
Also called self-executing contract
In short
A program stored on a blockchain that runs automatically when its conditions are met, holding and moving digital assets according to its code without an intermediary.
- Beginner
- Technology
- Checked
In detail
A smart contract is code deployed to a blockchain address. It has its own balance and stored data, and exposes functions that anyone can call by sending a transaction. When called, every validating node runs the same code and records the result, so the outcome is enforced by the network rather than by a company or court. A simple example is an escrow contract that releases payment to a seller once a buyer confirms delivery, or returns it after a deadline.
Smart contracts are the building blocks of decentralised finance, tokens and NFTs. A token contract keeps a ledger of who owns how many units; an exchange contract holds two tokens in a pool and swaps them at a price set by a formula; a lending contract accepts collateral and liquidates it if its value falls too far. Contracts can call one another, so complex services can be assembled from simpler pieces.
The strength of a smart contract is also its weakness. Once deployed, the code usually cannot be changed, and it does exactly what it says, not what its authors intended. Bugs have led to losses of hundreds of millions of dollars. Contracts also cannot see the outside world on their own; they rely on oracles for prices and other data. Despite the name, a smart contract is not automatically a legally binding contract.
In practice
Developers write contracts in languages such as Solidity, have them audited, and deploy them to Ethereum and similar chains. Users interact with them through wallet apps when they swap tokens, lend or vote in a DAO.
Watch out
- A smart contract is code, not a legal agreement; whether it is enforceable in court depends on the law.
- An audit lowers the risk of bugs but cannot remove it.
Learn it properly
- What is Ethereum?5 min lesson Free course: Crypto & digital assets: Intermediate
- What is DeFi (decentralised finance)?15 min lesson Free course: Crypto & digital assets: Intermediate
- What is tokenisation of real-world assets?15 min lesson Free course: Crypto & digital assets: Intermediate
- What is blockchain?15 min lesson Free course: Crypto & digital assets: Beginner
Official sources
- Introduction to smart contracts · Ethereum open-source project
- Smart contract (glossary) · National Institute of Standards and Technology
Facts last checked on 1 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.