Why did blockchain development move beyond payments? Follow Ethereum’s early history through a simple escrow example to understand shared programs, gas costs and the limits of what a smart contract can know.
Open the complete story and reading map
Bitcoin showed how a network could check who may spend money and agree on its payment history. Developers then asked a broader question: could the same shared record run rules for an application—for example, holding a payment until a buyer accepts the work?
A smart contract is a program that follows specified rules on a blockchain. Ethereum's original whitepaper argues for a general platform where these programs can interact and change shared records. Such a change—from “unpaid” to “paid,” for example—is called a state transition. That is a design argument, not a claim that Ethereum invented every form of smart contract. Bitcoin already had a scripting system, and programmable agreements had earlier precedents. Ethereum's whitepaper should also be read as a historical document: its implementation details are not a substitute for current protocol documentation.
Try the failed-transaction lab: follow the escrow tokens and the ETH fee separately.
2015: an environment people could actually use
The Ethereum Foundation's July 30, 2015 announcement marks Frontier, the first live release. This separates the proposal and development period from network launch. The historical shift was not “payments stopped mattering.” It was that transfers could now be one step inside a more general application.
A shared escrow, without magical knowledge
Escrow holds a payment until agreed conditions are met. Consider a fictional digital-design commission. Noor deposits 100 units into an escrow program. The program tracks a buyer, a seller, a deadline and a status. It releases payment when the buyer signs acceptance; if a dispute occurs, a named arbitrator can decide under the agreed rules. This is a teaching design, not deployable contract code.
Follow the example: what changes at each step of the escrow?
| Before | Accepted input | After | Unsolved outside question |
|---|---|---|---|
| Awaiting deposit | Required funds arrive | Funded | Was the buyer misled about the product? |
| Funded | Buyer's valid acceptance | Paid to seller | Was acceptance obtained under pressure? |
| Disputed | Authorized arbitrator decision | Release or refund | Is the arbitrator competent and available? |
State means the recorded situation that the next operation reads and changes. Every validating participant should obtain the same result from the same accepted inputs and rules. That consistency does not tell the program whether a design is beautiful, a parcel arrived or a human acted fairly. External information needs a defined source—often called an oracle—or an explicit human decision.
Why not run the same escrow on an ordinary server?
You can. A server may offer cheaper execution, private data and easier correction. A shared blockchain becomes interesting when multiple parties need to verify a common state and accept its control arrangements. It also brings public execution costs and constraints. The choice should start with the participants' problem, not with a rule that every application needs a token.
Compare the two deployments by asking who can change the program, who can stop execution, who holds the assets and how a dispute is resolved. A contract with an administrator upgrade key may still give that administrator substantial power. The presence of a blockchain does not answer those questions for you.
Gas: a resource budget, not a promise of success
Executing shared programs consumes resources. Ethereum uses gas to meter work and transactions set limits on consumption. The historical whitepaper explains why unbounded computation would be a problem. A request that fails can still consume work; a transaction fee is not a warranty that the business outcome will be what the user intended.
In our escrow, imagine the buyer accidentally chooses the wrong function. The network may faithfully execute an authorized instruction that the buyer regrets. A good interface must explain the requested action before signing, while the contract must handle the situations its designers intend to support.
Reader lab: no payment, but still a gas fee?
A fictional modern Ethereum L1 transaction, not a 2015 transaction or a live fee quote. Our escrow already holds 100 service tokens. A caller who is not the authorized buyer tries to release them. The contract rejects that caller and the entire transaction reverts. Assume an ordinary transaction sent and paid for by a regular account, with no blob or L2 fees and no unrelated token movements.
| Field | Example value | What to read |
|---|---|---|
| Submitted gas limit | 100,000 gas | The allowed budget, not the final bill. |
| Receipt status | 0x0 | Execution failed; this field alone does not explain why. |
| Receipt gasUsed | 45,000 gas | The gas charged for this transaction. |
| Receipt effectiveGasPrice | 12 gwei per gas | The actual price per gas; raw RPC values are in wei. |
Work it out: what happened to the 100 tokens, and what was the fee?
The escrow still holds 100 tokens; this attempt pays the seller zero. The reverted application changes do not survive. The sender's execution fee is 45,000 × 12 = 540,000 gwei = 0.00054 ETH, using 1 ETH = 1,000,000,000 gwei. Do not multiply the 100,000 gas limit by the price and call that the bill. The token amount and the ETH fee are separate assets. Transaction-level accounting, including the sender's nonce and gas charge, is not undone by the application's revert.
Would raising the gas limit to 200,000 fix the rejected caller?
No. More execution budget does not grant permission. In this example, the failure is the caller check, not insufficient gas. A failed receipt alone cannot distinguish those causes; inspect the contract's rules and available error information before diagnosing it. This is a paper exercise and requires no wallet connection or transaction.
Important boundary: a transaction rejected before block inclusion is different from an included transaction that fails during execution. Also, a deliberate revert need not consume all remaining gas; an out-of-gas failure is a different case. A transaction marked successful can still perform an action the user did not intend, so success is not proof that the seller delivered.
Official references: Ethereum's receipt field definitions, gas and fee explanation, and EIP-140's revert behavior. The numerical receipt above is Blockchain808's teaching example.
Connecting programs creates both opportunities and dependencies
Now imagine the escrow receives a token, consults a price feed and sends funds to another application. Reusing components in this way is called composability. It can make new services easier to build. It also creates a dependency chain. An error in a token permission, an unsuitable price observation or an unavailable outside decision can affect the larger workflow.
Draw the chain as four questions: what comes in, which rule runs, what outside evidence is trusted and who receives control afterward? This is a more useful beginner exercise than memorizing dozens of application names.
The next chapter examines what happens when deployed application code behaves in a way its users did not expect. The DAO made the difference between contract behavior and collective governance impossible to ignore.
Check your reasoning: if every node agrees that the escrow paid correctly, must the seller have delivered?
No. Agreement means the accepted inputs produced the specified state transition. Delivery is an outside fact. The design must identify who attests to it and what happens if that information is wrong or contested.
Go deeper: Ethereum architecture · Oracles and outside data.
