Study Guide
Crypto & Blockchain
Personal Study Guide · v1.0

Crypto &
Blockchain Technology

A structured, progressive guide to understanding how decentralized networks, digital currencies, and blockchain technology actually work — from first principles to real-world applications.

6 Foundation sections
7 Advanced sections
13 sections total
01

What Is a Blockchain?

A blockchain is a special type of database — one that is distributed, append-only, and secured through cryptography. Understanding its structure is the key to everything else in crypto.

🧱

Blocks

Each block contains a batch of transactions, a timestamp, and a reference to the block before it (its hash). Think of it like a page in a ledger.

⛓️

The Chain

Blocks are linked sequentially. Changing any historical block would break its hash, invalidating every block after it — making tampering extremely difficult.

🌐

Distributed Network

Thousands of computers (nodes) each hold a full copy of the chain. There's no single server or company in control — it's collectively maintained.

🔒

Immutability

Once data is written to the chain and enough blocks are added on top, it becomes practically impossible to alter without the consensus of the network.

ℹ️
Analogy: Imagine a Google Doc that thousands of people can read simultaneously, but no one can delete or edit past entries — only add new ones. And there's no Google controlling it.

How a Block Is Formed

  • Transactions are broadcast
    When someone sends crypto, that transaction is announced to the peer-to-peer network and sits in a pool of unconfirmed transactions called the mempool.
  • Miners or validators pick them up
    Depending on the network, either miners (PoW) or validators (PoS) select transactions from the mempool to bundle into a candidate block.
  • The block is verified and added
    The network's consensus rules are applied. If everything checks out, the block is appended and the miner/validator is rewarded with new coins.
  • Confirmations accumulate
    Each subsequent block added on top of your transaction is a "confirmation." More confirmations = more security. Most exchanges require 3–6 for Bitcoin.
02

How Crypto Works

Cryptocurrency is the native currency of a blockchain network. It's secured by math — specifically public-key cryptography — not by institutions or governments.

🔑

Public Key Cryptography

You have a private key (secret, never shared) and a public key (shareable, like an address). Funds sent to your public address can only be spent with your private key.

✍️

Digital Signatures

When you send crypto, you "sign" the transaction with your private key. The network can verify this signature using your public key — without ever seeing the private key.

#️⃣

Hashing

A hash function takes any input and produces a fixed-length string. The same input always produces the same hash. Even a tiny change completely changes the hash — detecting tampering.

🪙

UTXOs vs. Accounts

Bitcoin uses UTXOs (unspent outputs — like bills). Ethereum uses an account model (like a bank balance). Different trade-offs in privacy and programmability.

💡
Key insight: You don't actually "store" crypto in a wallet. Your wallet stores your private keys. The crypto lives on the blockchain — your keys just prove ownership.

A Bitcoin Transaction, Step by Step

  • You initiate a send
    You specify the recipient's public address and the amount. Your wallet software constructs the transaction.
  • Your wallet signs it
    The transaction is signed with your private key, proving you own the funds — without revealing the key itself.
  • Broadcast to the network
    Your wallet sends the signed transaction to connected nodes, which relay it across the network to miners.
  • Confirmed in a block
    A miner includes it in a block. After ~10 minutes (one Bitcoin block time), the transaction appears on the blockchain.
03

Consensus Mechanisms

How does a leaderless network of strangers agree on a shared truth? Consensus mechanisms are the rules that make this possible — and they're a major differentiator between blockchains.

Mechanism How It Works Used By Energy Use Trade-offs
Proof of Work
PoW
Miners compete to solve a hard math puzzle. First to solve it adds the block and earns the reward. Bitcoin, Litecoin Very High Most battle-tested; expensive to attack; slow; energy intensive
Proof of Stake
PoS
Validators lock up ("stake") coins as collateral. Chosen proportionally to stake to propose blocks. Ethereum, Solana, Cardano Low Energy efficient; faster; some argue more centralization risk
Delegated PoS
DPoS
Token holders vote for a small set of delegates who validate on their behalf. EOS, Tron Low Very fast; more centralized by design
Proof of History
PoH
Cryptographic clock creates a historical record, allowing validators to verify event ordering without communication overhead. Solana Low Extremely fast; complex; has experienced outages
⚠️
51% Attack: If a single entity controls more than half of a network's mining power or staked coins, they could theoretically rewrite recent history. Large, established networks like Bitcoin make this economically infeasible.
04

Major Cryptocurrencies

Not all crypto is the same. Different coins and tokens serve very different purposes — from digital gold to programmable platforms to stable stores of value.

Asset Ticker Primary Purpose Consensus Key Feature
Bitcoin BTC Store of value, digital gold PoW Fixed supply of 21M coins; most decentralized
Ethereum ETH Smart contract platform PoS Programmable; foundation of DeFi and NFTs
Solana SOL High-speed smart contracts PoH + PoS ~65,000 TPS; very low fees; used for gaming and DeFi
USD Coin USDC Stablecoin (USD-pegged) 1 USDC = $1; issued by Circle; widely used in DeFi
Chainlink LINK Decentralized oracle network PoS Connects smart contracts to real-world data
Polygon MATIC Ethereum scaling (Layer 2) PoS Faster/cheaper Ethereum transactions via sidechains
ℹ️
Coins vs. Tokens: A coin is the native currency of its own blockchain (BTC, ETH, SOL). A token is built on top of an existing blockchain using smart contracts — like USDC or most DeFi assets on Ethereum.
05

Exchanges & Platforms

To buy, sell, or trade crypto, most people start with a centralized exchange. Understanding the landscape — and the key trade-offs — is essential before putting real money in.

🏦

Coinbase

Largest US-regulated exchange. Beginner-friendly UI, insured custodial accounts, publicly traded (COIN). Also offers Coinbase Advanced for lower fees and more control.

📊

Binance

World's largest exchange by volume. Huge asset selection, very low fees, advanced trading tools. US version (Binance.US) has fewer features due to regulation.

🔵

Kraken

US-based, strong security track record, good for experienced traders. Offers staking, futures, and margin trading. Known for transparency.

🔁

Uniswap (DEX)

Decentralized exchange on Ethereum. No sign-up, no custody — you trade directly from your wallet. Uses automated market makers (AMMs) instead of order books.

CEX vs. DEX

FeatureCentralized (CEX)Decentralized (DEX)
CustodyExchange holds your fundsYou hold your own funds
KYC RequiredYes (ID verification)No — just a wallet
Ease of UseVery beginner-friendlyRequires crypto knowledge
Asset SelectionCurated listAny token with a pool
RiskExchange hack, insolvency (FTX)Smart contract bugs, MEV
Fees0.1%–1.5% per trade0.05%–0.3% + gas fees
⚠️
"Not your keys, not your coins." When crypto sits on an exchange, you have an IOU — not actual ownership. The FTX collapse in 2022 wiped out billions in customer funds held this way. For long-term holdings, consider self-custody.
06

Wallets & Keys

Your wallet is your identity and your vault in the crypto world. Understanding how wallets work is critical — lose your private key, lose your crypto, permanently.

🌐

Hot Wallets

Connected to the internet. Convenient for frequent use. Examples: MetaMask (browser), Phantom (Solana), Coinbase Wallet. Higher risk of remote attack.

🔐

Cold Wallets

Offline hardware devices. Ledger and Trezor are the standards. Private keys never touch an internet-connected device. Best for large holdings.

📝

Seed Phrases

A 12 or 24 word mnemonic that represents your private key. Write it on paper, store it safely. Anyone with your seed phrase controls your funds — forever.

🏛️

Custodial Wallets

The exchange holds your keys. Convenient and recoverable if you forget your password — but you're trusting a third party with your assets.

💡
Best practice: Use a hardware wallet for holdings over a few hundred dollars. Keep hot wallets for spending/DeFi only, funded with small amounts you're comfortable risking.

07

Smart Contracts

Smart contracts are self-executing programs stored on a blockchain. They run automatically when predefined conditions are met — no intermediary required. They are the engine behind DeFi, NFTs, and DAOs.

⚙️

What They Are

Code deployed to the blockchain that executes deterministically. Once deployed, they can't be changed (unless built with upgrade patterns). Think of them as vending machines: input → output, guaranteed.

🔧

How They're Built

Most Ethereum smart contracts are written in Solidity. Solana uses Rust. They're compiled to bytecode and deployed to the network, where every node runs them identically.

Gas Fees

Every operation in a smart contract costs gas — a unit of computation. Users pay gas in ETH. Complex contracts cost more gas. This prevents infinite loops and spam.

🎯

Oracles

Smart contracts can't access real-world data on their own. Oracles (like Chainlink) feed external data — price feeds, weather, sports scores — onto the chain so contracts can use it.

⚠️
Famous failures: The DAO hack (2016, $60M drained via reentrancy bug), Poly Network ($600M, 2021), and many others. Code is law — bugs are permanent unless the contract has an upgrade mechanism built in.

Smart Contract Lifecycle

  • Write & test
    Developer writes the contract in Solidity, tests it on a local environment (Hardhat, Foundry) and testnets like Sepolia.
  • Audit
    Serious contracts undergo third-party security audits. No audit = major red flag for users and investors.
  • Deploy
    The contract is deployed to mainnet. It receives a permanent address and its code is now immutable on the blockchain.
  • Interact
    Anyone can call the contract's functions by sending transactions to its address. The code runs on every validating node.
08

DeFi — Decentralized Finance

DeFi is the umbrella term for financial services — lending, borrowing, trading, earning yield — built on smart contracts. No banks, no accounts, no permission needed. Just a wallet and an internet connection.

🔁

AMMs & DEXs

Automated Market Makers like Uniswap replace order books with liquidity pools. Prices are set by a formula (x * y = k). Anyone can provide liquidity and earn fees.

🏦

Lending & Borrowing

Aave and Compound let you deposit assets to earn interest, or borrow against collateral. All overcollateralized — you must deposit more than you borrow.

🌾

Yield Farming

Providing liquidity or staking in protocols to earn token rewards on top of fees. High yields often signal high risk — many farms collapse when reward tokens lose value.

Flash Loans

Loans with zero collateral that must be borrowed and repaid in a single transaction block. Used for arbitrage and liquidations — and unfortunately for many exploits.

ProtocolCategoryChainWhat It Does
UniswapDEXEthereum, L2sToken swaps via liquidity pools; most widely forked DEX
AaveLendingMulti-chainDeposit to earn, borrow with collateral, flash loans
CurveDEXMulti-chainOptimized for stablecoin swaps with minimal slippage
MakerDAOStablecoinEthereumIssues DAI — a decentralized USD-pegged stablecoin backed by crypto collateral
LidoStakingEthereumLiquid staking — stake ETH and receive stETH you can use in DeFi
ℹ️
TVL — Total Value Locked: The key metric for DeFi protocols. It's the total dollar value of assets deposited in a protocol's smart contracts. Higher TVL generally signals more trust and liquidity.
09

Layer 2 & Scaling

Blockchains face a fundamental trade-off: security, decentralization, and scalability — you can only fully optimize two at once. This is the scalability trilemma. Layer 2 solutions are how the industry works around it.

🔗

What Is Layer 2?

A secondary network built on top of a base chain (L1) like Ethereum. It processes transactions off-chain and periodically settles results back to L1, inheriting its security.

🗜️

Optimistic Rollups

Assume transactions are valid by default. A challenge period (7 days) allows anyone to dispute fraud. Used by Optimism and Arbitrum. Simpler, widely adopted.

🔐

ZK Rollups

Use cryptographic proofs (zero-knowledge proofs) to mathematically verify every batch of transactions. Faster finality, more complex. Used by zkSync, StarkNet, Polygon zkEVM.

🌉

Bridges

Move assets between L1 and L2, or between different chains. Bridge smart contracts are a major attack surface — billions have been lost in bridge hacks.

L2 NetworkTypeFinalityNotable For
Arbitrum OneOptimistic~7 daysLargest L2 by TVL; EVM compatible
OptimismOptimistic~7 daysOP Stack used by Coinbase's Base chain
BaseOptimistic~7 daysCoinbase-built L2; fast growing consumer chain
zkSync EraZKMinutesFull EVM compatibility with ZK proofs
StarkNetZKMinutesUses Cairo language; high throughput
💡
Why it matters for you: Most everyday Ethereum activity now happens on L2s. Gas fees that cost $30+ on mainnet often cost under $0.10 on Arbitrum or Base — same assets, same wallets, just faster and cheaper.
10

Regulation & Taxes

Crypto operates in an evolving regulatory landscape. In the US, the IRS treats crypto as property — not currency — which has significant tax implications for every transaction you make.

📋

Crypto as Property

The IRS classifies crypto as property. Every taxable event — selling, trading, spending — triggers a capital gain or loss based on your cost basis (what you paid) vs. the value at time of transaction.

📈

Capital Gains

Short-term (held <1 year): taxed as ordinary income (up to 37%). Long-term (held >1 year): taxed at 0%, 15%, or 20% depending on income. Holding longer is almost always better tax-wise.

🌾

Staking & Yield Income

Staking rewards, interest, and yield farming income are generally taxed as ordinary income at the time you receive them — at fair market value on that date.

📂

Record Keeping

You're responsible for tracking every transaction. Tools like Koinly, CoinTracker, and TaxBit can import your history from exchanges and wallets to generate tax reports.

EventTaxable?Type
Buy crypto with USDNoSets your cost basis
Sell crypto for USDYesCapital gain or loss
Trade crypto for cryptoYesCapital gain or loss on the sold asset
Spend crypto on goodsYesCapital gain or loss
Receive staking rewardsYesOrdinary income at receipt
Transfer between your own walletsNoNot a taxable event
Gift crypto (under annual limit)NoRecipient inherits your cost basis
⚠️
Form 1099-DA: Starting in 2025, US exchanges are required to report transactions directly to the IRS — similar to how brokerages report stock trades. The IRS now has much better visibility into crypto activity. Don't assume unreported means untaxed.
11

Security & Scams

In crypto, there's no fraud department to call and no chargebacks. Transactions are irreversible. This section may be the most practically important in the entire guide.

🎣

Phishing

Fake websites, emails, and Discord/Telegram messages mimicking legitimate projects. Always verify URLs character by character. Bookmark sites you use regularly. Never click links in DMs.

🪤

Rug Pulls

Developers launch a token, hype it, accumulate investment, then drain the liquidity pool and disappear. Red flags: anonymous team, no audit, locked liquidity expiring soon, unrealistic APYs.

🍯

Honeypot Contracts

Smart contracts that let you buy a token but block you from selling. The price rises, you can't exit. Always check if a token is sellable on DEXTools or Token Sniffer before buying.

🎭

Social Engineering

"Tech support" impersonators, fake giveaways (Elon-style), romance scams, and pig butchering — long-term relationship-building to gain trust before stealing funds. Very sophisticated and effective.

✍️

Malicious Approvals

When you interact with DeFi, you sign token approvals. A malicious contract with unlimited approval can drain your wallet later. Use Revoke.cash to audit and revoke approvals regularly.

🌐

Fake Airdrops

Tokens appear in your wallet out of nowhere. Interacting with them (swapping, approving) triggers a malicious contract. Rule: if you didn't expect it, don't touch it.

💡
Security checklist: Use a hardware wallet for significant holdings. Never share your seed phrase — ever, with anyone, for any reason. Use a separate "burner" wallet for new/risky DeFi interactions. Enable 2FA on all exchange accounts (use an authenticator app, not SMS). Verify contract addresses from official sources only.
12

DAOs & Governance

A DAO — Decentralized Autonomous Organization — is a community governed by smart contracts and token-holder votes rather than a board of directors or CEO. It's one of the most radical experiments in organizational structure ever attempted.

🗳️

How Voting Works

Governance token holders submit and vote on proposals. Voting power is typically proportional to tokens held or delegated. Votes execute automatically via smart contracts if they pass.

💰

Treasuries

DAOs often control large on-chain treasuries — sometimes billions of dollars — funded by protocol revenue or token sales. The DAO votes on how to spend it: grants, development, investments.

Delegation

Most token holders don't vote. Delegation lets you assign your voting power to an active participant (a "delegate") who votes on your behalf — similar to representative democracy.

⚠️

Governance Attacks

A large token holder (or attacker who borrows tokens) can pass malicious proposals. The Beanstalk exploit (2022) used a flash loan to gain majority voting power and drain $182M in a single transaction.

DAOProtocolTreasuryKnown For
Uniswap DAOUNI token~$4B+Controls Uniswap fee switches and grants
MakerDAOMKR tokenBillions in collateralGoverns DAI stablecoin parameters and collateral types
Aave DAOAAVE token~$300M+Votes on risk parameters, new asset listings
Arbitrum DAOARB token~$3B+Governs Arbitrum L2 development and grants
ENS DAOENS token~$500M+Governs Ethereum Name Service domain system
ℹ️
The reality of DAO voting: Participation rates are typically very low (often under 5%). Most governance power concentrates among a few large holders and VCs. True decentralization is still a work in progress.
13

Reading the Market

Crypto markets are open 24/7, globally accessible, and notoriously volatile. Understanding how to read on-chain data, market cycles, and key indicators helps you avoid emotional decisions and spot meaningful signals.

🔗

On-Chain Analytics

Unlike stock markets, blockchain data is fully public. Tools like Glassnode, Nansen, and Dune Analytics let you track wallet flows, exchange inflows, and whale movements in real time.

📊

Market Cycles

Crypto historically follows 4-year cycles loosely tied to Bitcoin's halving — when mining rewards are cut in half. Bull markets typically follow halvings; bear markets follow all-time highs.

👑

Bitcoin Dominance

BTC's share of total crypto market cap. High dominance (~60%+) = risk-off, people fleeing to Bitcoin. Low dominance = "altcoin season" when smaller coins tend to outperform.

😨

Fear & Greed Index

A 0–100 composite score of market sentiment (volatility, momentum, social media, dominance). Extreme fear (0–25) is historically a good accumulation signal. Extreme greed (75–100) = caution.

Key Metrics to Know

MetricWhat It MeasuresBullish SignalBearish Signal
MVRV RatioMarket value vs. realized value (avg cost basis of all BTC)MVRV < 1 (market below cost basis)MVRV > 3.5 (historically near tops)
Exchange ReservesAmount of BTC/ETH held on exchangesDeclining (coins moving to cold storage)Rising (sell pressure building)
Funding RateCost of holding leveraged futures positionsNegative (shorts paying longs)Very high positive (over-leveraged longs)
NVT RatioNetwork Value to Transaction volume — like P/E for cryptoLow NVT (undervalued vs. usage)High NVT (price disconnected from utility)
Open InterestTotal value of open derivatives contractsModerate growth with priceExtremely high (liquidation cascade risk)
💡
Where to watch: CoinGecko and CoinMarketCap for prices and market caps. Glassnode for on-chain data. CryptoQuant for exchange flows. alternative.me for the Fear & Greed Index. TradingView for charting.