Dictionary · S
Smart contract
also: on-chain program, self-executing contract
A smart contract is a program stored on a blockchain that runs exactly as written when someone sends it a transaction, holding and moving tokens without a middleman.
Rules checked against GOV.UK, the FCA and legislation.gov.uk on 17 November 2026. How entries are checked
What does the code do that a company would normally do?
Think of a vending machine rather than a solicitor. Put in the right input and the code pays out, every time, with no one to persuade or complain to. Swapping on a decentralised exchange, lending, minting an NFT: each one is a smart contract doing what a company would otherwise do.
'Runs exactly as written' cuts both ways. If the code has a bug, the bug runs exactly as written too, and many contracts are upgradeable by whoever holds an admin key, which means a team can change the rules after you've deposited. When a site asks you to 'approve' a token, you're signing a permission for a contract to move your tokens, often with no limit and no expiry.
We found no UK statute that defines a smart contract. Whether one forms a legally binding agreement in England and Wales or Scotland is a question for ordinary contract law and the facts, so take legal advice if anything significant turns on it.
Nadia approves a 'free mint' website to spend her tokens, thinking she's only signing in. The contract she approved can now move those tokens whenever it likes, and that evening it takes £600 worth. Nobody hacked her phone: she signed the permission herself, and the contract did exactly what it was written to do.
Not the same as DeFi: DeFi is the wider set of financial services people build without a bank in the middle; smart contracts are the building blocks they're made from.
| Smart contract | DeFi | Oracle | |
|---|---|---|---|
| What it is | A program stored on a blockchain | Financial services built without a bank | A feed of outside data |
| Examples | A swap, a loan, an NFT mint | Lending, borrowing, swapping, earning | Exchange rates, match results |
| Role | The building block that acts | The wider set of apps | Tells contracts what happens off-chain |
This page explains smart contracts in general; if money or a legal dispute turns on one, get advice on your own facts.
What should you check before signing an 'approve' request?
- Read every signature request. 'Approve' or 'set approval for all' hands spending rights over your tokens to a contract.
- Revoke old token approvals from your wallet's settings when you're done with a site.
- 'Audited' is not a guarantee: audits miss bugs, and fake audit badges are easy to make.
Questions people type about smart contract
are smart contracts legally binding in the uk
There is no specific UK statute on them that we found. Whether one is binding depends on ordinary contract law and the circumstances.
can a smart contract be changed
Some can't be changed once deployed. Many are upgradeable by an admin key, which means the team can alter how they work later.

