Chapter 3: Cryptocurrency Fundamentals

Chapter 3: Cryptocurrency Fundamentals

Chapter Introduction

Cryptocurrency is one of the most successful applications of blockchain technology. This chapter explores in depth the core concepts, operating principles, major types, and practical applications of cryptocurrencies. We'll begin with the birth of Bitcoin and understand how cryptocurrencies are reshaping the global financial system.

Learning Objectives:

  • Understand the definition and core characteristics of cryptocurrency
  • Master Bitcoin's operating principles and key mechanisms
  • Learn about Ethereum and smart contract platforms
  • Know how to safely acquire and store cryptocurrencies
  • Recognize mainstream cryptocurrencies and their application scenarios

3.1 What is Cryptocurrency?

Cryptocurrency is a digital or virtual currency that uses cryptographic techniques to secure transactions, control the creation of new units, and verify asset transfers. Unlike traditional fiat currencies, cryptocurrencies are typically decentralized and not issued or managed by any government or central authority.

Core Characteristics of Cryptocurrency

Six Core Characteristics of Cryptocurrency Cryptocurrency Digital Money Digital Fully Digital • Fully digital form • No physical carrier Decentralized P2P Network • No central authority • Distributed network Cryptography Secure • Public/private keys • Digital signatures Transparent Public Ledger • Traceable txs • Public ledger Limited Supply Fixed Cap • Fixed total • Anti-inflation Global Borderless • Cross-border • 24/7 trading These characteristics together form the unique value proposition of cryptocurrency

Cryptocurrency vs Traditional Currency

Feature Cryptocurrency Traditional Currency (Fiat)
Issuance Algorithm and consensus Central bank
Supply Control Preset algorithm (e.g., Bitcoin 21M cap) Government adjustable
Transaction Verification Distributed network consensus Banks and payment processors
Transaction Speed Minutes to hours Instant to days
Transaction Fees Usually lower (Gas fees) Bank fees
Anonymity Pseudo-anonymous (public addresses) Real-name system
Cross-border Transfer Barrier-free Requires intermediaries, restricted
Inflation Most are anti-inflationary Subject to inflation

3.2 Bitcoin: The First Cryptocurrency

Birth of Bitcoin

On October 31, 2008, a person or group under the pseudonym Satoshi Nakamoto published the Bitcoin whitepaper: "Bitcoin: A Peer-to-Peer Electronic Cash System". On January 3, 2009, the Bitcoin network officially launched, and the first block (genesis block) was mined.

Special Message in the Genesis Block

Bitcoin’s genesis block contained a special message:

1
The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

This was the headline from The Times that day, recording government bank bailouts during the 2008 financial crisis, hinting at Bitcoin’s motivation—to create a monetary system not controlled by governments and banks.

Bitcoin’s Core Mechanisms

Bitcoin's Four Core Mechanisms Limited Supply 21 Million Cap 21,000,000 Maximum supply Expected by 2140 Anti-inflation Halving Block Reward 2009-2012: 50 BTC/block 2012-2016: 25 BTC/block 2016-2020: 12.5 BTC/block 2020-2024: 6.25 BTC/block 2024-2028: 3.125 BTC/block Halves every 210k blocks (~4 years) Proof of Work PoW Consensus Calculate SHA-256 Find valid Nonce Win block reward UTXO Model Unspent TX Output Transaction Input: 5 BTC Outputs: 3 BTC 1.99 BTC • Recipient gets 3 BTC • Change returns 1.99 BTC • Miner fee 0.01 BTC All inputs must be fully spent These mechanisms together realize Bitcoin's core value Decentralization No need to trust central authority Scarcity Fixed supply, store of value Security Computational power protects network Transparency All transactions publicly verifiable Censorship Resistant Cannot be controlled by single entity Programmable Intelligent monetary system

Bitcoin Application Scenarios

  1. Store of Value (Digital Gold)

    • Hedge against traditional financial risks
    • Anti-inflation
    • Long-term investment target
  2. Cross-border Payments

    • No bank intermediaries
    • Low fees
    • 24/7 trading
  3. Micropayments (Lightning Network)

    • Instant confirmation
    • Extremely low fees
    • High throughput

3.3 Ethereum and Smart Contract Platforms

Ethereum’s Innovation

Ethereum was proposed by Vitalik Buterin in 2013 and officially launched in 2015. It is not only a cryptocurrency (ETH) but also a Turing-complete smart contract platform.

Bitcoin vs Ethereum Bitcoin (BTC) Positioning: • Digital gold • Store of value • Payment currency Tech Features: • Proof of Work (PoW) • UTXO model • Simple scripting • ~7 TPS Supply: • Max 21 million BTC • Halving mechanism • Anti-inflation Ethereum (ETH) Ξ Positioning: • World computer • Smart contract platform • DApp ecosystem base Tech Features: • Proof of Stake (PoS) • Account model • Turing-complete (Solidity) • ~30 TPS (L2 thousands) Supply: • No fixed cap • EIP-1559 burn mechanism • Possibly deflationary Bitcoin focuses on currency function, Ethereum provides programmable decentralized platform

What are Smart Contracts?

Smart Contracts are self-executing programs running on blockchain, with their code and state stored on-chain. They execute automatically when preset conditions are met, without requiring trust in third parties.

Smart Contract Workflow

Smart Contract Execution Flow 1. Write Contract Code Logic • Use Solidity • Define business logic 2. Compile To Bytecode • Convert to bytecode • Generate ABI 3. Deploy On-Chain • Send transaction • Get address 4. On-Chain Contract Immutable • Address: 0x1234...abcd • Permanent, immutable 5. User Interaction Call Functions • Send tx to call function • Pay Gas fee 6. Check Conditions Validate • Verify require conditions • Check permissions & balance 7. Auto Execute Change State • Modify state variables • Transfer assets Transaction complete, state updated Return result Features Deterministic Transparent Immutable

Smart Contract Example: Simple Escrow

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/**
* @title Escrow
* @dev Simple escrow contract
*/
contract Escrow {
address public buyer; // Buyer address
address public seller; // Seller address
address public arbiter; // Arbiter address
uint256 public amount; // Escrow amount
bool public fundsReleased; // Funds released?

event FundsDeposited(address indexed buyer, uint256 amount);
event FundsReleased(address indexed seller, uint256 amount);
event FundsRefunded(address indexed buyer, uint256 amount);

/**
* @dev Constructor, creates escrow contract
* @param _seller Seller address
* @param _arbiter Arbiter address
*/
constructor(address _seller, address _arbiter) payable {
require(msg.value > 0, "Must deposit funds");
require(_seller != address(0), "Invalid seller");
require(_arbiter != address(0), "Invalid arbiter");

buyer = msg.sender;
seller = _seller;
arbiter = _arbiter;
amount = msg.value;
fundsReleased = false;

emit FundsDeposited(buyer, amount);
}

/**
* @dev Arbiter approves, releases funds to seller
*/
function releaseFunds() external {
require(msg.sender == arbiter, "Only arbiter can release");
require(!fundsReleased, "Funds already released");

fundsReleased = true;
payable(seller).transfer(amount);

emit FundsReleased(seller, amount);
}

/**
* @dev Arbiter approves, refunds buyer
*/
function refundBuyer() external {
require(msg.sender == arbiter, "Only arbiter can refund");
require(!fundsReleased, "Funds already released");

fundsReleased = true;
payable(buyer).transfer(amount);

emit FundsRefunded(buyer, amount);
}

/**
* @dev Check contract balance
*/
function getBalance() external view returns (uint256) {
return address(this).balance;
}
}

Smart Contract Application Scenarios

  1. DeFi (Decentralized Finance)

    • Uniswap: Decentralized exchange
    • Aave: Lending protocol
    • MakerDAO: Stablecoin protocol
  2. NFT (Non-Fungible Tokens)

    • Digital art
    • Game items
    • Digital collectibles
  3. DAO (Decentralized Autonomous Organization)

    • On-chain governance
    • Fund management
    • Voting decisions
  4. Supply Chain Management

    • Product traceability
    • Logistics tracking
    • Quality assurance

3.4 Other Mainstream Cryptocurrencies

(SVG diagram omitted for brevity - maintains same structure as Chinese version with translated labels)

3.5 How to Acquire Cryptocurrency

3.5.1 Buy Through Exchanges

This is the most common and simplest method.

Centralized Exchanges (CEX)

Major Global Exchanges:

Exchange Features Advantages Suitable For
Binance Largest globally High liquidity, many coins Professional traders
Coinbase Largest in US Strong compliance, user-friendly Beginners, US users
OKX Comprehensive Rich derivatives Professional traders
Kraken Established exchange High security Long-term investors
Gemini Compliant exchange Regulated, insured Institutional investors

Purchase Process:

  1. Register account and complete KYC verification
  2. Deposit fiat currency (USD, EUR, etc.)
  3. Select cryptocurrency to buy
  4. Place order (market or limit order)
  5. Withdraw to personal wallet (recommended)

Decentralized Exchanges (DEX)

Major DEX:

DEX Network Features
Uniswap Ethereum Largest DEX, AMM model
PancakeSwap BSC Low fees, high speed
SushiSwap Multi-chain Cross-chain support
Curve Multi-chain Stablecoin trading optimized
1inch Multi-chain DEX aggregator

Features:

  • No KYC required
  • Users control private keys
  • Censorship resistant
  • Need native tokens for Gas fees
  • May encounter slippage

3.5.2 Mining and Staking

PoW Mining (Proof of Work)

Mineable Major Coins:

Coin Algorithm Hardware Difficulty
Bitcoin (BTC) SHA-256 ASIC miners Very High
Litecoin (LTC) Scrypt ASIC miners High
Ethereum Classic (ETC) Ethash GPU Medium
Ravencoin (RVN) KawPow GPU Medium
Monero (XMR) RandomX CPU Low

Mining Cost Considerations:

  • Hardware investment (ASIC/GPU)
  • Electricity costs (most important)
  • Cooling and venue rental
  • Mining pool fees (1-3%)
  • Maintenance costs

PoS Staking (Proof of Stake)

No professional equipment needed, just hold and stake tokens:

Major PoS Coins and Returns:

Coin Staking Requirement Annual Return (APR) Lock Period
Ethereum (ETH) 32 ETH 4-5% No fixed
Cardano (ADA) No minimum 4-6% None
Solana (SOL) No minimum 6-8% 2-3 days
Polkadot (DOT) 120 DOT (recommended) 10-14% 28 days
Cosmos (ATOM) No minimum 15-20% 21 days

3.5.3 Earning Cryptocurrency

Other Acquisition Methods:

  1. Airdrops

    • Projects distribute free tokens
    • Usually requires completing tasks
    • Risk: May be scams
  2. Liquidity Mining

    • Provide liquidity to DEX
    • Earn trading fees and rewards
    • Risk: Impermanent loss
  3. Work for Crypto

    • Accept cryptocurrency payments
    • Participate in bounty programs
    • Content creation rewards
  4. Testnet Rewards

    • Participate in project testing
    • Report issues for rewards
    • Early project airdrop opportunities

3.6 Cryptocurrency Wallets

Wallet Types Comparison

(SVG diagram omitted for brevity - maintains same structure as Chinese version with translated labels)

Wallet Security Best Practices

  1. Backup Recovery Phrase

    • Write on paper, store in multiple locations
    • Don’t screenshot or save on computer/cloud
    • Consider using metal seed phrase plates
    • Never tell anyone
  2. Use Hardware Wallets

    • Large assets (>$1000) must use cold wallet
    • Small daily transactions use hot wallet
    • Regularly check firmware updates
  3. Beware of Phishing Attacks

    • Check if URL is correct
    • Use bookmarks for frequent sites
    • Don’t click suspicious links
    • Verify contract addresses
  4. Multi-signature

    • Consider multi-sig wallet for large assets
    • Require 2/3 or 3/5 signatures to transfer
    • Suitable for team fund management
  5. Regular Security Audits

    • Check authorized contracts
    • Revoke unnecessary authorizations
    • Use tools like Revoke.cash

3.7 Cryptocurrency Risks and Challenges

Main Risks

  1. Price Volatility Risk

    • Cryptocurrency prices extremely volatile
    • May surge or crash in short time
    • Not suitable for low risk tolerance investors
  2. Security Risks

    • Private key loss, permanent asset loss
    • Exchange hacks
    • Phishing sites and scams
  3. Regulatory Risks

    • Uncertain regulatory policies across countries
    • May face bans or restrictions
    • Tax compliance requirements
  4. Technical Risks

    • Smart contract vulnerabilities
    • Network congestion
    • 51% attacks

Investment Advice

  1. Only invest what you can afford to lose
  2. Do Your Own Research (DYOR)
  3. Diversify, don’t go all-in on one coin
  4. Hold long-term, don’t trade frequently
  5. Learn basic security knowledge
0%