LessonLearn the foundationsRoot: Know what you are buyingCrypto from first principles, lesson 3 of 8

Why is Ethereum programmable?

See how Ethereum extended the Layer 1 idea with shared programs, ETH gas, and new trade-offs.

CoinBeaver TeamPublished Jul 14, 2026Updated Jul 29, 2026Share
A modular rules machine transforms different inputs into an updated shared state
On this page

Quick read

Ethereum extends the Layer 1 idea by letting shared programs run alongside asset transfers. This lesson explains how smart contracts change what a network can coordinate, why ETH pays for gas, and why flexible code creates extra costs and risks that users must understand before approving a transaction.

What to remember

  • Ethereum kept the Layer 1 idea and widened it: the network maintains shared rules for programs, not just a record for one asset.
  • A smart contract is not self-enforcing — it is code whose result the network's rules check, which is why every participant reaches the same state.
  • ETH is both the native asset and the way gas is paid, so you need ETH to transact on Ethereum no matter what the transaction does.
  • Flexible code widens the failure surface as well as the build surface: confirm the network and the contract before approving any wallet prompt.

What question did Ethereum add?

Bitcoin's base layer was designed to maintain a shared record for its native asset. Ethereum kept the Layer 1 idea but added a broader question: can a network also maintain shared rules for programs?

On Ethereum, programs called smart contracts can define actions that run when a transaction calls them. The result is recorded on the same shared network, rather than on one company's private server.

How does programmable shared state work?

The important idea is not that a contract is magically self-enforcing. It is code whose result is checked by the network's rules. If the same valid call is made, participating nodes work toward the same resulting state.

Steps

  1. Write shared rules in code

    A smart contract specifies what the program can do and what conditions it checks.

  2. Call the program with a transaction

    A user asks the network to execute a permitted action, such as exchanging a token or updating a record.

  3. Record the accepted result

    The network validates the transaction and records the resulting state according to its rules.

What is ETH used for?

ETH is Ethereum's native asset. It is also used to pay gas: the cost a transaction offers for the computation and network resources it consumes. Gas makes resource use visible, but the total cost can change with network demand and the action being performed.

How does Ethereum differ from Bitcoin?

Two Layer 1 design goals
QuestionBitcoinEthereum
Primary focusA shared settlement history for BTC under Bitcoin's protocol rules.A shared settlement history plus an environment for smart-contract programs.
Native assetBTCETH
Resource costTransaction fees compete for block space.Gas prices computation and transaction resource use.

What did programmability trade away?

More flexible code creates more ways to build, but also more ways to make a mistake. A smart contract can contain a bug, a transaction can call the wrong contract, and execution costs can vary. Programmable does not mean safer or better for every use; it means the base layer supports a broader set of shared rules.

Conclusion

Ethereum kept Bitcoin's idea of a base layer that settles its own transactions and widened the question it answers. Instead of maintaining a shared record for one asset, it maintains shared rules for programs. A smart contract is not self-enforcing magic; it is code whose result the network's rules check, which is why the same valid call produces the same recorded state for every participant.

ETH carries two jobs that beginners often merge into one. It is Ethereum's native asset, and it is what pays gas — the cost a transaction offers for the computation and network resources it consumes. That makes resource use visible, but it also means the cost of an identical action is not fixed: it moves with network demand and with how much work the action actually requires.

The trade-off is the part worth internalizing. Flexible code creates more ways to build and more ways to be harmed. A contract can contain a bug, a transaction can call a contract you did not intend, and execution costs can vary between the moment you decide and the moment you sign. Programmable does not mean safer — it means the base layer supports a broader set of shared rules, with a correspondingly broader set of failure modes. Before approving a wallet prompt, confirm which network you are on and which contract you are addressing, because a perfectly valid transaction can still produce an outcome you did not want.

Bitcoin and Ethereum make the trade-off visible: a shared base layer can be secure and open, yet it has limited capacity and costs. The next chapter asks how newer Layer 1 networks and Layer 2 systems try to change those trade-offs without losing the value of a shared settlement layer.


Frequently asked questions

Related coins

Keep learning

Recommended next reads based on this lesson.