Skip to content
CryptoSober

Glossary · Ethereum

Smart contract

A smart contract is a program stored on a blockchain that runs automatically, exactly as written, when someone sends it a transaction.

By Abu HosainPublished 1 min read

In simple terms

A smart contract is code that lives on a blockchain. It holds funds and follows fixed rules without a person in the middle to approve each step.

How it works

A developer writes the program and publishes it to a network such as Ethereum, where it gets its own address. Anyone can then send it a transaction, and every node runs the same code and reaches the same result. Ethereum.org compares it to a vending machine: "specific inputs guarantee predetermined outputs."

Tokens, DeFi apps and NFTs are all smart contracts.

Example

A lending contract accepts a deposit, records it, and releases it with interest when the depositor asks. No employee is involved at any point.

Why it matters for safety

A contract does what its code says, not what its website promises. Bugs can be exploited, and some contracts are written to cheat. Many also give their creators special powers, such as minting new tokens or blocking transfers, through contract ownership. A proxy contract can even have its logic replaced later. Before trusting a token, check who controls its contract. Coin Check shows these signals.

Sources

  1. 01Ethereum.org, Smart contracts

This page is educational. It is not financial, investment, legal, or tax advice. See our editorial policy and how to report an error.