Introduction to Ethereum
Ethereum is a decentralized platform that extends blockchain beyond simple currency transactions. Created by Vitalik Buterin in 2015, it introduced smart contracts β self-executing programs that run on the blockchain, enabling decentralized applications (DApps).
Ethereum vs Bitcoin
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββ
β FEATURE β BITCOIN ETHEREUM β
ββββββββββββββββββββββββΌββββββββββββββββββββββββββββ€
β Purpose β Digital cash Programmableβ
β β platform β
β Smart Contracts β Limited Full β
β Block Time β ~10 min ~12 sec β
β Consensus (current) β PoW PoS β
β Supply β 21M cap No cap β
β Programming Lang β Script Solidity β
β TPS (approx) β 7 15-30 β
ββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββ
The Ethereum Virtual Machine (EVM)
The EVM is the runtime environment for smart contracts. Every node on the Ethereum network runs the EVM, ensuring that all participants reach the same result when executing the same code.
ββββββββββββββββββββββββββββββββββββββββ
β Smart Contract (Solidity) β
β β β
β βΌ β
β ββββββββββββββββ β
β β Compile to β β
β β EVM Bytecodeβ β
β ββββββββ¬ββββββββ β
β β β
β βΌ β
β ββββββββββββββββ β
β β EVM executesβ on every node β
β β deterministiβ cally β
β ββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββ
Ether (ETH) β The Native Token
ETH is used to pay for computational resources (gas) on the Ethereum network. Every operation β from a simple transfer to complex contract logic β costs gas, measured in gwei (1 ETH = 10^9 gwei).
The Merge β Proof of Stake
In September 2022, Ethereum transitioned from Proof of Work to Proof of Stake ("The Merge"). This reduced Ethereum's energy consumption by ~99.95% while maintaining security through economic penalties for misbehavior.