Search
Results for “Code is law vs Social consensus”
Code is law
"Code is law" is the view that a smart contract's code is the final word on what happens to the funds it controls: whatever the code allows stands, even if the result was unintended. No outside authority, developer group or vote steps in to undo it.
What it means for you. If a contract you use has a bug or is exploited, the code-is-law view says the outcome stands and there are no refunds unless the code itself provides one. Whether a loss is ever reversed in practice depends on whether a network's community chooses to change the rules, as Ethereum's did in 2016, splitting the network in two.
Sources: Ethereum Classic: Code is Law, ethereum.org: History of Ethereum (DAO fork), Vitalik Buterin, The Most Important Scarce Resource is Legitimacy (2021) · checked 4 October 2026
Social consensus
Social consensus is the agreement among a blockchain's users, developers and node operators about which rules and which chain are the real ones. Software enforces the rules, but people choose which software to run, so in a dispute, such as a contested fork, the community's choice decides what the network is.
What it means for you. Your coins count on whichever chain the community and the services around it recognize. If a network splits, you can end up holding coins on both chains, but which one keeps its value, apps and exchange listings depends on where people go, not on any code guarantee. Rule changes you never voted on can be adopted the same way.
Sources: Vitalik Buterin, The Most Important Scarce Resource is Legitimacy (2021), ethereum.org: History of Ethereum (DAO fork), BIS Annual Economic Report 2018, Chapter V: Cryptocurrencies: looking beyond the hype · checked 4 October 2026