Learn cryptocurrency fundamentals (blockchain basics)
2.3.8· Stock-Market › Commodities, Forex & Crypto
Overview
Blockchain woh foundational technology hai jo cryptocurrencies ke peeche hai—ek distributed, immutable ledger jo transactions ko computers ke ek network mein record karta hai bina kisi central authority ke. Blockchain ko samajhna zaroori hai cryptocurrencies ko investment assets ki tarah evaluate karne ke liye.

Core Concepts
[!intuition] Blockchain Kyun Exist Karta Hai
Traditional finance mein trusted intermediaries (banks, clearinghouses) chahiye hote hain double-spending rokne aur transaction records maintain karne ke liye. Lekin kya ho agar hum ek aisa system bana sakein jahan:
- Sabke paas ek copy ho transaction history ki
- Mathematical proof trust institutions ki jagah le le
- Koi bhi single entity past records ko alter na kar sake
Yahi blockchain ki core innovation hai: distributed consensus without central authority.
[!definition] Blockchain Kya Hota Hai?
Ek blockchain ek chain of blocks hoti hai, jahan har block mein yeh hota hai:
- Transaction data (kisne kya kisko bheja)
- Timestamp (yeh block kab create hua)
- Cryptographic hash previous block ka (blocks ko ek saath link karta hai)
- Nonce (ek number jo mining/validation mein use hota hai)
"Chain" property ka matlab hai ki kisi bhi historical block ko alter karne ke liye saare baad wale blocks ko recalculate karna padega—jo well-designed systems mein computationally infeasible hai.
Key Properties:
- Immutability: Past records network consensus ke bina change nahi ho sakte
- Transparency: Saari transactions network participants ko visible hoti hain
- Decentralization: Control ya failure ka koi single point nahi
[!formula] Cryptographic Hashing Blocks Ko Kaise Link Karta Hai
Har block mein previous block ka hash hota hai, jo ek unbreakable chain banata hai.
Hash Function Properties:
- Deterministic: Same input → same output
- One-way: Hash ko reverse karke input nahi nikala ja sakta
- Avalanche effect: Thoda sa bhi input change → bilkul alag hash
- Collision-resistant: Do inputs ke liye same hash practically impossible hai
Yeh step kyun? Previous block ka hash include karne se, Block5 ke saath koi bhi tampering Block 5 ka hash change kar degi, jo Block 6 ka reference invalidate karega, phir Block 7 ka, aur aage bhi. Ek attacker ko puri chain ko honest nodes se tez recalculate karna padega—yahi blockchain security ki basis hai.
[!example] Example 1: Ek Simple Blockchain Banana
Chaliye teen transactions ko blocks ke through trace karte hain:
Block 0 (Genesis Block):
- Data: "Initial block"
- Previous Hash: 000000... (koi previous block nahi)
- Hash:
a1b2c3d4...
Block 1:
- Data: "Alice sends 5 BTC to Bob"
- Previous Hash:
a1b2c3d4... - Combined input: "Alice sends 5 BTC to Bob" + "a1b2c3d4..."
- Hash:
e5f6g7h8...
Block 2:
- Data: "Bob sends 2 BTC to Charlie"
- Previous Hash:
e5f6g7h8... - Hash:
i9j0k1l2...
Kya hoga agar koi Block 1 ko alter karne ki koshish kare?
- "Alice sends 5 BTC" ko "Alice sends 50 BTC" mein badlo
- Block 1 ka hash
e5f6g7h8...se badlkar kuchx9y8z7w6...jaisa ho jayega - Block 2 ke "Previous Hash" field mein abhi bhi
e5f6g7h8...likha hai—mismatch detect ho gaya! - Network is altered chain ko reject kar deta hai kyunki yeh invalid hai
Yeh step kyun matter karta hai: Chain structure tampering ko visible aur provable banata hai. Har node independently integrity verify kar sakta hai.
[!example] Example 2: Consensus Mechanisms (Proof of Work)
Network kaise decide karta hai ki kaunsi transactions valid hain jab koi central authority nahi hai?
Proof of Work (PoW) example (Bitcoin):
-
Transaction Pool: Miners pending transactions collect karte hain
-
Block Construction: Miner transactions ko ek candidate block mein bundle karta hai
-
Mining Challenge: Ek aisa nonce dhundo jisse: Jaise, ek aisa hash dhundo jo paanch zeros se shuru ho:
00000a3f2b... -
Yeh step kyun? Nonce dhundhne ke liye trillions of guesses chahiye (brute force). Yeh computationally expensive hai, jis se fake transaction histories banana costly ho jaata hai.
-
Broadcast: Miner solved block ko network mein broadcast karta hai
-
Verification: Doosre nodes verify karte hain (milliseconds lagte hain) aur block apni chain mein add karte hain
-
Reward: Miner ko naya cryptocurrency milta hai + transaction fees
51% Attack Threshold: History alter karne ke liye, ek attacker ko baaki poore network se zyada computing power chahiye hogi taaki saare blocks ko honest miners se tez re-mine kar sake.
Time estimates:
- Har Bitcoin block mein average 10 minutes
- Mining difficulty har 2,016 blocks (~2 weeks) mein adjust hoti hai is rate ko maintain karne ke liye
[!example] Example 3: Transaction Verification
Alice 3 BTC Bob ko bhejna chahti hai. Yeh hota hai:
Step 1: Digital Signature
- Alice ke paas ek private key (secret) aur public key (sabko pata) hoti hai
- Woh create karti hai:
Yeh step kyun? Sirf Alice yeh signature create kar sakti hai, jo prove karta hai ki usne transaction authorize ki.
Step 2: Network Broadcast
- Transaction mein yeh hota hai: {From: Alice's public key, To: Bob's public key, Amount: 3 BTC, Signature}
Step 3: Node Verification
- Nodes verify karte hain:
- Nodes check karte hain ki Alice ke paas ≥3 BTC hai blockchain mein uski transaction history trace karke
Step 4: Mining & Confirmation
- Transaction ek miner ke block mein jaati hai
- Mining ke baad, transaction "1 confirmation" deep hoti hai
- Upar 6 blocks build hone ke baad, woh "6 confirmations" deep hoti hai (finality ke liye standard)
6 confirmations kyun? Reversal ki probability exponentially girti hai: yeh maante hue ki attacker ke paas network hash power ka 10% hai.
[!mistake] Common Misconceptions
Mistake 1: "Blockchain = Bitcoin"
Kyun sahi lagta hai: Bitcoin pehla major application tha, aur media mein yeh terms aksar interchangeably use hoti hain.
Fix yeh hai: Blockchain technology hai; Bitcoin iska ek application hai. Doosre uses mein shamil hain:
- Ethereum: Smart contracts (programmable agreements)
- Supply chain tracking: Walmart food provenance ke liye blockchain use karta hai
- Non-cryptocurrency: Central bank digital currencies (CBDCs)
Socho: "Blockchain ka Bitcoin se wahi rishta hai jaisa internet ka email se."
Mistake 2: "Transactions anonymous hoti hain"
Kyun sahi lagta hai: Koi naam nahi hote—sirf cryptographic addresses jaise 1A1zP1eP5Q...
Fix yeh hai: Blockchain pseudonymous hai, anonymous nahi. Saari transactions permanently public hain. Agar aapki identity kabhi bhi kisi address se link ho jaaye (exchange KYC, IP address, ya spending patterns ke through), toh aapki poori transaction history traceable ho jaati hai.
Real-world impact: Law enforcement ne blockchain analysis ke through ransomware payments aur darknet market transactions trace ki hain.
Mistake 3: "Zyada decentralization hamesha = behtar"
Kyun sahi lagta hai: Decentralization traditional systems par blockchain ka main advantage hai.
Fix yeh hai: Decentralization mein tradeoffs hote hain:
| Property | Centralized | Decentralized |
|---|---|---|
| Speed | Fast (ms) | Slow (minutes to hours) |
| Throughput | High (1000s TPS) | Low (7-15 TPS for Bitcoin) |
| Energy use | Efficient | Intensive (Bitcoin ≈ Argentina's yearly consumption) |
| Governance | Quick decisions | Slow consensus, hard forks |
Decentralization kab choose karein: Jab censorship-resistance aur trustlessness costs ke laayak ho (jaise, international remittances jo capital controls se bachein, unstable economies mein Store of value).
Kab na karein: High-frequency trading, micropayments, ya aisi applications jahan trusted parties pehle se efficiently exist karti hain.
Deep Dive: The Trilemma
[!formula] Blockchain Trilemma
Koi bhi blockchain teeno ko ek saath maximize nahi kar sakta:
- Decentralization: Bahut saare independent nodes
- Security: Attacks ke against resistant
- Scalability: High transaction throughput
Subject to: Cannot maximize all three simultaneously
Kyun?
Proof sketch:
- High decentralization → Zyada nodes ko consensus tak pahunchna padega → Slower (low scalability)
- High security PoW mein → Expensive mining → Kam log hardware afford kar sakte hain → Lower decentralization
- High scalability → Kam validators ya bade blocks → Centralization pressure ya weaker security
Examples:
- Bitcoin: High security + decentralization, Low scalability (7 TPS)
- Binance Smart Chain: High scalability (300+ TPS), Lower decentralization (21 validators)
- Layer 2 solutions (Lightning Network): Trilemma solve karne ki koshish kuch transactions off-chain le jaake
[!example] Example 4: Block Propagation Time Calculate Karna
Bitcoin blocks har second kyun nahi bana sakta 10 minutes ki jagah?
Parameters:
- Average block size: 1.5 MB
- Network bandwidth: 10 Mbps (typical node in 2020s)
- Number of peer connections: 8
Propagation time:
Yeh kyun matter karta hai: Agar blocks har 3 seconds mein aate, aur propagation mein 3.6 seconds lagte, toh network ke alag-alag hisse blockchain ke alag-alag "tips" par mining kar rahe hote. Isse frequent orphaned blocks (wasted work) aur reduced security hoti.
Rule of thumb yeh hai: Block time ≥10× propagation time honi chahiye taaki orphan rate <1% rahe.
Bitcoin ke 10-minute blocks global latency ke bawajood network-wide consensus ensure karte hain.
Investment Implications
[!intuition] Blockchain Properties Investors Ke Liye Kyun Matter Karti Hain
1. Scarcity Programmable Hai
- Bitcoin ka 21 million coin cap code se enforce hota hai, central bank policy se nahi
- Fiat currency ke ulta, supply inflation predetermined aur transparent hai
2. Settlement Finality
- 6 confirmations ke baad (~1 ghanta Bitcoin ke liye), reversal ki probability astronomically low hai
- Credit card chargebacks se compare karo (120 days tak possible)
3. 24/7 Markets
- Koi "market hours" nahi—blockchain kabhi nahi sota
- Implications: Different risk management strategies ki zaroorat
4. Custody Risk
- "Not your keys, not your coins"—agar exchange aapka crypto hold kare, toh aapko counterparty risk hai (dekho Mt. Gox, FTX collapses)
- Self-custody ke liye technical knowledge aur security practices chahiye
5. Regulatory Uncertainty
- Decentralized nature regulation ko mushkil banata hai
- Governments ban kar sakti hain, alag tax kar sakti hain, ya KYC require kar sakti hain—price impacts hote hain
[!formula] Valuation Challenge: Network Effects
Traditional assets mein cash flows hote hain discount karne ke liye. Cryptocurrencies ki value network effects se aati hai:
Jahan = network value, = number of active users.
Squared kyun? Har user har doosre user ke saath transact kar sakta hai:
Investment approach:
- On-chain metrics: Active addresses, transaction volume, hash rate
- Relative valuation: NVT ratio (Network Value to Transactions) P/E ratio jaisa
- Stock-to-flow models: Supply schedule ko commodity scarcity ki tarah treat karo
Critical caveat: Inhe models ka track record mixed raha hai. Crypto highly speculative rehta hai.
[!recall]- Ek 12-Saal Ke Bacche Ko Explain Karo
Imagine karo tum aur tumhare doston ke paas ek notebook hai jisme tum likhte ho ki kaun kisko kitna deta hai. "Sarah ne John ko lunch ke liye 3 diye."
Ab, kya ho agar:
- Sabke paas notebook ki ek copy ho (sirf ek insaan ke paas nahi jo cheat kar sake)
- Naya page likhne se pehle, tumhe ek bahut mushkil math puzzle solve karna pade (taaki koi purane pages easily fake na kar sake)
- Har naya page pichle page ka "fingerprint" rakhta ho, toh agar koi "Sarah ne John ko 50" likhne ki koshish kare, toh sabke fingerprints match karna band ho jayenge aur hum sab jaan jayenge ki kisine cheat kiya
Yahi blockchain hai! Yeh ek shared notebook (ledger) hai jahan:
- Sab dekh sakte hain saari transactions (transparent)
- Koi akela insaan control nahi karta (decentralized)
- Cheating super obvious hai kyunki "fingerprints" (hashes) match nahi karenge
- Puzzles solve karne padte hain pages add karne ke liye, jisme electricity aur time lagta hai, jo attack karna expensive bana deta hai
Bitcoin aur doosri cryptocurrencies is notebook ka use karte hain digital money bhejna ke liye bina kisi bank ke jo hamare liye track kare.
[!mnemonic] Yaad Karo: CHIPS
- Chained: Blocks cryptographic hashes se linked hain
- Hashed: One-way functions har block ko secure karti hain
- Immutable: Past records bina detection ke change nahi ho sakte
- Public: Saari transactions visible hain (lekin pseudonymous)
- Secure: Attack karne ke liye majority computing power chahiye (51%+)
Connections
Prerequisites
- Currency pairs aur exchange rates samjho - Crypto trading pairs ki foundation
- Commodity markets ka introduction - Crypto ko digital commodity maanne mein similarities
Related Topics
- Bitcoin vs altcoins - key differences - Blockchain par bane specific cryptocurrencies
- Crypto wallet types aur security - Blockchain assets ka practical storage
- Smart contracts aur DeFi basics - Advanced blockchain applications
Advanced Applications
- Layer 2 scaling solutions - Lightning Network, Polygon, etc.
- Consensus mechanisms comparison - PoW vs PoS vs DPoS
- Trading decisions ke liye on-chain analysis - Investment ke liye blockchain data use karna
Flashcards
Blockchain kya hota hai? :: Ek distributed, immutable ledger jisme transactions blocks mein record hote hain, har block cryptographically pichle block se linked hota hai, aur yeh computers ke ek network mein bina central authority ke maintain hota hai.