Glossary definition

Smart contract

A smart contract is a program deployed to a blockchain whose state-changing functions execute under the network's deterministic consensus rules.

also: onchain program, blockchain contract · reviewed July 22, 2026

Nick Szabo first defined the term smart contract in 1994. That was 14 years before the invention of Bitcoin, and there has long been speculation in Bitcoin circles that Nick Szabo might be Satoshi Nakamoto.

Today, the term smart contract is associated with blockchain technology. A smart contract is code deployed to a blockchain network. Its predefined conditions and rules execute a specific action when those conditions are fulfilled. A deployment may be immutable, or it may be upgradeable through a proxy or another governance mechanism; deployment alone does not make code unchangeable.

An example of a smart contract in DeFi is a lending market: when a user deposits collateral into the contract, the protocol may allow that user to borrow up to a defined percentage of the collateral’s value.

Used in context

Articles using this term.