The Bitcoin Protocol
A clear explanation of Bitcoin, the Lightning Network, and how Flash leverages these technologies for a better financial system.
Bitcoin at the Highest Level
Bitcoin is a decentralized digital money system that operates without central authority or intermediaries. Created in 2009 by Satoshi Nakamoto, Bitcoin enables direct peer-to-peer transactions that are verified by network nodes through cryptography and recorded on a public distributed ledger called the blockchain.
Key components of the Bitcoin protocol include:
- The Blockchain: A chronological, immutable record of all transactions
- Public Key Cryptography: Secures ownership and transaction authorization
- Proof of Work: The consensus mechanism that secures the network
- Limited Supply: Only 21 million bitcoins will ever exist
- Mining: The process by which transactions are verified and new bitcoins are created
- Nodes: Computers that maintain the network by validating transactions
Unlike traditional financial systems, Bitcoin:
- Cannot be manipulated by governments or central banks
- Has a fixed, predictable monetary policy
- Provides permissionless access to anyone
- Allows for irreversible, uncensorable transactions
- Operates 24/7/365 without holidays or business hours
The Bitcoin Network, Illustrated
Bitcoin’s network consists of thousands of independently operated nodes that work together to maintain consensus on the state of the blockchain. Each full node maintains a complete copy of the blockchain and independently verifies all transactions according to the protocol rules.
When you make a Bitcoin transaction:
- You broadcast your transaction to the network
- Miners include it in a block and solve a computational puzzle (mining)
- The solved block is broadcast to all nodes
- Nodes verify that the block follows all rules
- The block is added to the blockchain
- With each additional block, your transaction becomes more secure
This decentralized architecture creates a system with no single point of failure and extreme resilience to censorship or attacks.
The Lightning Network
While Bitcoin’s base layer prioritizes security and decentralization, it has limitations in transaction throughput and speed. The Lightning Network is a “second layer” protocol built on top of Bitcoin that addresses these limitations.
Lightning enables:
- Instant Payments: Transactions confirm in milliseconds instead of minutes or hours
- Micropayments: Fees are so low that even tiny payments (under 1 cent) become practical
- Scalability: The network can theoretically handle millions of transactions per second
- Increased Privacy: Lightning transactions aren’t recorded individually on the blockchain
The Lightning Network works by creating payment channels between users. Once a channel is established with an on-chain transaction, users can conduct unlimited transactions between them without touching the blockchain until they close the channel.
Flash utilizes the Lightning Network for its core payment functionality, giving you the speed and low costs needed for everyday transactions while still leveraging Bitcoin’s security and decentralization for final settlement.
The Lightning Network, Illustrated
The Lightning Network forms a mesh of payment channels between users and nodes. These channels enable bitcoin to flow across the network without requiring each payment to be recorded on the blockchain.
When you make a Lightning payment:
- Your Flash app finds a route through connected channels to your recipient
- Cryptographic contracts ensure the payment can only go to the intended recipient
- The payment flows through channels almost instantly
- No trust is required in intermediary nodes
- Only the final balance is eventually settled on the blockchain when channels are closed
This ingenious design enables Bitcoin to scale globally while maintaining its core security properties. Flash’s infrastructure connects directly to this network, giving you seamless access to fast, low-cost Bitcoin payments.
eCash on Bitcoin
Beyond direct Bitcoin transactions and Lightning payments, Flash also supports eCash - a form of digital cash built on Bitcoin that provides:
- Full Privacy: Transactions are completely private
- No Blockchain Footprint: eCash transactions happen off-chain
- Bearer Instrument: Works like physical cash in digital form
- No Counterparty Relationship: Use without accounts or identification
eCash in Flash uses cryptographic techniques to ensure that tokens can only be spent once, preventing double-spending without tracking individual users. This combines the best aspects of physical cash with the convenience of digital money.
Flash’s Bitcoin Infrastructure
Flash builds upon these Bitcoin technologies to create a seamless, user-friendly payment system:
- Lightning Network Integration: For instant, low-fee transactions
- On-Chain Bitcoin Support: For final settlement and self-custody
- eCash Capabilities: For privacy and offline use cases
- Interoperability: Compatible with the broader Bitcoin ecosystem
Through these integrations, Flash provides the simplicity and ease-of-use of traditional payment apps while preserving the freedom, security, and privacy guarantees of Bitcoin.
The NOSTR Protocol
In addition to Bitcoin payment technologies, Flash incorporates NOSTR (Notes and Other Stuff Transmitted by Relays) - a simple, open protocol for global, censorship-resistant communication.
NOSTR enables Flash’s messaging and social features, allowing:
- Direct messaging between users
- Public and private group chats
- Social networking capabilities
- Global, censorship-resistant communication
By combining Bitcoin’s payment infrastructure with NOSTR’s communication protocol, Flash creates a comprehensive platform for both financial transactions and social interaction.
The History of Bitcoin (2007 to 2014)
Where can I find more information?
There is a neverending rabbit hole of information about Bitcoin. Here are a few places to start:
- The Bullish Case for Bitcoin
- 21 Lessons
- Gradually, Then Suddenly
- Bitcoin Whitepaper - The original document by Satoshi Nakamoto
- Lightning Network Whitepaper - Technical details of Lightning
- A Guide to Bitcoin’s Technical Brilliance
- Bitcoin Resources
- Bitcoin.org
- Lightning Labs Resources
“It might make sense just to get some in case it catches on.” ~ (Satoshi Nakamoto).