Bitcoin
Bitcoin¶
Bitcoin is the first decentralized cryptocurrency, originally proposed by Satoshi Nakamoto on November 1, 2008, and released as open-source software in 2009. Bitcoin operates through a peer-to-peer network without the need for a central authority or bank, allowing users to transact directly with each other. Bitcoin is considered the first application of blockchain technology.
Bitcoin uses a distributed database composed of numerous nodes across the entire P2P network to confirm and record all transactions, and employs cryptography to ensure anonymity of currency ownership and transaction circulation.
Additionally, unlike most currencies, Bitcoin's total supply is limited to 21 million. New bitcoins are gradually issued through the mining process (consensus rules), and mining rewards decrease over time until the total supply cap of 21 million is eventually reached.
How Bitcoin Works¶
1. Bitcoin Transactions: Users transact through Bitcoin addresses (similar to bank accounts). Transactions are signed by the sender and broadcast to the Bitcoin network, awaiting verification and packaging into blocks by miners. For more details, see Bitcoin Transactions.
2. Mining and Block Creation: Miners verify transactions and package them into blocks by solving complex mathematical puzzles (hash computations). Miners who successfully solve these puzzles receive newly generated bitcoins as rewards. Mining difficulty automatically adjusts based on the total network computing power, ensuring that a new block is generated approximately every 10 minutes.
Bitcoin-Related Concepts¶
Bitcoin Client
An application that allows users to interact with the Bitcoin network, used to send and receive Bitcoin transactions, view transaction history, manage Bitcoin wallets, and more. For details, see Bitcoin Client.
Bitcoin Wallet:
A device or program used to send and receive bitcoins (Bitcoin clients typically include a wallet module as well). Unlike real-world wallets, a Bitcoin wallet does not store currency. In reality, what the wallet manages is private keys.
Bitcoin Fork:
Refers to a split in the Bitcoin blockchain, resulting in different versions of the blockchain and corresponding cryptocurrencies. Forks are primarily divided into two types: hard forks and soft forks. Forks are usually caused by disagreements within the community regarding protocol upgrades or changes. For more information, see Bitcoin Forks.
Consensus:
In a decentralized network, nodes are distributed and operate in parallel. Therefore, a system must be designed to maintain operations, unify blockchain ledger data, and reward miners who contribute resources to maintain the blockchain. This is the problem that consensus mechanisms address. Bitcoin uses Nakamoto Consensus - Proof of Work (PoW).
Bitcoin Network:
Bitcoin is a peer-to-peer network jointly maintained by miners, nodes, and users. Bitcoin Mainnet: The value network where real bitcoins circulate. Bitcoin Testnet: Similar in functionality to mainnet, convenient for developers or testers to use; testnet coins have no real economic value.
Bitcoin Layer 2 Scaling:
Aims to improve transaction throughput, reduce transaction fees, and shorten transaction confirmation times by moving some transactions off the Bitcoin main chain. Bitcoin scaling solutions include: Lightning Network, BitVM Validity Proofs, RGB Client-Side Validation, and RGB++ Isomorphic Binding.
UTXO (Unspent Transaction Output):
Unspent Transaction Output, abbreviated as UTXO, is a mechanism for managing account balances in Bitcoin's cryptocurrency system. Bitcoin transactions are conducted by consuming (spending) previous UTXOs and creating new UTXOs. Each UTXO represents an unspent amount of bitcoin until it is consumed by a new transaction. For details, see UTXO.
Bitcoin Script:
A stack-based language for programming Bitcoin transactions. There are two types of scripts: scriptSig and scriptPubKey, which manage the "key" and "lock" of each transaction respectively.
Bitcoin Blockchain Explorer:
Used to view transactions and block information on the Bitcoin blockchain. It allows users to search for specific transactions, blocks, addresses, and view detailed transaction history, balance, and block information. For more, see Blockchain Explorer.
More Content - Awesome Bitcoin¶
Essential Reading¶
-
learnmeabitcoin - A website explaining the details behind Bitcoin
-
Basic Blockchain Programming (Chinese)
Resource Navigation¶
List of Bitcoin services and tools for developers: https://github.com/igorbarinov/awesome-bitcoin
Comprehensive Chinese BTC learning resources: BTCStudy https://www.btcstudy.org/
Bitcoin ecosystem resource navigation: https://123btc.org/
Bitcoin Script simulator tool: https://wschae.github.io/build/editor.html