Blockchain technology · · 6 min read
What is Ethereum and how is it different from Bitcoin?
Ethereum is a public blockchain that can run not only payments but also programs called smart contracts. Its native currency, ether (ETH), is used to pay transaction fees and to secure the network through proof of stake.
A blockchain is a shared ledger, linked together in blocks, that many computers on the network keep identical copies of. Bitcoin uses this ledger mainly to answer the question "who owns how much". Ethereum extends the same idea into "a shared computer that anyone can use".
A short history
A few milestones stand out in Ethereum's development:
- 2013: Vitalik Buterin set out the idea of Ethereum in a whitepaper.
- 2014: development was funded through a crowdsale in which ETH was offered for sale.
- July 30, 2015: the mainnet went live.
- 2016: after the attack on a project called The DAO, the network split; the original chain, which rejected the change, continued as Ethereum Classic.
- September 2022: through a transition called "the Merge", the network moved from proof of work to proof of stake.
How does Ethereum work?
Accounts and shared state
Ethereum has two kinds of accounts. User accounts are controlled by their owner's private key; smart contract accounts are governed by the code inside them and cannot start a transaction on their own, they only run when called. The network keeps a shared "state" containing every account's balance and the data stored by contracts. Each new block contains transactions that update this state.
This design is called the account model. Bitcoin instead tracks balances as the sum of unspent transaction outputs (UTXOs); Ethereum's account model makes it easier to keep track of the state of complex programs.
The Ethereum Virtual Machine (EVM)
Smart contracts are usually written in a language such as Solidity and compiled into bytecode that the EVM (Ethereum Virtual Machine) understands. Every full node on the network runs the same code with the same inputs and reaches the same result. That way, what a contract does is decided by the code itself, not by a single company. Once a contract is deployed, its code generally cannot be changed; this is both a source of trust and a source of risk.
Gas: every action has a price
On Ethereum, every computational step has a cost, measured in units of "gas". The user pays a fee in ETH equal to the gas used multiplied by the gas price. Gas prices are usually quoted in gwei; 1 gwei is 0.000000001 ETH.
A hypothetical calculation: a simple ETH transfer uses 21,000 gas. At a gas price of 20 gwei, the fee is 21,000 × 20 = 420,000 gwei, or 0.00042 ETH. A complex contract call can use far more gas. When the network is busy, gas prices rise and the same transaction becomes more expensive.
The gas system does two jobs: it makes flooding the network with useless transactions expensive, and it stops a program stuck in an infinite loop from freezing the network, because the transaction halts when its gas runs out. Since a change called EIP-1559, part of the fee (the base fee) is burned and removed from circulation.
Proof of stake
Since the Merge, blocks are produced by validators rather than miners. Running a validator requires locking up 32 ETH as stake. Validators take turns proposing blocks and attesting to other validators' blocks; misbehavior is punished by cutting part of the stake (slashing). A new block slot comes around roughly every 12 seconds.
Key differences from Bitcoin
| Bitcoin | Ethereum | |
|---|---|---|
| Main focus | Digital money and value transfer | Programmable platform |
| Programmability | Deliberately limited scripting language | General-purpose smart contracts (EVM) |
| Consensus | Proof of work (mining) | Proof of stake (since 2022) |
| Supply | 21 million cap | No fixed cap; depends on issuance versus burn |
| Block interval | About 10 minutes on average | About 12 seconds |
| Ledger model | UTXO | Account model |
| Smallest unit | satoshi | wei (10^-18 ETH) |
The supply difference is often overlooked. ETH has no hard cap fixed in code the way Bitcoin does. New ETH is issued to validators as rewards, while part of the transaction fees is burned. Whether net supply grows or shrinks varies from period to period depending on network usage.
What runs on Ethereum?
Ethereum's real impact comes from what is built on top of it:
- Tokens: thanks to the ERC-20 standard, anyone can issue their own token on Ethereum. Many stablecoins work this way.
- DeFi (decentralized finance): applications that handle lending, borrowing and swapping through smart contracts instead of intermediaries.
- NFTs: tokens that represent unique digital items (the ERC-721 standard).
- DAOs: communities whose rules are defined in smart contracts and which are governed by token holders' votes.
- Layer 2 networks: networks that process transactions in batches off the main chain and post the results to Ethereum. The goal is to lower fees while inheriting security from the main chain.
Limitations and risks
Ethereum's flexibility comes with its own set of risks:
- Smart contract bugs: a flaw in the code can lead to funds being lost for good. Transactions on the chain generally cannot be reversed.
- Variable fees: at busy times, mainnet fees can rise enough to make small transactions pointless.
- Complexity: contract approvals signed without understanding what they do can have consequences up to and including a drained wallet.
- Fragmentation: as much of the scaling moves to layer 2 networks, assets spread across different networks and moving between them brings its own risks.
- Concentration debates: the concentration of staked ETH with large service providers is a frequently debated topic when it comes to decentralization.
Like other crypto assets, ETH's price is volatile; there is no direct, predictable link between technical success and price.
Key takeaways
- Ethereum is a public blockchain that can run programs called smart contracts; ETH is the network's native currency.
- Every transaction is measured in gas and paid for in ETH; the gas system protects the network from spam and infinite loops.
- With the Merge in 2022, the network moved from proof of work to proof of stake; validators operate with a 32 ETH stake.
- Unlike Bitcoin, ETH has no fixed supply cap; net supply depends on the balance of issuance and burn.
- Tokens, DeFi, NFTs and layer 2 networks run on Ethereum; that flexibility also brings smart contract and user-error risks.