Ethereum's developer documentation, retrieved Dec. 3, 2026, describes a smart contract as a program on the Ethereum blockchain. It can define rules like a regular contract and enforce them automatically through its code. Once it is deployed, meaning published to the network, it runs as programmed, and no user controls it.
Key facts from Ethereum's developer documentation
- Deletion: Contracts cannot be deleted by default. Interactions with them are irreversible.
- Outside data: A contract alone cannot get real-world event information. Oracles ingest outside data and make it available to contracts.

How a contract is built and deployed
Ethereum's documentation says a contract must be compiled before it can be deployed. Compiling translates the code into a form the Ethereum Virtual Machine (EVM) can interpret and store. The EVM is the environment that executes contract code consistently across all Ethereum nodes, the computers that run the network. Deploying a contract is itself a transaction, so the developer pays gas, the network fee for each transaction. A simple transfer of ether (ETH), Ethereum's own currency, also requires gas.

Using a contract
After deployment, users interact with a contract by submitting a transaction, a request sent to the network, that executes a function defined on it. Gas is required for any transaction that involves a smart contract, so each transaction that calls a contract carries a fee. A validator, the party that adds transactions to blocks, must pick up the transaction and include it in a block to verify it.
Hypothetical example
Editorial analysis: Suppose a developer deploys a contract that releases a token only when a user's transaction calls its function. This is a hypothetical example, not a described product. In this example, the rule acts only when a user submits that transaction. The steps would be to compile the code, deploy it with gas, and then have a validator include the user's transaction in a block.
Why deployed code stays as it is
Editorial analysis: Ethereum's account documentation says a contract's code cannot be changed once it is deployed, unlike the other account fields. This is an inference from that statement: a flaw in deployed code cannot be edited out after deployment.
What the code cannot see
Ethereum's developer documentation says smart contracts alone cannot get information about real-world events. They cannot retrieve data from offchain sources, meaning data outside the blockchain. Oracles are tools that ingest offchain data and make it available to smart contracts.

Check before you sign
Before you sign, check three things: whether the action calls a deployed contract, whether its result depends on outside data, and whether you expect the code to change or the action to be reversed later.
Check what your action touches
Does the rule apply to what you are about to do?
Are you about to submit a transaction that calls a function on a deployed smart contract?
Source: Introduction to smart contracts | ethereum.org (ethereum.org), accessed Dec 3, 2026Does the result depend on facts from outside the blockchain?
- Yes → Outside data needs an oracle
- No → next question
Are you counting on the contract's code being changed, or on the action being reversed later?
Source: Introduction to smart contracts | ethereum.org (ethereum.org), accessed Dec 3, 2026 · Ethereum accounts | ethereum.org (ethereum.org), accessed Dec 3, 2026
This checklist covers calls to a deployed contract. Deploying a contract is also a transaction, and it requires gas.
Source: Introduction to smart contracts | ethereum.org (ethereum.org), accessed Dec 3, 2026A smart contract alone cannot get real-world event information. An oracle supplies it, since oracles ingest offchain data and make it available to smart contracts.
Source: Introduction to smart contracts | ethereum.org (ethereum.org), accessed Dec 3, 2026A deployed contract's code cannot be changed. The contract cannot be deleted by default, and interactions with it are irreversible.
Source: Introduction to smart contracts | ethereum.org (ethereum.org), accessed Dec 3, 2026 · Ethereum accounts | ethereum.org (ethereum.org), accessed Dec 3, 2026Gas is required for any transaction that involves a smart contract. A validator must include the transaction in a block to verify it.
Source: Transactions | ethereum.org (ethereum.org), accessed Dec 3, 2026This checklist describes general Ethereum behaviour from its documentation, not advice about any particular contract.
Languages
Ethereum's developer documentation says Ethereum has developer-friendly languages for writing smart contracts. CoinFulcrum, a beginner's guide, calls Solidity, a programming language, the best-known one for Ethereum.
Is it a legal contract?
CoinFulcrum says a smart contract is not necessarily a traditional legal contract. The name does not settle whether a given contract also creates a legal agreement.
Analysis: what the documentation leaves open
The documentation explains how Ethereum contracts run. It does not show how any particular contract was written. For a reader, the practical questions are who wrote the code and who supplies any outside data. Public code you can check is one place to start.
A vending-machine comparison
Ethereum's documentation says a vending machine is perhaps the best metaphor for a smart contract, as described by Nick Szabo. The comparison is a metaphor, so it illustrates the idea and does not describe the network that runs the code.
Where to go next
Before signing any transaction, run it through the checklist above. A separate explainer covers what Ethereum is and how its currency, ETH, works.
Sources are Ethereum's developer documentation, retrieved Dec. 3, 2026, and one beginner guide from CoinFulcrum. Other blockchains are not covered.
Sources: Introduction to smart contracts | ethereum.org (ethereum.org), accessed Dec 3, 2026 · Ethereum Virtual Machine (EVM) | ethereum.org (ethereum.org), accessed Dec 3, 2026 · Transactions | ethereum.org (ethereum.org), accessed Dec 3, 2026 · Ethereum accounts | ethereum.org (ethereum.org), accessed Dec 3, 2026 · What Is a Smart Contract? Beginner’s Guide | CoinFulcrum (coinfulcrum.com), accessed Dec 3, 2026
ZIPMEX promotes trading on trade.zipmex.com. Promotions are labelled and kept separate from news coverage, which is selected and checked without regard to them. Perpetual futures are leveraged derivatives. Prices can move fast and you can lose all of your margin. Not available in every jurisdiction. Not investment advice.