DFIELDSOLUTIONS

Blockchain

GlossarySmart contract

A program deployed to a blockchain that runs exactly as written, that anyone can call, and that usually cannot be changed afterwards.

Three properties define the engineering problem. The code is public, so anybody can study it for mistakes. Anybody can call it, so there is no trusted caller. And on most chains it cannot be patched once deployed, so a bug is permanent unless an upgrade path was designed in beforehand — and an upgrade path is itself a centralisation risk somebody has to hold the keys to.

Together those turn ordinary software mistakes into immediate, irreversible financial losses, which is why this field has a testing culture that is unusual by normal application standards: property-based tests, fuzzing, formal reasoning about invariants, and independent review before anything holds real value.

Related terms

The bench this belongs to

Blockchain

Solidity on Ethereum, Polygon, Base and Arbitrum. Anchor programs on Solana. Written with tests first, because a redeploy is not a hotfix once value is on the line.

All termsStart a conversationMarkdown version

DField Bt. · Dunakeszi · dezso@dfieldsolutions.com
5.0
“From LinkedIn DM to live site. Two tiny tweaks, then shipped.”Michael J Ringer · Vilya ProtectionFounder · Spain