Bitcoin
Bitcoin is a decentralized digital currency introduced by Satoshi Nakamoto. Unlike traditional currencies, Bitcoin operates without central banks or monetary authorities. Instead, it relies on a distributed ledger system maintained collectively by network participants.
Proof of Work (POW)
Bitcoin uses POW as its consensus mechanism:
- Miners compete to solve complex mathematical puzzles by adjusting the nonce value in block headers
- The first miner to find a valid hash (with leading zeros) earns the right to add a new block
- Successful miners receive BTC rewards—this process is known as "mining"
P2P Network Structure
Bitcoin operates on a peer-to-peer network where:
- All participants have equal status
- No central server exists
- Transactions propagate directly between nodes
Bitcoin Addresses
Key characteristics:
- Generated from public key hashes
- Recommended to use new addresses for each transaction
- Enhances privacy through pseudonymity
Wallets
Bitcoin wallets:
- Generate cryptographic key pairs (public/private keys)
- Public keys create addresses to receive BTC
- Private keys authorize transactions through digital signatures
Blockchain Technology
The Bitcoin blockchain is:
- A public ledger recording all historical transactions
- Composed of interconnected blocks containing multiple transactions
- Used to verify account balances and prevent double-spending
Node Types:
| Node Type | Data Storage | Online Status | Verification Capabilities |
|---|---|---|---|
| Full Node | Complete blockchain | Always online | Validates all transactions |
| Light Node | Block headers + relevant transactions | Intermittent | Limited verification capacity |
Transaction Process
Example: Alice sends Bob 1 BTC
- Bob generates address B and shares it with Alice
- Alice creates transaction: "Send 1 BTC from Address A to Address B"
- Alice signs transaction with private key
- Transaction broadcasts to P2P network
- Miners include transaction in new block
- After block confirmation, transaction completes
Bitcoin uses ECDSA with secp256k1 elliptic curve for signatures.
UTXO Model
Bitcoin's state consists of Unspent Transaction Outputs (UTXOs):
- Each UTXO has specific value and owner
- UTXOs are indivisible (minimum 1 satoshi = 0.00000001 BTC)
- Transactions consume existing UTXOs and create new ones
Example:
Alice has 25 BTC UTXO → Pays Bob 11.7 BTC
Result:
- New UTXO for Bob (11.7 BTC)
- New UTXO for Alice (13.3 BTC change)
Sidechains
Sidechain functionality:
- Enables asset transfer between Bitcoin and other blockchains
- Maintains security through two-way pegging
- Allows Bitcoin usage in specialized blockchain ecosystems
Bitcoin's Fixed Supply
Key economic aspects:
- Total supply capped at 21 million BTC
- Block rewards halve every 210,000 blocks (~4 years)
- Current reward: 6.25 BTC per block
- Next halving expected in 2024 (3.125 BTC reward)
The mathematical progression ensures asymptotic approach to 21 million:
210,000 blocks × (50 + 25 + 12.5 + 6.25 + ...) = 21 million BTC
Ethereum
Ethereum extends blockchain functionality with:
- Turing-complete Ethereum Virtual Machine (EVM)
- Smart contract capabilities
- Decentralized application (dApp) platform
👉 Discover how Ethereum revolutionizes decentralized finance
Smart Contracts
Key features:
- Self-executing code stored on blockchain
- Triggered by transactions or events
- Can interact with other contracts
- Enforce terms without intermediaries
Account System
Ethereum uses account-based model (vs Bitcoin's UTXO):
| Account Type | Controlled By | Contains | Can Initiate Transactions |
|---|---|---|---|
| External | Private key | Ether balance | Yes |
| Contract | Code | Smart contract + storage | No |
Transactions
Ethereum transaction components:
- Recipient address
- Value transfer amount
- Nonce (transaction counter)
- Gas parameters (price/limit)
- Optional data field
- Digital signature
Post-EIP-1559 improvements:
- Base Fee (algorithmically determined)
- Priority Fee (miner incentive)
- Max Fee (user-set ceiling)
Gas Mechanism
Gas fundamentals:
- Computational work unit for EVM operations
- Prevents infinite loops and spam
- Paid in ETH (1 ETH = 10¹⁸ wei)
Transaction cost calculation:
Total Fee = Gas Used × Gas Price
Messages
Contract-to-communication through:
- Virtual message objects
- Similar structure to transactions
- Contains sender/receiver, value, data
- Limited by gas allowance
Ethereum Virtual Machine
EVM characteristics:
- Sandboxed execution environment
- Runs across all network nodes
- Ensures deterministic results
- Charges gas for opcode execution
Ether Cryptocurrency
ETH functions:
- Network currency for transactions
- Gas payment for contract execution
- Mining reward (currently ~2 ETH/block)
- Staking asset (post-Merge)
Mining Mechanics
Current consensus (transitioning to PoS):
- Ethash algorithm (memory-intensive)
- ASIC-resistant by design
- Average block time ~13 seconds
Post-EIP-1559 changes:
- Base Fee burn mechanism
- Potential deflationary pressure
- Improved fee market predictability
FAQ
What's the difference between Bitcoin and Ethereum?
Bitcoin is primarily digital money, while Ethereum is a programmable blockchain supporting smart contracts and dApps. Bitcoin uses UTXO accounting, Ethereum uses accounts.
How do Bitcoin transactions stay secure?
Through cryptographic signatures and decentralized verification by miners. Each transaction must be confirmed by multiple blocks before considered final.
Why does Ethereum need gas?
Gas prevents infinite loops and spam by assigning computational costs to operations. Users pay for network resources proportional to their usage.
Can Bitcoin support smart contracts?
While limited compared to Ethereum, Bitcoin supports basic smart contracts through Script language (used in multisig, timelocks, etc.).
What happens to ETH after Ethereum transitions to PoS?
The network will no longer require energy-intensive mining. Validators will secure the network by staking ETH, earning rewards through newly issued ETH and transaction fees.
👉 Learn more about blockchain innovations
How often do Bitcoin halvings occur?
Approximately every four years (210,000 blocks). The next halving will reduce block rewards from 6.25 BTC to 3.125 BTC.
What makes Ethereum smart contracts "smart"?
They automatically execute predefined terms when conditions are met, without requiring trusted intermediaries or manual oversight.