# Smart Contract
A program stored on a [[Blockchain]] that runs automatically when predefined conditions are met, moving tokens or data without a human intermediary. The term was coined by computer scientist Nick Szabo in 1994 — well before the technology existed — and became practical with Ethereum's launch in 2015, which made the blockchain programmable rather than just a ledger of payments. "If X happens, send Y to address Z" is the basic shape; the contract enforces itself because it is code that everyone on the network runs and verifies.
## Why the term matters
Smart contracts are what turn a blockchain from a payment system into a platform. Almost everything in the crypto economy beyond plain coin transfers — decentralized exchanges, lending protocols (DeFi), tokens (see [[Token vs Coin]]), NFTs, and [[Memecoin]]s — is a smart contract or a stack of them. Every transaction that triggers one costs [[Gas Fees]].
The term also carries a political-philosophical payload: **"code is law."** The aspiration is that agreements enforced by transparent, autonomous code remove the need to trust governments, courts, or banks — a vision that maps neatly onto crypto's libertarian roots and the [[Decentralization]] ideal. In practice the slogan has been repeatedly punctured: the 2016 DAO hack drained a flagship smart contract through a code flaw, and the Ethereum community reversed it with a hard fork — proving that when enough money is at stake, human governance overrides the code after all.
For this vault, the practical significance is darker. The same self-executing automation that enables legitimate finance also industrializes extraction: a [[Rug Pull]] is a smart contract written so the creator can drain holders, and the $TRUMP and $MELANIA launches in the [[$TRUMP Memecoin Universe]] were smart contracts whose token-distribution rules concentrated supply with insiders. "Trustless" code does not mean honest code — it means the rules are whatever the deployer wrote.
## See Also
- [[Blockchain]] — the substrate smart contracts run on
- [[Gas Fees]] — the cost of executing one
- [[Token vs Coin]] — most tokens are smart contracts
- [[Rug Pull]] — the malicious-contract failure mode
- [[Decentralization]] — the "code is law" ideal