<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title>Chemaclass - bitcoin</title><subtitle>Tech Lead sharing practical insights on software craftsmanship, TDD, leadership, Bitcoin, and AI. Blog posts, book summaries, and conference talks.</subtitle><link rel="self" type="application/atom+xml" href="https://chemaclass.com/tags/bitcoin/atom.xml"/><link rel="alternate" type="text/html" href="https://chemaclass.com"/><generator uri="https://www.getzola.org/">Zola</generator><updated>2026-07-05T00:00:00+00:00</updated><id>https://chemaclass.com/tags/bitcoin/atom.xml</id><entry xml:lang="en"><title>Laissez Faire, Laissez Passer</title><subtitle>The market knows what no one person can</subtitle><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><category term="freedom" scheme="https://chemaclass.com/tags/freedom/" label="Freedom"/><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><published>2026-07-05T00:00:00+00:00</published><updated>2026-07-05T00:00:00+00:00</updated><author><name>
Chemaclass</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/blog/laissez-faire-laissez-passer/"/><id>https://chemaclass.com/blog/laissez-faire-laissez-passer/</id><summary type="html">One old French phrase holds the whole case for free markets. Let people act, let goods pass. No planner knows what the market knows, and freedom, not control, should be the default.</summary><content type="html">&lt;p>Paris, around 1680. As the story goes, the finance minister of Louis XIV, Jean-Baptiste Colbert, gathers a group of merchants. He asks a simple question: what can the state do to help your business?&lt;/p>
&lt;p>One of them, a merchant named Legendre, gives a famous answer. &lt;em>“Laissez-nous faire.”&lt;/em> Leave us alone.&lt;/p>
&lt;p>About seventy years later, the economist Vincent de Gournay turns that reply into a phrase: &lt;em>laissez faire, laissez passer&lt;/em>. Let people act. Let goods pass.&lt;/p>
&lt;p>The state offered to help. The market asked only to be left alone.&lt;/p>
&lt;span id="continue-reading">&lt;/span>&lt;h2 id="the-knowledge-nobody-has">The knowledge nobody has
&lt;a class="heading-anchor" href="#the-knowledge-nobody-has" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Think about the bread you ate this morning. Nobody planned it for you. A farmer grew the wheat, a driver moved it, a miller ground it, a baker baked it. Most of them never met. None of them thought about your breakfast. Yet the bread was there.&lt;/p>
&lt;p>Friedrich Hayek called this the knowledge problem. The information needed to run an economy sits in no single place. It’s spread across millions of heads, and most of it can’t be written down. No central office can collect it in time.&lt;/p>
&lt;p>The &lt;a rel="external" href="https://www.econlib.org/library/Essays/hykKnw.html">price does that job&lt;/a> instead. When wheat gets scarce, its price rises, and thousands of strangers adjust without being told to. No memo required.&lt;/p>
&lt;details class="deep-dive">
&lt;summary class="deep-dive__header">
&lt;span class="deep-dive__icon">&lt;/span>
&lt;span class="deep-dive__title">Deep Dive: The Use of Knowledge in Society (1945)&lt;/span>
&lt;/summary>
&lt;div class="deep-dive__content">
&lt;p>Hayek’s essay in four lines:&lt;/p>
&lt;ul>
&lt;li>The knowledge that runs an economy (who needs what, where, right now) lives scattered in millions of heads.&lt;/li>
&lt;li>Most of it is local and short-lived. No office can collect it before it goes stale.&lt;/li>
&lt;li>A price compresses all of it into one number anyone can act on.&lt;/li>
&lt;li>So the question is not who should plan. It’s how to use knowledge no planner can hold. Prices already do.&lt;/li>
&lt;/ul>
&lt;/div>
&lt;/details>
&lt;p>Leonard Read made the point with a pencil. In &lt;a rel="external" href="https://fee.org/resources/i-pencil/">&lt;em>I, Pencil&lt;/em>&lt;/a>, not one person on earth knows how to make a pencil from scratch: the wood, the graphite, the paint, the eraser. Yet pencils cost almost nothing and are everywhere. Nobody is in charge. That is the point.&lt;/p>
&lt;details class="deep-dive">
&lt;summary class="deep-dive__header">
&lt;span class="deep-dive__icon">&lt;/span>
&lt;span class="deep-dive__title">Deep Dive: I, Pencil (1958)&lt;/span>
&lt;/summary>
&lt;div class="deep-dive__content">
&lt;p>Leonard Read tells the story from the pencil’s point of view. Cedar from Oregon and California, graphite from Sri Lanka, wax, glue, a brass ring. Loggers, miners, sailors, chemists: millions of people cooperated to make it, and not one of them knows the whole recipe.&lt;/p>
&lt;p>Nobody ordered them to. Prices coordinated every step. Read’s point: if no mastermind can make a pencil, be suspicious of plans that need a mastermind for a whole economy.&lt;/p>
&lt;/div>
&lt;/details>
&lt;blockquote>
&lt;p>Order doesn’t need a designer. It needs freedom and a price.&lt;/p>
&lt;/blockquote>
&lt;h2 id="the-seen-and-the-unseen">The seen and the unseen
&lt;a class="heading-anchor" href="#the-seen-and-the-unseen" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Every action has effects you can see and effects you can’t. Frédéric Bastiat built a whole way of thinking around that one idea.&lt;/p>
&lt;p>A boy breaks a shop window. A bystander shrugs: well, at least the glazier, the man who fits the new glass, gets some work. True. That’s the part you see.&lt;/p>
&lt;p>But the money the shopkeeper spent on glass might have bought new shoes. The shoemaker got no order. That’s the &lt;a rel="external" href="https://www.econlib.org/library/Bastiat/basEss1.html">part you don’t see&lt;/a>. The window is not new wealth. It’s wealth moved, and partly destroyed.&lt;/p>
&lt;details class="deep-dive">
&lt;summary class="deep-dive__header">
&lt;span class="deep-dive__icon">&lt;/span>
&lt;span class="deep-dive__title">Deep Dive: What Is Seen and What Is Not Seen (1850)&lt;/span>
&lt;/summary>
&lt;div class="deep-dive__content">
&lt;p>Bastiat’s rule: every act has one effect you see now and a chain of effects you don’t. The broken window opens the essay, then he runs the same test on taxes, subsidies, public works, and tariffs. The trick is always the same: count what the policy creates, ignore what it prevents. The bad economist stops at the first effect. The good one counts the whole chain.&lt;/p>
&lt;/div>
&lt;/details>
&lt;p>Many interventions carry this trap. The benefit is loud and close. The cost is quiet and spread thin. Planners optimize what they can see and pay with what they can’t.&lt;/p>
&lt;blockquote>
&lt;p>Good intentions are not the same as good arithmetic.&lt;/p>
&lt;/blockquote>
&lt;h2 id="freedom-is-not-chaos">Freedom is not chaos
&lt;a class="heading-anchor" href="#freedom-is-not-chaos" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Here is where both the fans and the critics of laissez faire get it wrong.&lt;/p>
&lt;p>Laissez faire was never “no rules.” A free market rests on something underneath: property you actually own, and contracts that are actually enforced. Take those away and you don’t get freedom. You get the strongest person taking whatever they want.&lt;/p>
&lt;p>The rule of law is the frame. Inside it, people are free to act. Without it, “free market” just means whoever brings the most force wins. A fight, not a market.&lt;/p>
&lt;p>Hayek wrote a book, &lt;a href="/readings/the-road-to-serfdom/">&lt;em>The Road to Serfdom&lt;/em>&lt;/a>, on where that other road leads. Freedom needs a structure. The structure isn’t the enemy of freedom. It’s what makes it possible.&lt;/p>
&lt;blockquote>
&lt;p>A market without the rule of law is a game with no referee.&lt;/p>
&lt;/blockquote>
&lt;p>&lt;img src="/images/blog/2026-07-05/middle.webp" alt="A seagull gliding over the open sea, steered by no one" />&lt;/p>
&lt;h2 id="the-one-price-they-never-freed">The one price they never freed
&lt;a class="heading-anchor" href="#the-one-price-they-never-freed" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Governments let go of most prices. They almost never let go of one: money.&lt;/p>
&lt;p>Money is a price too. The price of everything else. When a government prints too much of it, your savings quietly buy less, and you never voted for that. A tax that doesn’t look like a tax.&lt;/p>
&lt;p>This is why I got interested in &lt;a href="/blog/bitcoin-fundamentals/">money nobody can print&lt;/a>. If free prices coordinate strangers better than any planner, why should the most important price, the price of money itself, be the exception?&lt;/p>
&lt;blockquote>
&lt;p>They freed the price of bread. They kept the price of money.&lt;/p>
&lt;/blockquote>
&lt;h2 id="the-default-is-freedom">The default is freedom
&lt;a class="heading-anchor" href="#the-default-is-freedom" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Notice the burden of proof most of us carry. We assume freedom needs a reason, and control is the safe default. &lt;em>“Prove this should be allowed.”&lt;/em>&lt;/p>
&lt;p>Turn it around. Freedom is the baseline. Every rule, every ban, every intervention is what has to earn its place. Not because the market is perfect. It isn’t. Markets fail, people get hurt, and some problems need a shared answer. But whoever wants to override millions of free choices should be the one who explains why. Every time.&lt;/p>
&lt;p>Colbert asked what the state could do to help. Three centuries later, the best answer is still the merchant’s.&lt;/p>
&lt;blockquote>
&lt;p>Let people act. Let goods pass. The rest is the exception, not the rule.&lt;/p>
&lt;/blockquote>
&lt;p>&lt;img src="/images/blog/2026-07-05/footer.webp" alt="A gull crossing open water, free to go where it will" />&lt;/p></content></entry><entry xml:lang="en"><title>Broken Money</title><subtitle>Why Our Financial System is Failing Us and How We Can Make it Better</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><published>2026-01-17T00:00:00+00:00</published><updated>2026-01-17T00:00:00+00:00</updated><author><name>
Lyn Alden</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/broken-money/"/><id>https://chemaclass.com/readings/broken-money/</id><summary type="html">A deep dive into monetary history through a technological lens. Lyn Alden traces how innovations shaped money across centuries, examining commodity-based systems, modern fiat currencies, and emerging alternatives like Bitcoin. Essential reading for understanding why our financial system is failing and what we can do about it.</summary><content type="html">&lt;p>A deep dive into monetary history through a technological lens. Lyn Alden traces how innovations shaped money across centuries, examining commodity-based systems, modern fiat currencies, and emerging alternatives like Bitcoin.&lt;/p>
&lt;span id="continue-reading">&lt;/span>&lt;h2 id="what-makes-money-work">What Makes Money Work?
&lt;a class="heading-anchor" href="#what-makes-money-work" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Alden starts with the fundamentals: what actually makes something money? She breaks it down into key properties (durability, divisibility, portability, scarcity) and shows how different forms of money throughout history have excelled or failed at these.&lt;/p>
&lt;p>The key insight? Money is a technology, and like all technologies, it evolves. What worked for ancient civilizations doesn’t necessarily work in a globally connected digital world.&lt;/p>
&lt;h2 id="the-fiat-experiment">The Fiat Experiment
&lt;a class="heading-anchor" href="#the-fiat-experiment" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>One of the most eye-opening sections covers how we ended up with our current fiat system. Alden documents the shift from gold-backed currencies to pure government-issued money, explaining why this experiment (only about 50 years old) has led to persistent inflation and monetary instability.&lt;/p>
&lt;blockquote>
&lt;p>“Many currencies are rapidly diluted, which continually devalues the savings and wages of the billions of people who live and work within those jurisdictions.”&lt;/p>
&lt;/blockquote>
&lt;p>She backs this up with real-world examples from Nigeria, Egypt, Brazil, and other nations experiencing currency crises. For people in developed economies, these stories serve as a warning of what unchecked monetary expansion can lead to.&lt;/p>
&lt;h2 id="the-network-effects-of-money">The Network Effects of Money
&lt;a class="heading-anchor" href="#the-network-effects-of-money" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Alden brings a unique perspective as an engineer turned financial analyst. She applies network theory to explain why certain forms of money win out over others. Money, like the internet, benefits from network effects: the more people use it, the more useful it becomes.&lt;/p>
&lt;p>This framework helps explain both why the dollar dominates global trade and why Bitcoin has grown so quickly despite starting from zero.&lt;/p>
&lt;h2 id="bitcoin-as-a-solution">Bitcoin as a Solution
&lt;a class="heading-anchor" href="#bitcoin-as-a-solution" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>The book builds logically toward Bitcoin as a potential fix for broken monetary systems. But unlike many Bitcoin books, Alden doesn’t just cheerlead. She evaluates Bitcoin against gold and other cryptocurrencies, acknowledging trade-offs and limitations.&lt;/p>
&lt;p>Her analysis is grounded in engineering principles: What are Bitcoin’s actual properties? How does it compare to historical forms of sound money? What problems does it solve, and what problems remain?&lt;/p>
&lt;h2 id="final-thoughts">Final Thoughts
&lt;a class="heading-anchor" href="#final-thoughts" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>“Broken Money” stands out because it doesn’t assume you already agree with the premise. Alden methodically builds the case that something is wrong with how money works today, traces the historical roots of these problems, and then evaluates potential solutions.&lt;/p>
&lt;p>Whether you end up convinced by her conclusions or not, you’ll come away with a much deeper understanding of monetary systems and why they matter.&lt;/p>
&lt;p>You use money every day. Learn how it actually works.&lt;/p></content></entry><entry xml:lang="en"><title>How Bitcoin Works</title><subtitle>Blockchain, cryptography, and consensus</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="cryptography" scheme="https://chemaclass.com/tags/cryptography/" label="Cryptography"/><category term="tutorial" scheme="https://chemaclass.com/tags/tutorial/" label="Tutorial"/><published>2025-12-22T00:00:00+00:00</published><updated>2025-12-22T00:00:00+00:00</updated><author><name>
Chemaclass</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/blog/how-bitcoin-works/"/><id>https://chemaclass.com/blog/how-bitcoin-works/</id><summary type="html">Transactions, blocks, mining, the UTXO model, and Lightning Network: how Bitcoin actually works under the hood, explained in plain terms.</summary><content type="html">&lt;p>This post explains how Bitcoin works under the hood. If you’re looking for why Bitcoin matters, start with &lt;a href="/blog/bitcoin-fundamentals/">Bitcoin Fundamentals&lt;/a>.&lt;/p>
&lt;span id="continue-reading">&lt;/span>
&lt;p>&lt;em>For the technically curious.&lt;/em>&lt;/p>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/bBC-nXj3Ng4"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;h2 id="the-blockchain">The Blockchain
&lt;a class="heading-anchor" href="#the-blockchain" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="the-double-spend-problem">The Double-Spend Problem
&lt;a class="heading-anchor" href="#the-double-spend-problem" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Digital money has a fundamental problem: how do you prevent someone from copying their coins and spending them twice? Traditional systems solve this with a central authority (banks, PayPal) that tracks who owns what. Bitcoin’s breakthrough was solving this without any central party.&lt;/p>
&lt;p>The solution: a shared ledger that everyone can verify but no one controls.&lt;/p>
&lt;h3 id="how-it-works">How It Works
&lt;a class="heading-anchor" href="#how-it-works" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Bitcoin uses a blockchain: a chain of blocks where each block contains transactions and links to the previous block through cryptographic hashes.&lt;/p>
&lt;p>A &lt;strong>hash function&lt;/strong> takes any input and produces a fixed-size fingerprint. Change one bit of input, and the output changes completely. This makes tampering obvious. Bitcoin uses SHA-256, which produces a 256-bit output.&lt;/p>
&lt;p>Each block contains:&lt;/p>
&lt;ul>
&lt;li>A list of transactions&lt;/li>
&lt;li>A hash of the previous block header&lt;/li>
&lt;li>A proof-of-work solution (more below)&lt;/li>
&lt;/ul>
&lt;p>Before transactions get into a block, they wait in the mempool. Miners pick transactions from this pool, prioritizing those with higher fees. Watch this in real-time at &lt;a rel="external" href="https://mempool.space/">mempool.space&lt;/a>.&lt;/p>
&lt;p>Every node keeps a complete copy of the blockchain. No single server to hack, no central database to corrupt. To change history, you’d need to rewrite blocks on the majority of nodes worldwide.&lt;/p>
&lt;details class="deep-dive">
&lt;summary class="deep-dive__header">
&lt;span class="deep-dive__icon">&lt;/span>
&lt;span class="deep-dive__title">Deep Dive: Block Structure&lt;/span>
&lt;/summary>
&lt;div class="deep-dive__content">
&lt;p>A block has two parts: the &lt;strong>header&lt;/strong> (80 bytes) and the &lt;strong>body&lt;/strong> (transactions).&lt;/p>
&lt;p>The header contains:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Version&lt;/strong>: Protocol version&lt;/li>
&lt;li>&lt;strong>Previous block hash&lt;/strong>: Links to the chain&lt;/li>
&lt;li>&lt;strong>Merkle root&lt;/strong>: Hash of all transactions in the block&lt;/li>
&lt;li>&lt;strong>Timestamp&lt;/strong>: When the block was created&lt;/li>
&lt;li>&lt;strong>Difficulty target&lt;/strong>: How hard the puzzle was&lt;/li>
&lt;li>&lt;strong>Nonce&lt;/strong>: The solution miners found&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>Merkle trees&lt;/strong> organize transactions efficiently. Each transaction is hashed, then pairs of hashes are combined and hashed again, building up to a single root hash. This allows proving a transaction exists in a block without downloading all transactions. Useful for lightweight wallets.&lt;/p>
&lt;p>Block weight is measured in virtual bytes (vB). The limit is 4 million weight units, roughly 1-1.5 MB of data per block.&lt;/p>
&lt;/div>
&lt;/details>
&lt;h2 id="transactions-cryptography">Transactions &amp;amp; Cryptography
&lt;a class="heading-anchor" href="#transactions-cryptography" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="the-utxo-model">The UTXO Model
&lt;a class="heading-anchor" href="#the-utxo-model" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Bitcoin doesn’t use accounts with balances. Instead, it tracks &lt;strong>Unspent Transaction Outputs (UTXOs)&lt;/strong>. Think of them as digital coins of varying sizes.&lt;/p>
&lt;p>When you receive bitcoin, you get a UTXO. When you spend, you consume entire UTXOs as inputs and create new ones as outputs. If you have a 1 BTC UTXO and want to send 0.3 BTC, you spend the whole UTXO and create two outputs: 0.3 BTC to the recipient and ~0.7 BTC back to yourself (minus fees).&lt;/p>
&lt;p>Your “balance” is the sum of all UTXOs you can spend.&lt;/p>
&lt;h3 id="public-key-cryptography">Public-Key Cryptography
&lt;a class="heading-anchor" href="#public-key-cryptography" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Bitcoin transactions use public-key cryptography:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Private key&lt;/strong>: A secret 256-bit number. This proves ownership.&lt;/li>
&lt;li>&lt;strong>Public key&lt;/strong>: Derived mathematically from the private key. Shared publicly.&lt;/li>
&lt;/ul>
&lt;p>When you send bitcoin, you sign the transaction with your private key. This signature proves you own the UTXOs being spent without revealing the private key. Anyone can verify the signature using your public key.&lt;/p>
&lt;h3 id="programmable-money">Programmable Money
&lt;a class="heading-anchor" href="#programmable-money" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Bitcoin isn’t just digital cash. It has its own programming language called &lt;strong>Script&lt;/strong>. Every transaction includes a small program that defines the conditions for spending.&lt;/p>
&lt;p>Most transactions use simple scripts: “whoever can prove they own this public key can spend these coins.” But Script enables much more: multi-signature wallets requiring multiple keys, time-locked transactions that can’t be spent until a certain date, and complex conditions combining multiple requirements.&lt;/p>
&lt;p>This makes Bitcoin programmable money. For a deeper dive into Script and address types, see &lt;a href="/blog/programmable-money/">Programmable Money&lt;/a>.&lt;/p>
&lt;details class="deep-dive">
&lt;summary class="deep-dive__header">
&lt;span class="deep-dive__icon">&lt;/span>
&lt;span class="deep-dive__title">Deep Dive: Elliptic Curve Cryptography&lt;/span>
&lt;/summary>
&lt;div class="deep-dive__content">
&lt;p>Bitcoin uses &lt;strong>ECDSA&lt;/strong> (Elliptic Curve Digital Signature Algorithm) with the &lt;strong>secp256k1&lt;/strong> curve. This curve was chosen for efficiency and because it wasn’t designed by any government agency (unlike NIST curves), reducing backdoor concerns.&lt;/p>
&lt;p>A private key is a random 256-bit integer. The public key is derived by multiplying this number by a generator point on the curve. Easy to compute forward, practically impossible to reverse.&lt;/p>
&lt;p>&lt;strong>Transaction signing&lt;/strong> involves:&lt;/p>
&lt;ol>
&lt;li>Hashing the transaction data&lt;/li>
&lt;li>Creating a signature using the private key&lt;/li>
&lt;li>Including the signature and public key in the transaction&lt;/li>
&lt;/ol>
&lt;p>&lt;strong>SIGHASH flags&lt;/strong> control what parts of a transaction the signature covers:&lt;/p>
&lt;ul>
&lt;li>&lt;code>SIGHASH_ALL&lt;/code>: Signs all inputs and outputs (most common)&lt;/li>
&lt;li>&lt;code>SIGHASH_NONE&lt;/code>: Signs inputs only&lt;/li>
&lt;li>&lt;code>SIGHASH_SINGLE&lt;/code>: Signs one specific output&lt;/li>
&lt;li>These can be combined with &lt;code>ANYONECANPAY&lt;/code> for advanced use cases&lt;/li>
&lt;/ul>
&lt;/div>
&lt;/details>
&lt;h2 id="mining-consensus">Mining &amp;amp; Consensus
&lt;a class="heading-anchor" href="#mining-consensus" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>How does a decentralized network agree on which transactions are valid? Through proof-of-work mining.&lt;/p>
&lt;h3 id="the-puzzle">The Puzzle
&lt;a class="heading-anchor" href="#the-puzzle" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Miners race to find a number (the &lt;strong>nonce&lt;/strong>) that, when combined with the block header and hashed, produces a result below a target value. It’s like rolling dice until you get a number under 100, except with 2^256 possible outcomes.&lt;/p>
&lt;p>The work is:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Hard to find&lt;/strong>: Requires trillions of guesses&lt;/li>
&lt;li>&lt;strong>Easy to verify&lt;/strong>: One hash check proves the solution&lt;/li>
&lt;/ul>
&lt;p>This asymmetry is key. Anyone can verify a block instantly, but creating one requires real computational work.&lt;/p>
&lt;h3 id="why-it-matters">Why It Matters
&lt;a class="heading-anchor" href="#why-it-matters" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Mining serves three purposes:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>Secures the network&lt;/strong>: Rewriting history means redoing all hash work&lt;/li>
&lt;li>&lt;strong>Issues new coins&lt;/strong>: Following a predictable schedule (halving every 210,000 blocks)&lt;/li>
&lt;li>&lt;strong>Processes transactions&lt;/strong>: Including them in the permanent record&lt;/li>
&lt;/ol>
&lt;p>Every 2016 blocks (~2 weeks), the network adjusts difficulty to maintain ~10 minute block times. More hashpower joins? Puzzles get harder. Hashpower leaves? Puzzles get easier.&lt;/p>
&lt;p>Explore mining pools and hashrate at &lt;a rel="external" href="https://mempool.space/mining">mempool.space/mining&lt;/a>.&lt;/p>
&lt;details class="deep-dive">
&lt;summary class="deep-dive__header">
&lt;span class="deep-dive__icon">&lt;/span>
&lt;span class="deep-dive__title">Deep Dive: Difficulty and Game Theory&lt;/span>
&lt;/summary>
&lt;div class="deep-dive__content">
&lt;p>&lt;strong>Difficulty calculation&lt;/strong>: The target is a 256-bit number. A valid block hash must be below this target. Lower target = harder puzzle. The network adjusts every 2016 blocks based on how long those blocks actually took vs. the expected 20,160 minutes.&lt;/p>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/S9JGmA5_unY"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;p>&lt;strong>Hashrate and security&lt;/strong>: Bitcoin’s security comes from the cost to rewrite history. With ~500 EH/s (exahashes per second) of hashrate, attacking the network would require controlling majority hashpower. That means billions in hardware and electricity, plus the attack would crash the asset’s value.&lt;/p>
&lt;p>&lt;strong>Economic incentives&lt;/strong>: Miners spend real resources (electricity, hardware). They only profit if they play by the rules. A miner who creates invalid blocks wastes their work because nodes reject invalid blocks. This aligns individual profit motive with network security.&lt;/p>
&lt;p>&lt;strong>51% attacks&lt;/strong>: If an attacker controlled majority hashrate, they could theoretically double-spend by mining an alternative chain. But the economics make this irrational for large values: the attack destroys the value of what you’re stealing.&lt;/p>
&lt;/div>
&lt;/details>
&lt;h2 id="addresses-wallets">Addresses &amp;amp; Wallets
&lt;a class="heading-anchor" href="#addresses-wallets" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Bitcoin addresses are derived from public keys. Different formats have evolved:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>P2PKH&lt;/strong>: Legacy addresses starting with “1”&lt;/li>
&lt;li>&lt;strong>P2SH&lt;/strong>: Script addresses starting with “3”&lt;/li>
&lt;li>&lt;strong>P2WPKH&lt;/strong>: Native SegWit addresses starting with “bc1q”&lt;/li>
&lt;li>&lt;strong>P2TR&lt;/strong>: Taproot addresses starting with “bc1p”&lt;/li>
&lt;/ul>
&lt;p>For technical details on each type, see &lt;a href="/blog/programmable-money/#common-bitcoin-address-types">Programmable Money&lt;/a>.&lt;/p>
&lt;h3 id="wallets">Wallets
&lt;a class="heading-anchor" href="#wallets" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>A wallet manages your keys and constructs transactions. It doesn’t hold your coins. Coins exist on the blockchain. The wallet holds keys that prove you can spend them.&lt;/p>
&lt;p>&lt;strong>Hot wallets&lt;/strong> connect to the internet. Convenient for daily use, more vulnerable. Examples: phone apps, browser extensions.&lt;/p>
&lt;p>&lt;strong>Cold wallets&lt;/strong> stay offline. More secure for savings. Examples: hardware wallets (Ledger, Trezor), paper wallets.&lt;/p>
&lt;h3 id="hd-wallets-and-seed-phrases">HD Wallets and Seed Phrases
&lt;a class="heading-anchor" href="#hd-wallets-and-seed-phrases" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Modern wallets are &lt;strong>Hierarchical Deterministic (HD)&lt;/strong>. One master seed generates unlimited keys in a tree structure. Back up the seed once, recover everything.&lt;/p>
&lt;p>&lt;strong>BIP-39&lt;/strong> defines the 12 or 24-word seed phrase most wallets use. These words encode entropy that derives all your keys. Lose the phrase, lose access. Anyone with the phrase controls the funds.&lt;/p>
&lt;blockquote>
&lt;p>Never store seed phrases digitally. Write them down. Store securely offline.&lt;/p>
&lt;/blockquote>
&lt;p>How big is the BIP-39 keyspace, really? I built &lt;a rel="external" href="https://github.com/Chemaclass/seed-hunter">seed-hunter&lt;/a>, an open-source educational Go CLI that tries to brute-force a 12-word seed against the real Bitcoin network. It logs every attempt and shows live progress with ETAs spanning 10²⁹ to 10³⁹ years. A burglar checking one trillion seed phrases per second since the Big Bang would have completed 0.000_000_008% of the search by now. The point isn’t to break Bitcoin, it’s to make the math viscerally obvious: thermodynamics, not just computation, forbids the attack.&lt;/p>
&lt;h2 id="the-network">The Network
&lt;a class="heading-anchor" href="#the-network" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Bitcoin is a peer-to-peer network. No central servers. Nodes connect to each other, share transactions and blocks, and enforce rules independently.&lt;/p>
&lt;h3 id="node-types">Node Types
&lt;a class="heading-anchor" href="#node-types" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>&lt;strong>Full nodes&lt;/strong> download and validate every block and transaction. They enforce all consensus rules and don’t trust anyone. Running a full node means you verify everything yourself.&lt;/p>
&lt;p>&lt;strong>SPV (light) clients&lt;/strong> only download block headers. They trust that miners validated the transactions. Less security, but works on phones and low-power devices.&lt;/p>
&lt;p>&lt;strong>Mining nodes&lt;/strong> are full nodes that also compete to create new blocks.&lt;/p>
&lt;h3 id="how-transactions-propagate">How Transactions Propagate
&lt;a class="heading-anchor" href="#how-transactions-propagate" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>When you broadcast a transaction:&lt;/p>
&lt;ol>
&lt;li>Your wallet sends it to connected nodes&lt;/li>
&lt;li>Each node validates and forwards to its peers&lt;/li>
&lt;li>Within seconds, the transaction reaches most of the network&lt;/li>
&lt;li>Miners include it in their candidate blocks&lt;/li>
&lt;/ol>
&lt;p>Blocks propagate similarly. When a miner finds a valid block, it spreads across the network in seconds.&lt;/p>
&lt;details class="deep-dive">
&lt;summary class="deep-dive__header">
&lt;span class="deep-dive__icon">&lt;/span>
&lt;span class="deep-dive__title">Deep Dive: Network Architecture&lt;/span>
&lt;/summary>
&lt;div class="deep-dive__content">
&lt;p>&lt;strong>Peer discovery&lt;/strong>: Nodes find each other through DNS seeds (hardcoded addresses that return active node IPs) and by sharing peer addresses with connected nodes.&lt;/p>
&lt;p>&lt;strong>Gossip protocol&lt;/strong>: Information spreads through “inv” (inventory) messages. A node announces it has something new, peers request it if interested. This prevents bandwidth waste from duplicate data.&lt;/p>
&lt;p>&lt;strong>Compact blocks&lt;/strong> (BIP-152) speed up block propagation. Since nodes already have most transactions in their mempool, blocks can be transmitted as just the header plus short transaction IDs.&lt;/p>
&lt;/div>
&lt;/details>
&lt;h2 id="security-confirmations">Security &amp;amp; Confirmations
&lt;a class="heading-anchor" href="#security-confirmations" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="why-confirmations-matter">Why Confirmations Matter
&lt;a class="heading-anchor" href="#why-confirmations-matter" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>When a transaction is included in a block, it has 1 confirmation. Each subsequent block adds another confirmation.&lt;/p>
&lt;p>More confirmations = harder to reverse. To undo a confirmed transaction, an attacker would need to mine an alternative chain faster than the honest network. Each block makes this exponentially harder.&lt;/p>
&lt;p>&lt;strong>General guidelines:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>0 confirmations: Transaction broadcast but not yet in a block. Can be double-spent.&lt;/li>
&lt;li>1 confirmation: In a block. Reversal requires significant hashpower.&lt;/li>
&lt;li>6 confirmations: Standard for large amounts. Reversal practically impossible.&lt;/li>
&lt;/ul>
&lt;details class="deep-dive">
&lt;summary class="deep-dive__header">
&lt;span class="deep-dive__icon">&lt;/span>
&lt;span class="deep-dive__title">Deep Dive: Confirmation Security&lt;/span>
&lt;/summary>
&lt;div class="deep-dive__content">
&lt;p>Satoshi’s whitepaper includes the probability calculation. With an attacker controlling fraction &lt;code>q&lt;/code> of hashpower:&lt;/p>
&lt;ul>
&lt;li>If &lt;code>q &amp;lt; 0.5&lt;/code>: Probability of catching up decreases exponentially with each confirmation&lt;/li>
&lt;li>At 6 confirmations with &lt;code>q = 0.1&lt;/code> (10% hashpower): Success probability &amp;lt; 0.1%&lt;/li>
&lt;/ul>
&lt;p>The “6 confirmations” rule assumes a well-funded attacker with substantial but minority hashpower. For smaller transactions, fewer confirmations are often acceptable.&lt;/p>
&lt;p>&lt;strong>Finality in Bitcoin&lt;/strong> is probabilistic, not absolute. But after enough confirmations, the probability of reversal approaches zero for any realistic attacker.&lt;/p>
&lt;/div>
&lt;/details>
&lt;h2 id="incentive-alignment">Incentive Alignment
&lt;a class="heading-anchor" href="#incentive-alignment" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Bitcoin isn’t just a clever technology. It’s a system where every participant’s self-interest reinforces the network.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Miners&lt;/strong> invest in hardware and electricity. They only profit by producing valid blocks. Cheating wastes their investment because nodes reject invalid blocks instantly.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Nodes&lt;/strong> enforce the rules to protect their own holdings. A node operator who accepts invalid transactions devalues their own bitcoin. Self-interest makes them honest validators.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Users&lt;/strong> pay fees to get transactions processed. Higher fees mean faster confirmation. This creates demand for block space and funds network security.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Developers&lt;/strong> contribute to software they themselves use. Bugs hurt their own holdings. Improvements benefit everyone, including them.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Holders&lt;/strong> benefit from network security and adoption. The more secure and useful Bitcoin becomes, the more valuable their holdings. They’re incentivized to support the ecosystem.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>No central coordinator. No trust required. Everyone acts in their own interest, and the system benefits everyone.&lt;/p>
&lt;blockquote>
&lt;p>“Don’t trust, verify.” Anyone can run a node and verify every transaction, every block, every rule. You don’t need to trust banks, governments, or even other Bitcoin users. The math proves itself.&lt;/p>
&lt;/blockquote>
&lt;h2 id="scaling-the-lightning-network">Scaling: The Lightning Network
&lt;a class="heading-anchor" href="#scaling-the-lightning-network" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Bitcoin’s base layer processes about 7 transactions per second. That’s by design: keeping things decentralized requires blocks small enough for anyone to verify. But this limits how many transactions it can handle.&lt;/p>
&lt;p>The Lightning Network solves this with a second layer built on top of Bitcoin. It enables:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Instant payments&lt;/strong>: No waiting for block confirmations&lt;/li>
&lt;li>&lt;strong>Near-zero fees&lt;/strong>: Fractions of a cent&lt;/li>
&lt;li>&lt;strong>High capacity&lt;/strong>: Millions of transactions per second&lt;/li>
&lt;/ul>
&lt;p>Lightning works by opening “payment channels” between parties. Transactions within a channel happen off-chain, instantly. Only the opening and closing of channels require on-chain transactions. You can visualize the network topology and statistics at &lt;a rel="external" href="https://mempool.space/lightning">mempool.space/lightning&lt;/a>.&lt;/p>
&lt;blockquote>
&lt;p>Bitcoin’s base layer provides security and final settlement. Lightning provides speed and scale. Different tools for different jobs.&lt;/p>
&lt;/blockquote>
&lt;p>If you want to run your own Lightning node and take full control of your payments, I wrote a guide on how to &lt;a href="/blog/run-your-ln-node/">Run your LN node on a Raspberry Pi&lt;/a>.&lt;/p>
&lt;details class="deep-dive">
&lt;summary class="deep-dive__header">
&lt;span class="deep-dive__icon">&lt;/span>
&lt;span class="deep-dive__title">Deep Dive: How Lightning Works&lt;/span>
&lt;/summary>
&lt;div class="deep-dive__content">
&lt;p>Payment channels use &lt;strong>2-of-2 multisig&lt;/strong> addresses. Both parties must sign to move funds. This creates a shared account that neither can steal from.&lt;/p>
&lt;p>&lt;strong>HTLCs (Hash Time-Locked Contracts)&lt;/strong> enable multi-hop payments. The mechanism:&lt;/p>
&lt;ol>
&lt;li>Alice wants to pay Carol through Bob&lt;/li>
&lt;li>Carol generates a secret and gives Alice the hash&lt;/li>
&lt;li>Alice creates an HTLC: “Bob gets paid if he reveals the secret within 24 hours”&lt;/li>
&lt;li>Bob creates a similar HTLC with Carol&lt;/li>
&lt;li>Carol reveals the secret to Bob, claiming payment&lt;/li>
&lt;li>Bob uses the same secret to claim from Alice&lt;/li>
&lt;/ol>
&lt;p>If anyone fails to cooperate, the timelock expires and funds return. The secret travels backward, payments travel forward.&lt;/p>
&lt;p>&lt;strong>Watchtowers&lt;/strong> monitor the blockchain for cheating attempts. If your counterparty tries to broadcast an old channel state, the watchtower can penalize them, even while you’re offline.&lt;/p>
&lt;/div>
&lt;/details>
&lt;h2 id="the-bigger-picture">The Bigger Picture
&lt;a class="heading-anchor" href="#the-bigger-picture" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>What makes Bitcoin remarkable isn’t any single component. It’s how they fit together into a self-reinforcing system.&lt;/p>
&lt;p>Cryptography proves ownership without trusted authorities. Proof-of-work makes history expensive to rewrite. Economic incentives turn individual greed into collective security. Decentralization removes single points of failure. And the fixed supply creates digital scarcity for the first time in history.&lt;/p>
&lt;p>Every piece supports every other piece. Remove one, and the system weakens. Together, they create something that has never existed before: money that can’t be inflated, transactions that can’t be censored, and property that can’t be confiscated.&lt;/p>
&lt;blockquote>
&lt;p>No banks. No governments. No trusted third parties. Just math, code, and a global network of nodes all enforcing the same rules.&lt;/p>
&lt;/blockquote>
&lt;p>Whether that matters to you depends on where you live and how much you trust your institutions. But the option exists now. And no one can take it away.&lt;/p>
&lt;details class="deep-dive">
&lt;summary class="deep-dive__header">
&lt;span class="deep-dive__icon">&lt;/span>
&lt;span class="deep-dive__title">Deep Dive: Rabbit Holes&lt;/span>
&lt;/summary>
&lt;div class="deep-dive__content">
&lt;p>Bitcoin’s technical depth goes far beyond what fits in one post. Here are topics worth exploring if you want to go deeper:&lt;/p>
&lt;p>&lt;strong>&lt;a rel="external" href="https://bitcoinops.org/en/topics/segregated-witness/">SegWit&lt;/a>&lt;/strong> (Segregated Witness) was Bitcoin’s 2017 upgrade that moved signature data outside the main transaction structure. This fixed transaction malleability (a bug that prevented Lightning), introduced block weight for more efficient space usage, and did it all while staying backwards-compatible with old nodes.&lt;/p>
&lt;p>&lt;strong>&lt;a rel="external" href="https://bitcoinops.org/en/topics/taproot/">Taproot &amp;amp; Schnorr&lt;/a>&lt;/strong> landed in 2021, upgrading Bitcoin’s cryptography. Schnorr signatures are smaller and enable aggregation (multiple signatures become one). Taproot makes complex spending conditions look identical to simple payments on-chain, improving both privacy and efficiency.&lt;/p>
&lt;p>&lt;strong>&lt;a rel="external" href="https://bitcoin.stackexchange.com/questions/30817/what-is-a-soft-fork">Soft forks vs hard forks&lt;/a>&lt;/strong>: How does Bitcoin upgrade without a central authority? Soft forks add new rules that old nodes still accept. Hard forks change rules in ways old nodes reject. Understanding this distinction explains why Bitcoin evolves slowly and why contentious changes are rare.&lt;/p>
&lt;p>&lt;strong>&lt;a rel="external" href="https://mempool.space/docs/faq#what-is-rbf">Fee mechanics&lt;/a>&lt;/strong>: The fee market is more nuanced than “pay more, confirm faster.” Replace-By-Fee (RBF) lets you bump a stuck transaction’s fee. Child-Pays-For-Parent (CPFP) lets recipients accelerate incoming payments by spending them with high fees.&lt;/p>
&lt;p>&lt;strong>&lt;a rel="external" href="https://bitcoinops.org/en/topics/timelocks/">Timelocks&lt;/a>&lt;/strong>: Bitcoin can lock funds until conditions are met. &lt;code>CLTV&lt;/code> (CheckLockTimeVerify) locks until a specific block height or timestamp. &lt;code>CSV&lt;/code> (CheckSequenceVerify) locks for a relative time after confirmation. These primitives enable Lightning channels, inheritance schemes, and atomic swaps.&lt;/p>
&lt;p>&lt;strong>&lt;a rel="external" href="https://learnmeabitcoin.com/technical/mining/coinbase-transaction/">Coinbase transactions&lt;/a>&lt;/strong>: The only way new bitcoin enters circulation. Every block begins with a special transaction that pays the miner the block reward plus all fees. These newly minted coins can’t be spent for 100 blocks, a rule that protects against chain reorganizations.&lt;/p>
&lt;p>The deeper you go, the more you find.&lt;/p>
&lt;/div>
&lt;/details></content></entry><entry xml:lang="en"><title>Bitcoin Fundamentals</title><subtitle>A beginner's guide to sound money</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="privacy" scheme="https://chemaclass.com/tags/privacy/" label="Privacy"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><published>2025-11-21T00:00:00+00:00</published><updated>2025-11-21T00:00:00+00:00</updated><author><name>
Chemaclass</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/blog/bitcoin-fundamentals/"/><id>https://chemaclass.com/blog/bitcoin-fundamentals/</id><summary type="html">21 million cap, no central authority, permissionless and censorship-resistant. Bitcoin is digital money you truly own. No bank required.</summary><content type="html">&lt;p>&lt;img src="/images/blog/2025-12-21/footer.jpg" alt="blog-cover" />&lt;/p>
&lt;p>What would you do if your bank account was frozen tomorrow? No warning, no explanation, no access to your own money.&lt;/p>
&lt;p>This isn’t hypothetical. In 2022, Canada froze bank accounts of people who donated to a protest. In 2015, Greeks could only withdraw €60 per day from ATMs. In Argentina, Turkey, and Lebanon, people watched their savings lose half their value in months.&lt;/p>
&lt;p>Bitcoin exists because these things happen. Understanding it requires going back to basics: what is money, why does it matter, and how does Bitcoin fit into that picture.&lt;/p>
&lt;span id="continue-reading">&lt;/span>
&lt;p>&lt;em>No technical background required. Just curiosity.&lt;/em>&lt;/p>
&lt;h2 id="a-brief-history-of-money">A Brief History of Money
&lt;a class="heading-anchor" href="#a-brief-history-of-money" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Money is a social agreement. A piece of paper, a gold coin, or a number on a screen has value because we all agree it does. This agreement is what makes trade possible.&lt;/p>
&lt;p>Throughout history, money has evolved:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>Direct trade&lt;/strong>: Exchanging goods for goods. “I’ll give you my fish for your bread.”&lt;/li>
&lt;li>&lt;strong>Things used as money&lt;/strong>: Shells, salt, cattle. Valuable because they were useful or hard to find.&lt;/li>
&lt;li>&lt;strong>Precious metals&lt;/strong>: Gold and silver. Hard to find, long-lasting, easy to divide and carry.&lt;/li>
&lt;li>&lt;strong>Paper money backed by gold&lt;/strong>: Receipts representing gold stored in vaults.&lt;/li>
&lt;li>&lt;strong>Government money&lt;/strong>: Paper backed by nothing but a government’s promise. Why does it work? Because governments require you to pay taxes in their currency. This forces everyone to use it.&lt;/li>
&lt;/ol>
&lt;blockquote>
&lt;p>Money is a way to store and transfer value. The better it performs these functions, the better it serves as money.&lt;/p>
&lt;/blockquote>
&lt;p>What makes good money? These properties:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Hard to create&lt;/strong>: Cannot be easily made or faked&lt;/li>
&lt;li>&lt;strong>Long-lasting&lt;/strong>: Doesn’t break down over time&lt;/li>
&lt;li>&lt;strong>Divisible&lt;/strong>: Can be broken into smaller pieces&lt;/li>
&lt;li>&lt;strong>Easy to move&lt;/strong>: Simple to carry and send&lt;/li>
&lt;li>&lt;strong>Easy to verify&lt;/strong>: Simple to check if it’s real&lt;/li>
&lt;/ul>
&lt;p>Gold does well on most of these. Paper money is easy to move and divide but fails on being hard to create. Governments can print as much as they want. Bitcoin, as we’ll see, does well on all of them.&lt;/p>
&lt;h2 id="what-is-bitcoin">What is Bitcoin?
&lt;a class="heading-anchor" href="#what-is-bitcoin" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Bitcoin is digital money that works without banks, governments, or any central authority. It was created in 2009 by someone (or some group) using the pseudonym &lt;a rel="external" href="https://en.wikipedia.org/wiki/Satoshi_Nakamoto">Satoshi Nakamoto&lt;/a>. No one knows who this person really is.&lt;/p>
&lt;p>The first Bitcoin block (the &lt;a rel="external" href="https://en.bitcoin.it/wiki/Genesis_block">Genesis Block&lt;/a>) contains a hidden message: &lt;em>“The Times 03/Jan/2009 Chancellor on brink of second bailout for banks.”&lt;/em> This headline from The Times newspaper referenced the 2008 financial crisis. It wasn’t random. It was a timestamp and a statement of purpose. Bitcoin was created as a response to bank bailouts and monetary manipulation.&lt;/p>
&lt;p>Bitcoin builds on decades of work by cryptographers and privacy activists. If you’re curious about the people and ideas that led to Bitcoin, I wrote about &lt;a href="/blog/the-cypherpunks/">The Cypherpunks&lt;/a> and their vision for digital privacy.&lt;/p>
&lt;p>At its core, Bitcoin is:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>A protocol&lt;/strong>: A set of rules that computers follow to agree on who owns what&lt;/li>
&lt;li>&lt;strong>A network&lt;/strong>: Thousands of computers worldwide running the Bitcoin software&lt;/li>
&lt;li>&lt;strong>A currency&lt;/strong>: Units of account called bitcoins (BTC), divisible to 8 decimal places&lt;/li>
&lt;/ul>
&lt;p>There’s no company behind Bitcoin. No CEO, no headquarters, no customer support. It’s open-source software that anyone can run, inspect, or contribute to.&lt;/p>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/d7ID3fKAFQM"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;h2 id="sound-money">Sound Money
&lt;a class="heading-anchor" href="#sound-money" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="scarcity">Scarcity
&lt;a class="heading-anchor" href="#scarcity" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>There will only ever be 21 million bitcoins. This is enforced by the protocol’s code, verified by every node on the network. No government, no committee, no emergency meeting can change this.&lt;/p>
&lt;p>Compare this to government money. Central banks can (and do) create money whenever they want. The U.S. dollar has lost over 95% of its buying power since 1913. The Euro, the Pound, the Yen: all follow the same pattern of slowly losing value.&lt;/p>
&lt;blockquote>
&lt;p>In a world of infinite money printing, a mathematically enforced hard cap is revolutionary.&lt;/p>
&lt;/blockquote>
&lt;p>Bitcoin is often called “digital gold” because it shares gold’s scarcity while being easier to store, divide, and transfer. You can send a billion dollars worth of Bitcoin anywhere in the world in minutes, for a few dollars in fees. Try doing that with gold bars.&lt;/p>
&lt;h3 id="inflation-protection">Inflation Protection
&lt;a class="heading-anchor" href="#inflation-protection" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>When governments print money, the value of existing money decreases. This is inflation. Your savings buy less over time, even while sitting untouched in your bank account.&lt;/p>
&lt;p>Inflation is often called a “hidden tax” because it transfers wealth from savers to those who receive the new money first (usually governments and banks). I wrote more about this in &lt;a href="/blog/understanding-taxes/">Understanding Taxes&lt;/a>.&lt;/p>
&lt;p>Bitcoin’s supply schedule is fixed and predictable. New bitcoins are created through mining at a rate that halves roughly every four years. By around 2140, all 21 million will have been created. No surprises, no government decisions to print more.&lt;/p>
&lt;h2 id="freedom-sovereignty">Freedom &amp;amp; Sovereignty
&lt;a class="heading-anchor" href="#freedom-sovereignty" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="self-custody">Self-custody
&lt;a class="heading-anchor" href="#self-custody" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>With Bitcoin, you can hold your own money. Not a promise from a bank, not a balance on someone else’s books. Actual ownership, secured by cryptographic keys that only you control.&lt;/p>
&lt;blockquote>
&lt;p>“Not your keys, not your coins.”&lt;/p>
&lt;/blockquote>
&lt;p>This phrase captures a fundamental truth. When you deposit money in a bank, you don’t own that money anymore. You own a claim against the bank. If the bank freezes your account, goes bankrupt, or decides you violated their terms of service, your access disappears.&lt;/p>
&lt;p>With Bitcoin, there’s no freeze button. No account to close. No terms of service to violate. You become your own bank.&lt;/p>
&lt;h3 id="permissionless-borderless">Permissionless &amp;amp; Borderless
&lt;a class="heading-anchor" href="#permissionless-borderless" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Bitcoin doesn’t care about borders, banking hours, or your credit score. You can send money to anyone with an internet connection, anywhere in the world, at any time.&lt;/p>
&lt;p>Traditional banking:&lt;/p>
&lt;ul>
&lt;li>Hours: Monday-Friday, 9-5 (maybe)&lt;/li>
&lt;li>International transfers: 3-5 business days&lt;/li>
&lt;li>Fees: Percentage of transfer + fixed fees&lt;/li>
&lt;li>Requirements: ID, proof of address, account in good standing&lt;/li>
&lt;/ul>
&lt;p>Bitcoin:&lt;/p>
&lt;ul>
&lt;li>Hours: 24/7/365&lt;/li>
&lt;li>Global transfers: ~10 minutes to an hour&lt;/li>
&lt;li>Fees: Based on data size, not amount sent&lt;/li>
&lt;li>Requirements: A Bitcoin address (free, instant, no ID)&lt;/li>
&lt;/ul>
&lt;h3 id="censorship-resistance">Censorship Resistance
&lt;a class="heading-anchor" href="#censorship-resistance" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>No central authority controls Bitcoin. No single entity can stop a transaction or reverse a payment. Once confirmed, it’s final.&lt;/p>
&lt;p>This matters for people living under oppressive governments, facing political pressure, or simply wanting financial privacy. It matters for donations to controversial causes, for journalists protecting sources, for anyone who values financial freedom.&lt;/p>
&lt;blockquote>
&lt;p>Financial freedom isn’t just about being rich. It’s about having control over your own money, regardless of who you are or where you live.&lt;/p>
&lt;/blockquote>
&lt;h3 id="real-stories">Real Stories
&lt;a class="heading-anchor" href="#real-stories" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>These aren’t edge cases:&lt;/p>
&lt;div class="interactive-list" data-component="interactive-list" style="--interactive-list-nav-height: 450px;">
&lt;div class="interactive-list__container">
&lt;nav class="interactive-list__nav" role="tablist" aria-label="Real Stories">
&lt;button class="interactive-list__tab active" role="tab" aria-selected="true" data-target="wikileaks">
&lt;span class="interactive-list__label">WikiLeaks 2010&lt;/span>
&lt;span class="interactive-list__summary">Payment blocked&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="cyprus">
&lt;span class="interactive-list__label">Cyprus 2013&lt;/span>
&lt;span class="interactive-list__summary">Bank bail-ins&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="greece">
&lt;span class="interactive-list__label">Greece 2015&lt;/span>
&lt;span class="interactive-list__summary">Capital controls&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="venezuela">
&lt;span class="interactive-list__label">Venezuela 2016&lt;/span>
&lt;span class="interactive-list__summary">1,000,000% inflation&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="lebanon">
&lt;span class="interactive-list__label">Lebanon 2019&lt;/span>
&lt;span class="interactive-list__summary">Banking collapse&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="hongkong">
&lt;span class="interactive-list__label">Hong Kong 2019&lt;/span>
&lt;span class="interactive-list__summary">Protest funding&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="belarus">
&lt;span class="interactive-list__label">Belarus 2020&lt;/span>
&lt;span class="interactive-list__summary">Regime resistance&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="nigeria">
&lt;span class="interactive-list__label">Nigeria 2021&lt;/span>
&lt;span class="interactive-list__summary">Ban failed&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="turkey">
&lt;span class="interactive-list__label">Turkey 2021&lt;/span>
&lt;span class="interactive-list__summary">Lira devaluation&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="elsalvador">
&lt;span class="interactive-list__label">El Salvador 2021&lt;/span>
&lt;span class="interactive-list__summary">Legal tender&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="afghanistan">
&lt;span class="interactive-list__label">Afghanistan 2021&lt;/span>
&lt;span class="interactive-list__summary">Women's savings&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="ukraine">
&lt;span class="interactive-list__label">Ukraine 2022&lt;/span>
&lt;span class="interactive-list__summary">$100M+ in donations&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="canada">
&lt;span class="interactive-list__label">Canada 2022&lt;/span>
&lt;span class="interactive-list__summary">Accounts frozen&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="russia">
&lt;span class="interactive-list__label">Russia 2022&lt;/span>
&lt;span class="interactive-list__summary">Sanctions escape&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="argentina">
&lt;span class="interactive-list__label">Argentina 2023-25&lt;/span>
&lt;span class="interactive-list__summary">Inflation slashed&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="remittances">
&lt;span class="interactive-list__label">Remittances 2023&lt;/span>
&lt;span class="interactive-list__summary">Cheaper transfers&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="etfs">
&lt;span class="interactive-list__label">Bitcoin ETFs 2024&lt;/span>
&lt;span class="interactive-list__summary">Institutional legitimacy&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="gaza">
&lt;span class="interactive-list__label">Gaza 2024&lt;/span>
&lt;span class="interactive-list__summary">Humanitarian lifeline&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="usreserve">
&lt;span class="interactive-list__label">US Reserve 2025&lt;/span>
&lt;span class="interactive-list__summary">National strategy&lt;/span>
&lt;/button>
&lt;button class="interactive-list__tab" role="tab" aria-selected="false" data-target="machado">
&lt;span class="interactive-list__label">Venezuela 2025&lt;/span>
&lt;span class="interactive-list__summary">Nobel resistance&lt;/span>
&lt;/button>
&lt;/nav>
&lt;div class="interactive-list__panels">
&lt;div class="interactive-list__panel active" role="tabpanel" id="panel-wikileaks">
&lt;div class="interactive-list__content">
&lt;p>In December 2010, WikiLeaks published classified U.S. diplomatic cables. Within days, Visa, Mastercard, PayPal, and Bank of America cut off all payment processing. &lt;br> &lt;br> WikiLeaks lost 95% of its revenue overnight. In 2011, they started accepting Bitcoin. It was one of the first major use cases for the cryptocurrency. The financial blockade meant to silence them instead proved Bitcoin's value as censorship-resistant money.&lt;/p>
&lt;/div>
&lt;a href="https://www.cnbc.com/2017/10/16/wikileaks-julian-assange-bitcoin-50000-percent-return-thanks-to-us-government.html" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-cyprus">
&lt;div class="interactive-list__content">
&lt;p>In March 2013, Cyprus banks took 47.5% of all deposits over €100,000 to bail themselves out. No consent, no warning. Money in the bank was simply confiscated to save the banking system. &lt;br> &lt;br> Bitcoin's price doubled in the weeks following. The Cyprus bail-in was a wake-up call: your bank balance is an IOU, and when banks fail, you're the one who pays.&lt;/p>
&lt;/div>
&lt;a href="https://www.reuters.com/article/us-eurozone-cyprus-deposit-idUSBRE92O0R120130325/" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-greece">
&lt;div class="interactive-list__content">
&lt;p>In June 2015, Greece closed its banks for three weeks. ATM withdrawals were capped at €60 per day. Citizens couldn't access their own money. The debt crisis showed Europeans that bank deposits aren't as safe as they assumed. &lt;br> &lt;br> Bitcoin interest spiked in Greece during the crisis. It was an early warning: even in "stable" countries, your access to money can be switched off overnight.&lt;/p>
&lt;/div>
&lt;a href="https://www.nbcnews.com/business/business-news/greece-crisis-banks-shut-week-restrictions-imposed-atms-n383606" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-venezuela">
&lt;div class="interactive-list__content">
&lt;p>Between 2016 and 2019, inflation reached 53,000,000%. Salaries became worthless within days. People couldn't buy food, medicine, or basic goods. Those who converted savings to Bitcoin before the collapse preserved their wealth. &lt;br> &lt;br> Those who trusted the banking system lost everything. Bitcoin became a lifeline. Not for speculation, but for survival.&lt;/p>
&lt;/div>
&lt;a href="https://www.ccn.com/education/crypto/venezuela-inflation-bitcoin-usdt-p2p-crypto-lifeline/" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-lebanon">
&lt;div class="interactive-list__content">
&lt;p>In 2019, Lebanese banks began freezing deposits. By 2020, people couldn't access their own savings. The lira lost 90% of its value. ATM withdrawals were capped at tiny amounts. It wasn't a temporary measure. Banks simply didn't have the money. &lt;br> &lt;br>Those who had converted to Bitcoin before the collapse could still access their wealth. Those who trusted the banks discovered that "your money" wasn't really yours.&lt;/p>
&lt;/div>
&lt;a href="https://www.cnbc.com/2022/11/05/-in-bankrupt-lebanon-locals-mine-bitcoin-and-buy-groceries-with-tether.html" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-hongkong">
&lt;div class="interactive-list__content">
&lt;p>During the 2019-2020 pro-democracy protests, Hong Kong activists faced financial surveillance. Banks could freeze accounts of known protesters. Donations through traditional channels could be traced. &lt;br> &lt;br>Bitcoin offered a way to fund the movement without leaving a trail for authorities. Protesters used crypto to receive international support while protecting their identities. Financial privacy became a tool of resistance.&lt;/p>
&lt;/div>
&lt;a href="https://cointelegraph.com/news/spotlight-on-bitcoin-as-hsbc-shuts-hong-kong-protest-linked-account" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-belarus">
&lt;div class="interactive-list__content">
&lt;p>After the disputed 2020 election, Belarus erupted in protests. The Lukashenko regime responded with violence and financial repression. Bank accounts of activists, journalists, and NGOs were frozen. &lt;br> &lt;br>The KGB monitored all transfers. A solidarity fund called BYSOL raised over $2 million in Bitcoin and distributed it directly to protesters who lost jobs or faced persecution. The only payment method authorities couldn't control.&lt;/p>
&lt;/div>
&lt;a href="https://www.euronews.com/my-europe/2021/12/22/meet-the-ngo-turning-to-cryptocurrencies-to-help-desperate-belarusians" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-nigeria">
&lt;div class="interactive-list__content">
&lt;p>The Central Bank banned crypto exchanges in February 2021 and ordered banks to close accounts of anyone dealing in cryptocurrency. The goal was to stop Bitcoin adoption. It backfired. &lt;br> &lt;br>Peer-to-peer trading surged 27% in the months following the ban. Nigerians simply moved to decentralized platforms. The naira continued losing value while Bitcoin kept working. You can't ban math.&lt;/p>
&lt;/div>
&lt;a href="https://www.nasdaq.com/articles/bitcoin-peer-to-peer-trading-in-nigeria-rises-27-since-central-banks-ban-2021-04-23" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-turkey">
&lt;div class="interactive-list__content">
&lt;p>The Turkish lira has lost over 80% of its value against the dollar since 2018. Every currency crisis triggers a spike in Bitcoin trading. In 2021, Turkey banned crypto payments, but trading volumes only increased. &lt;br> &lt;br>The government can't stop people from protecting their savings. When the lira crashes, Bitcoin search trends surge. Turks aren't speculating. They're surviving.&lt;/p>
&lt;/div>
&lt;a href="https://www.reuters.com/world/middle-east/turkeys-slumping-lira-adds-fuels-crypto-trading-boom-2021-03-31/" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-elsalvador">
&lt;div class="interactive-list__content">
&lt;p>In September 2021, El Salvador became the first country to make Bitcoin legal tender. President Bukele's government installed Bitcoin ATMs nationwide, and even started mining BTC using geothermal energy from volcanoes. Critics predicted disaster. &lt;br> &lt;br>Instead, tourism increased, remittance costs dropped, and the country gained global attention. A small nation became a Bitcoin laboratory.&lt;/p>
&lt;/div>
&lt;a href="https://cointelegraph.com/news/el-salvador-bitcoin-holdings-unrealized-gains" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-afghanistan">
&lt;div class="interactive-list__content">
&lt;p>When the Taliban took control in August 2021, banks froze. International transfers stopped. Women, banned from working, lost access to income. But some Afghan women had learned about Bitcoin before the collapse. &lt;br> &lt;br>They could receive payments from abroad, store value the regime couldn't seize, and maintain financial independence. In a country where women can't open bank accounts, Bitcoin became a tool of quiet resistance.&lt;/p>
&lt;/div>
&lt;a href="https://bitcoinmagazine.com/culture/bitcoin-financial-freedom-in-afghanistan" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-ukraine">
&lt;div class="interactive-list__content">
&lt;p>When Russia invaded, traditional aid was too slow. Banks were overwhelmed, wire transfers took days. But within hours of posting Bitcoin addresses on Twitter, donations poured in from around the world. By March 2022, Ukraine received over $100 million in crypto. &lt;br> &lt;br>Funds went directly to bulletproof vests, medical supplies, and communication equipment. No bureaucracy, no intermediaries, no delays.&lt;/p>
&lt;/div>
&lt;a href="https://www.coindesk.com/business/2022/03/09/ukraine-has-received-close-to-100-million-in-crypto-donations" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-canada">
&lt;div class="interactive-list__content">
&lt;p>In February 2022, the government invoked the Emergencies Act to freeze bank accounts of people who donated to trucker protests. No court order needed. Over 200 accounts were frozen overnight. But Bitcoin donations kept flowing. &lt;br> &lt;br>Organizers distributed 14+ BTC directly to protesters. The government couldn't touch those funds. In 2024, a court ruled the freezes unconstitutional. The lesson: custodial money can be weaponized.&lt;/p>
&lt;/div>
&lt;a href="https://fortune.com/2022/03/15/how-canada-protest-crypto-crackdown-made-the-case-for-bitcoin-self-custody-nick-neuman/" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-russia">
&lt;div class="interactive-list__content">
&lt;p>After Russia invaded Ukraine in 2022, Western sanctions cut Russian banks from SWIFT. Suddenly, Russians abroad couldn't access their money. Many turned to crypto, not to evade sanctions, but to survive. &lt;br> &lt;br>Meanwhile, Ukrainians used Bitcoin to receive donations and preserve savings. The same technology served people on both sides of a conflict, based on their individual needs. Bitcoin doesn't pick sides.&lt;/p>
&lt;/div>
&lt;a href="https://us.boell.org/en/2022/04/08/crypto-both-sides-russia-ukraine-war" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-argentina">
&lt;div class="interactive-list__content">
&lt;p>Argentina suffered 211% inflation in 2023 under decades of big-government policies. Then Javier Milei took office. He halved ministries, cut 40,000 government jobs, and ended monetary financing. Result: inflation dropped to 117% in 2024, then 31% by end of 2025, the lowest in seven years. GDP grew 7.6% in Q2 2025, the strongest in two decades. &lt;br> &lt;br>Poverty fell from 57% to 32%. Smaller government, sound money principles. Bitcoin adoption remains high, Argentines learned not to trust any currency they can't verify themselves.&lt;/p>
&lt;/div>
&lt;a href="https://www.aljazeera.com/economy/2025/7/25/milei-tames-inflation-but-argentines-still-struggle-to-afford-basics" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-remittances">
&lt;div class="interactive-list__content">
&lt;p>Migrant workers send $700 billion home every year. Traditional services like Western Union take 6-10% in fees. For a worker sending $200, that's $20 gone. Money their family desperately needs. &lt;br> &lt;br>Bitcoin and Lightning Network transfer value across borders for cents, settling in minutes instead of days. Companies like Bitso processed $8 billion in crypto remittances in 2023. Cheaper transfers mean more food on the table.&lt;/p>
&lt;/div>
&lt;a href="https://www.coindesk.com/consensus-magazine/2023/04/17/send-globally-crypto-remittance-service" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-etfs">
&lt;div class="interactive-list__content">
&lt;p>In January 2024, the SEC approved Bitcoin ETFs for the first time. Within months, institutional investment surged 400%. By end of 2024, professional investors held $27.4 billion in Bitcoin ETFs, over 26% of total AUM. BlackRock's IBIT alone reached $50 billion. &lt;br> &lt;br>Bitcoin was no longer just for early adopters. Wall Street called it "year zero of institutional adoption." The asset that banks once dismissed now sits in pension funds.&lt;/p>
&lt;/div>
&lt;a href="https://www.cnbc.com/2024/01/10/sec-approves-rule-changes-that-pave-the-way-for-bitcoin-etfs.html" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-gaza">
&lt;div class="interactive-list__content">
&lt;p>When cash imports into Gaza were blocked in 2024, banking infrastructure collapsed. Traditional transfers charged 30%+ fees, if they worked at all. Bitcoin became a lifeline. One volunteer sent $123,000 in BTC that bought food, water, and built shelters for displaced families. &lt;br> &lt;br>A taxi driver named Yusef received $48k in Bitcoin donations and built 100 tents. When banks fail, Bitcoin still works. No permission needed.&lt;/p>
&lt;/div>
&lt;a href="https://bitcoinmagazine.com/culture/palestinian-taxi-driver-uses-bitcoin-to-save-civilians-in-gaza-" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-usreserve">
&lt;div class="interactive-list__content">
&lt;p>On March 6, 2025, President Trump signed an executive order establishing a Strategic Bitcoin Reserve, a "digital Fort Knox." The reserve holds ~200,000 BTC from seized assets, with a policy never to sell. &lt;br> &lt;br>The U.S. had lost $17 billion selling seized bitcoin too early. Now it's holding. Pakistan announced its own reserve weeks later. Nations that once dismissed Bitcoin now compete to accumulate it.&lt;/p>
&lt;/div>
&lt;a href="https://www.whitehouse.gov/fact-sheets/2025/03/fact-sheet-president-donald-j-trump-establishes-the-strategic-bitcoin-reserve-and-u-s-digital-asset-stockpile/" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;div class="interactive-list__panel" role="tabpanel" id="panel-machado">
&lt;div class="interactive-list__content">
&lt;p>María Corina Machado won the 2025 Nobel Peace Prize for fighting Venezuela's dictatorship. Her campaign runs on Bitcoin because "bank wires get blocked, but bitcoin donations cannot be seized." With the bolívar down 98% in a decade and 8,000%+ inflation, Bitcoin became "a vital means of resistance." &lt;br> &lt;br>She promised a democratic Venezuela would embrace Bitcoin in its national reserves. Freedom money for a freedom fighter.&lt;/p>
&lt;/div>
&lt;a href="https://cointelegraph.com/news/nobel-prize-maria-corina-machado-pro-bitcoin" class="interactive-list__link" target="_blank" rel="noopener">Read full article →&lt;/a>
&lt;/div>
&lt;/div>
&lt;/div>
&lt;/div>
&lt;h2 id="common-objections">Common Objections
&lt;a class="heading-anchor" href="#common-objections" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>“It’s used for crime.”&lt;/strong> So is cash. The difference: Bitcoin leaves a permanent, traceable record. The blockchain is a &lt;a rel="external" href="https://www.chainalysis.com/blog/2025-crypto-crime-report-introduction/">forensic tool&lt;/a>. Most criminals prefer dollars.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>“It’s too volatile.”&lt;/strong> True in the short term. Zoom out: Bitcoin has been the &lt;a rel="external" href="https://www.coingecko.com/research/publications/bitcoin-versus-traditional-assets-price-returns">best-performing asset of the last decade&lt;/a>. Volatility decreases as adoption grows. Don’t invest money you need next month.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>“It wastes energy.”&lt;/strong> Bitcoin mining uses electricity to secure a trillion-dollar network. Much of it comes from &lt;a rel="external" href="https://k33.com/research/archive/articles/bitcoin-mining-using-stranded-natural-gas-is-the-most-cost-effective-way-to">stranded energy&lt;/a> (gas flares, excess hydro) that would otherwise be wasted. The real question: is financial sovereignty worth the energy cost? Air conditioning uses more.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>“It’s too late to buy.”&lt;/strong> People said this at $100, $1,000, $10,000, and $100,000. If Bitcoin achieves even a fraction of &lt;a rel="external" href="https://8marketcap.com/">gold’s market cap&lt;/a>, there’s still room to grow.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="honest-caveats">Honest Caveats
&lt;a class="heading-anchor" href="#honest-caveats" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Bitcoin isn’t perfect. Things to be aware of:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Self-custody requires responsibility.&lt;/strong> Lose your seed phrase, lose your funds. No customer support.&lt;/li>
&lt;li>&lt;strong>Irreversibility.&lt;/strong> No chargebacks. Send to the wrong address? Gone.&lt;/li>
&lt;li>&lt;strong>Learning curve.&lt;/strong> Wallets, keys, fees, P2P trading. The more you learn, the more sovereignty you gain. KYC exchanges are easier but come with regulatory strings attached.&lt;/li>
&lt;li>&lt;strong>Privacy takes effort.&lt;/strong> The blockchain is transparent, not anonymous. True privacy requires learning how to use Bitcoin properly.&lt;/li>
&lt;li>&lt;strong>Scaling tradeoffs.&lt;/strong> Base layer is slow by design. Lightning adds speed but also complexity.&lt;/li>
&lt;/ul>
&lt;p>None of these are dealbreakers. They’re tradeoffs. The more you learn, the fewer limitations you face.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-12-21/footer.jpg" alt="blog-cover" />&lt;/p>
&lt;h2 id="bitcoin-today">Bitcoin Today
&lt;a class="heading-anchor" href="#bitcoin-today" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>This isn’t just theory anymore.&lt;/p>
&lt;h3 id="institutional-adoption">Institutional adoption
&lt;a class="heading-anchor" href="#institutional-adoption" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>US Bitcoin ETFs&lt;/strong> approved in 2024, bringing billions in institutional money (&lt;a rel="external" href="https://www.cnbc.com/2024/01/10/sec-approves-rule-changes-that-pave-the-way-for-bitcoin-etfs.html">source&lt;/a>)&lt;/li>
&lt;li>&lt;strong>Strategy&lt;/strong> holds 660.000+ BTC as corporate treasury, inspiring others (&lt;a rel="external" href="https://www.strategy.com/purchases">source&lt;/a>)&lt;/li>
&lt;li>&lt;strong>Major banks&lt;/strong> now offer Bitcoin custody and trading services to clients&lt;/li>
&lt;li>&lt;strong>Pension funds&lt;/strong> and asset managers are adding Bitcoin to portfolios&lt;/li>
&lt;/ul>
&lt;h3 id="global-adoption">Global adoption
&lt;a class="heading-anchor" href="#global-adoption" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Central African Republic&lt;/strong> adopted Bitcoin as legal tender in 2022 (&lt;a rel="external" href="https://www.cnbc.com/2022/04/28/central-african-republic-adopts-bitcoin-as-legal-tender.html">source&lt;/a>)&lt;/li>
&lt;li>&lt;strong>Switzerland&lt;/strong> allows tax payments in Bitcoin in Canton Zug since 2021 (&lt;a rel="external" href="https://zg.ch/de/steuern-finanzen/steuern/steuerbezug/taxpaymentswithcryptocurrencies">source&lt;/a>)&lt;/li>
&lt;li>&lt;strong>Emerging markets&lt;/strong> lead in grassroots adoption: Vietnam, Philippines, Nigeria&lt;/li>
&lt;/ul>
&lt;h3 id="real-world-usage">Real-world usage
&lt;a class="heading-anchor" href="#real-world-usage" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Square&lt;/strong> accepts Bitcoin payments since Nov. 2025 for 4M+ merchants (&lt;a rel="external" href="https://squareup.com/us/en/press/block-to-roll-out-bitcoin-payments-on-square">source&lt;/a>)&lt;/li>
&lt;li>&lt;strong>Lightning Network&lt;/strong> (LN) processes millions of instant payments monthly (&lt;a rel="external" href="https://lightning.network/">source&lt;/a>)&lt;/li>
&lt;li>&lt;strong>Merchants worldwide&lt;/strong> accept Bitcoin, from small shops to major retailers (&lt;a rel="external" href="https://btcmap.org/">source&lt;/a>)&lt;/li>
&lt;/ul>
&lt;p>You can dismiss it, or you can understand it.&lt;/p>
&lt;hr />
&lt;h2 id="getting-started">Getting Started
&lt;a class="heading-anchor" href="#getting-started" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Bitcoin is money that no one controls and everyone can verify. It’s scarce in a world of infinite money printing. It’s permissionless in a world of financial gatekeepers. It’s programmable in ways we’re only beginning to explore.&lt;/p>
&lt;p>Understanding Bitcoin doesn’t require believing it will change the world. It requires understanding what money is, how it evolved, and why these properties matter. From there, you can form your own conclusions.&lt;/p>
&lt;h3 id="want-to-try">Want to try?
&lt;a class="heading-anchor" href="#want-to-try" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>The best way to understand Bitcoin is to use it:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>Start small&lt;/strong>: Buy a small amount on a trusted Bitcoin-only platform like:
&lt;ul>
&lt;li>&lt;a rel="external" href="https://21bitcoin.app/">21bitcoin&lt;/a> or &lt;a rel="external" href="https://relai.app/">Relai&lt;/a>: Simple apps for automatic Bitcoin savings&lt;/li>
&lt;li>&lt;a rel="external" href="https://hodlhodl.com/">HodlHodl&lt;/a>: Peer-to-peer trading, non-custodial&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>Move it to your own wallet&lt;/strong>: Download a mobile wallet and transfer your Bitcoin there. Feel what self-custody means. Some wallets like &lt;a rel="external" href="https://bluewallet.io/">BlueWallet&lt;/a>, &lt;a rel="external" href="https://nunchuk.io/">Nunchuk&lt;/a>.&lt;/li>
&lt;li>&lt;strong>Send a transaction&lt;/strong>: Send some sats to a friend. Watch it confirm in ~10 minutes. Get curious looking at your transaction in the &lt;a rel="external" href="https://mempool.space/">mempool&lt;/a>.&lt;/li>
&lt;li>&lt;strong>Try Lightning&lt;/strong>: Send an instant, near-free payment. This is the future of everyday transactions. Some LN wallets like &lt;a rel="external" href="https://getalby.com/alby-go">Alby Go&lt;/a>, &lt;a rel="external" href="https://muun.com/">Muun&lt;/a>.&lt;/li>
&lt;/ol>
&lt;p>You don’t have to go all in. Start small and keep learning, one step at a time.&lt;/p>
&lt;p>&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/Pef22g53zsg"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;strong>Further reading&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>&lt;a rel="external" href="https://cosmevalera.dev/blog/bitcoin-101/">Bitcoin 101&lt;/a> &lt;small>by Cosme - Another beginner-friendly introduction&lt;/small>&lt;/li>
&lt;li>&lt;a rel="external" href="https://cosmevalera.dev/blog/bitcoin-102/">How to Buy Bitcoin Securely&lt;/a> &lt;small>by Cosme - Step-by-step guide&lt;/small>&lt;/li>
&lt;/ul></content></entry><entry xml:lang="en"><title>Principles of Economics</title><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><category term="career" scheme="https://chemaclass.com/tags/career/" label="Career"/><published>2025-06-22T00:00:00+00:00</published><updated>2025-06-22T00:00:00+00:00</updated><author><name>
Saifedean Ammous</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/principles-of-economics/"/><id>https://chemaclass.com/readings/principles-of-economics/</id><summary type="html">If you've ever scratched your head at the economy, wondered why prices keep rising, or questioned why money seems to lose value over time, Principles of Economics by Saifedean Ammous might blow your mind. It's not your typical dry economics book. Instead, it's a bold, no-nonsense guide to understanding how the world really works, through the lens of Austrian economics. Here's what stood out to me.</summary><content type="html">&lt;p>If you’ve ever scratched your head at the economy, wondered why prices keep rising, or questioned why money seems to lose value over time, Principles of Economics by Saifedean Ammous might blow your mind.&lt;/p>
&lt;p>It’s not your typical dry economics book. Instead, it’s a bold, no-nonsense guide to understanding how the world really works, through the lens of Austrian economics. Here’s what stood out to me.&lt;/p>
&lt;span id="continue-reading">&lt;/span>&lt;h2 id="1-economics-human-action">1. Economics = Human Action
&lt;a class="heading-anchor" href="#1-economics-human-action" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Ammous starts with something super simple but powerful: economics is just people making choices. Every time we choose to do one thing over another, that’s economics in action.&lt;/p>
&lt;p>Forget all the charts and equations you might’ve seen in school. Real economics begins with you trying to make life better, one decision at a time.&lt;/p>
&lt;h2 id="2-time-preference-how-much-you-value-the-future">2. Time Preference = How Much You Value the Future
&lt;a class="heading-anchor" href="#2-time-preference-how-much-you-value-the-future" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>This idea was a game-changer: your time preference is how much you value stuff now vs. later.&lt;/p>
&lt;ul>
&lt;li>If you spend everything today, you’ve got a high time preference.&lt;/li>
&lt;li>If you save and plan for tomorrow, you’ve got a low time preference.&lt;/li>
&lt;/ul>
&lt;p>Low time preference leads to building cool things. Like businesses, families, skyscrapers, or even civilizations. High time preference? That’s fast food, impulse buying, and short-term thinking.&lt;/p>
&lt;h2 id="3-good-money-strong-society">3. Good Money = Strong Society
&lt;a class="heading-anchor" href="#3-good-money-strong-society" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>The quality of a society’s money affects everything. If your money constantly loses value (&lt;em>hello, inflation&lt;/em>), people stop saving and start living for today.&lt;/p>
&lt;p>He argues that government-controlled “fiat” money is the problem, and we need a return to “hard money” (like gold or &lt;a href="/tags/bitcoin/">Bitcoin&lt;/a>) that holds its value over time. Good money helps people plan, save, and grow wealth across generations.&lt;/p>
&lt;h2 id="4-producing-stuff-takes-time-and-that-matters">4. Producing Stuff Takes Time, and That Matters
&lt;a class="heading-anchor" href="#4-producing-stuff-takes-time-and-that-matters" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Making things isn’t instant. It takes time, tools, and planning. Ammous explains how advanced economies only exist because people invest in long-term production: factories, machines, supply chains.&lt;/p>
&lt;p>That’s only possible when people trust their money and their future. So again, low time preference is key.&lt;/p>
&lt;h2 id="5-entrepreneurs-not-governments-drive-progress">5. Entrepreneurs, Not Governments, Drive Progress
&lt;a class="heading-anchor" href="#5-entrepreneurs-not-governments-drive-progress" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>If there’s a hero in this book, it’s &lt;strong>the entrepreneur&lt;/strong>: the person who &lt;strong>takes risks&lt;/strong>, builds businesses, and &lt;strong>creates value&lt;/strong>.&lt;/p>
&lt;p>Ammous has zero love for central planners, regulations, or government bailouts. He’s all about free markets and letting smart people solve problems without interference. When prices are honest and money is sound, people figure things out on their own.&lt;/p>
&lt;h2 id="6-inflation-and-central-planning-big-red-flags">6. Inflation and Central Planning? Big Red Flags
&lt;a class="heading-anchor" href="#6-inflation-and-central-planning-big-red-flags" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Ammous doesn’t pull punches. He’s very critical of how governments manage money and the economy.&lt;/p>
&lt;p>He sees inflation as a sneaky form of theft and believes that constant meddling (like printing money or setting interest rates) only makes things worse. He even calls out entire fields like climate economics and ESG as being more about politics than real economics.&lt;/p>
&lt;h2 id="7-bitcoin-the-grand-finale">7. Bitcoin: The Grand Finale
&lt;a class="heading-anchor" href="#7-bitcoin-the-grand-finale" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>While this book isn’t just about Bitcoin, it clearly leads there. After explaining why our current money system is broken, Ammous points to Bitcoin as the best solution we’ve seen in over a century.&lt;/p>
&lt;p>It’s digital, limited, and no one can mess with it. Bitcoin is the return of sound money, and a chance to fix a lot of what’s wrong today.&lt;/p>
&lt;h2 id="final-thoughts-a-crash-course-in-real-economics">Final Thoughts: A Crash Course in Real Economics
&lt;a class="heading-anchor" href="#final-thoughts-a-crash-course-in-real-economics" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>“Principles of Economics” is like an economics red pill. It’s straightforward, bold, and sometimes brutal. But if you’re tired of the usual financial nonsense, this book will hit you like a breath of fresh air.&lt;/p>
&lt;p>You’ll walk away with a new lens to see the world: why prices rise, why saving matters, and why the kind of money we use shapes everything.&lt;/p>
&lt;h2 id="austrian-economics-vs-keynesian-economics">Austrian Economics vs Keynesian Economics
&lt;a class="heading-anchor" href="#austrian-economics-vs-keynesian-economics" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/GUvTJ0xy74c"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div></content></entry><entry xml:lang="en"><title>The Road to Serfdom</title><subtitle>How central planning can slowly erode freedom</subtitle><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><category term="privacy" scheme="https://chemaclass.com/tags/privacy/" label="Privacy"/><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><published>2025-03-31T00:00:00+00:00</published><updated>2025-03-31T00:00:00+00:00</updated><author><name>
Friedrich A. Hayek</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/the-road-to-serfdom/"/><id>https://chemaclass.com/readings/the-road-to-serfdom/</id><summary type="html">A quick and plain-English summary of Hayek's classic take on freedom, planning, and why good intentions can still go very wrong.</summary><content type="html">&lt;p>First published in 1944, The Road to Serfdom is still making waves today. Friedrich Hayek, an Austrian economist, wrote it during World War II to warn against something he saw as really dangerous: central economic planning.&lt;/p>
&lt;p>His message? Even well-meaning government control over the economy can quietly take away our freedom, and possibly lead us toward dictatorship.&lt;/p>
&lt;span id="continue-reading">&lt;/span>
&lt;hr />
&lt;h2 id="1-the-danger-of-central-planning">1. The danger of central planning
&lt;a class="heading-anchor" href="#1-the-danger-of-central-planning" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Hayek’s main point is simple: &lt;strong>when the government tries to control the economy, it ends up controlling people’s lives too&lt;/strong>. Once the state decides who gets what, it also ends up deciding who can do what.&lt;/p>
&lt;p>Even if it starts out with good intentions, it eventually leads to force, because people have different goals, and planners can’t make everyone happy.&lt;/p>
&lt;blockquote>
&lt;p>“Controlling the economy means controlling everything people want to do. (Chapter 7)”&lt;/p>
&lt;/blockquote>
&lt;h2 id="2-the-illusion-of-good-socialism">2. The illusion of “good” socialism
&lt;a class="heading-anchor" href="#2-the-illusion-of-good-socialism" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Some folks believe in democratic socialism, mixing freedom with shared planning. Hayek wasn’t buying it.&lt;/p>
&lt;p>He says &lt;strong>you can’t really separate socialism from authoritarianism&lt;/strong>, because planning on behalf of “the group” means ignoring individual choices. Over time, the people running the system need to silence anyone who disagrees. That opens the door to the worst kinds of leaders.&lt;/p>
&lt;blockquote>
&lt;p>“The worst get on top. (Chapter 10)”&lt;/p>
&lt;/blockquote>
&lt;h2 id="3-rule-of-law-vs-rule-by-discretion">3. Rule of law vs. Rule by discretion
&lt;a class="heading-anchor" href="#3-rule-of-law-vs-rule-by-discretion" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>In a free society, rules should apply to everyone, be known ahead of time, and stay consistent, like traffic laws.&lt;/p>
&lt;p>But &lt;strong>planning needs flexible rules&lt;/strong>. Bureaucrats need to make calls on the fly, and that gives them a ton of power. Hayek thinks that’s a problem. The more discretion officials have, the less protection individuals have.&lt;/p>
&lt;blockquote>
&lt;p>“Nothing distinguishes more clearly conditions in a free country from those in a country under arbitrary government than the observance in the former of the great principles known as the Rule of Law. (Chapter 6)”&lt;/p>
&lt;/blockquote>
&lt;h2 id="4-markets-work-because-no-one-s-actually-in-charge">4. Markets work because no one’s actually in charge
&lt;a class="heading-anchor" href="#4-markets-work-because-no-one-s-actually-in-charge" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Hayek believed that no planner, no matter how smart, can replace what the market does on its own.&lt;/p>
&lt;p>Why? Because markets use &lt;strong>price signals&lt;/strong> to share info. Millions of people making choices send signals (through prices) about what’s needed and what’s not. Trying to manage all that from the top? Super inefficient, and it usually fails.&lt;/p>
&lt;blockquote>
&lt;p>“The more the state ‘plans’ the more difficult planning becomes for the individual. (Chapter 5)”&lt;/p>
&lt;/blockquote>
&lt;h2 id="5-incremental-loss-of-freedom">5. Incremental loss of freedom
&lt;a class="heading-anchor" href="#5-incremental-loss-of-freedom" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Hayek wasn’t warning about overnight dictatorships. He was more concerned about &lt;strong>the slow loss of freedom&lt;/strong> that comes from small steps: price controls here, nationalized industries there.&lt;/p>
&lt;p>Each step might feel harmless, but it adds up. And once people depend too much on the state, it’s hard to say no to the next “solution” from above.&lt;/p>
&lt;blockquote>
&lt;p>“The danger of tyranny inevitably arises from the methods of collectivism. (Chapter 10)”&lt;/p>
&lt;/blockquote>
&lt;hr />
&lt;h2 id="final-thoughts-is-hayek-still-relevant">Final thoughts: Is Hayek still relevant?
&lt;a class="heading-anchor" href="#final-thoughts-is-hayek-still-relevant" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Totally. While the world has changed, the tension between freedom and control is still very real. Hayek’s ideas remind us that freedom doesn’t usually vanish overnight: it fades when we’re not paying attention.&lt;/p>
&lt;p>Sure, some government help is needed. But Hayek’s warning? Too much control, even with good intentions, can lead us somewhere we don’t want to go.&lt;/p>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/2oG2SLzNo-E"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div></content></entry><entry xml:lang="en"><title>Run Your LN Node on a Raspberry Pi</title><subtitle>Take full control of your Lightning payments with Alby Hub</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="open-source" scheme="https://chemaclass.com/tags/open-source/" label="Open Source"/><category term="privacy" scheme="https://chemaclass.com/tags/privacy/" label="Privacy"/><category term="tutorial" scheme="https://chemaclass.com/tags/tutorial/" label="Tutorial"/><published>2025-02-17T00:00:00+00:00</published><updated>2025-02-17T00:00:00+00:00</updated><author><name>
Chemaclass</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/blog/run-your-ln-node/"/><id>https://chemaclass.com/blog/run-your-ln-node/</id><summary type="html">In this guide, I'll show you how to set up a fully custodial Lightning Network (LN) node using Alby Hub on a Raspberry Pi, giving you complete control over your node. Alby Hub offers a DIY free version for a self-custodial Lightning wallet, ensuring full ownership of your funds while being 100% open-source.</summary><content type="html">&lt;p>In this guide, I’ll show you how to set up a fully custodial Lightning Network (LN) node using Alby Hub on a Raspberry Pi, giving you complete control over your node. Alby Hub offers a DIY free version for a self-custodial Lightning wallet, ensuring full ownership of your funds while being 100% open-source.&lt;/p>
&lt;span id="continue-reading">&lt;/span>
&lt;p>It supports both Lightning and Nostr addresses, enabling seamless connectivity across ecosystems, and integrates effortlessly with dozens of Bitcoin applications. With built-in Lightning Service Provider (LSP) services and the Alby Go mobile app, managing your node on the go has never been easier.&lt;/p>
&lt;hr />
&lt;blockquote>
&lt;p>Important: This is NOT a Bitcoin miner or a full node. It’s simply a Raspberry Pi running on an SD card power-efficient and low-cost.&lt;/p>
&lt;/blockquote>
&lt;p>⚠️ &lt;strong>Disclaimer&lt;/strong> ⚠️&lt;/p>
&lt;ul>
&lt;li>I assume you &lt;strong>understand &lt;a rel="external" href="https://bitcoin.org/">Bitcoin&lt;/a>&lt;/strong>’s fundamental concepts.&lt;/li>
&lt;li>I assume you know &lt;strong>how the &lt;a rel="external" href="https://lightning.network/">Lightning Network&lt;/a> (LN) works&lt;/strong>.&lt;/li>
&lt;/ul>
&lt;p>Anyway, I’ve included a brief recap of the Lightning Network basics below.&lt;/p>
&lt;h2 id="what-is-the-lightning-network">What is the Lightning Network?
&lt;a class="heading-anchor" href="#what-is-the-lightning-network" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>The LN is a second-layer solution built on top of Bitcoin to enable fast, cheap, and scalable transactions.&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Why?&lt;/strong> Bitcoin’s base layer is secure but slow and expensive for small payments due to block size limits and fees.&lt;/li>
&lt;li>&lt;strong>How?&lt;/strong> LN uses off-chain payment channels that allow users to transact instantly without waiting for blockchain confirmations.&lt;/li>
&lt;/ul>
&lt;h3 id="key-concepts">Key Concepts
&lt;a class="heading-anchor" href="#key-concepts" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Payment Channels&lt;/strong>: Users open a channel by making an on-chain transaction, then send unlimited instant payments within that channel.&lt;/li>
&lt;li>&lt;strong>Routing&lt;/strong>: You don’t need a direct channel with everyone, payments can be routed through multiple connected nodes.&lt;/li>
&lt;li>&lt;strong>Low Fees&lt;/strong>: Only opening/closing channels require on-chain fees; most transactions cost fractions of a cent.&lt;/li>
&lt;/ul>
&lt;h3 id="goal">Goal
&lt;a class="heading-anchor" href="#goal" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>LN makes Bitcoin usable for everyday transactions, like buying coffee, without waiting 10+ minutes for confirmations.&lt;/p>
&lt;blockquote>
&lt;p>In short: Lightning Network = Instant + Cheap Bitcoin payments, secured by Bitcoin’s blockchain.&lt;/p>
&lt;/blockquote>
&lt;hr />
&lt;h2 id="setting-up-alby-hub">Setting up Alby Hub
&lt;a class="heading-anchor" href="#setting-up-alby-hub" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>&lt;a rel="external" href="https://albyhub.com/">Alby Hub&lt;/a> is a free, open-source (&lt;a rel="external" href="https://guides.getalby.com/user-guide/alby-account-and-browser-extension/alby-hub/faq-alby-hub/should-i-open-a-private-or-public-channel">ideally private&lt;/a>) Lightning Network node.&lt;/p>
&lt;h3 id="requirements">Requirements
&lt;a class="heading-anchor" href="#requirements" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Before we begin, you are going to need the following things:&lt;/p>
&lt;ul>
&lt;li>A windows or mac or linux computer&lt;/li>
&lt;li>&lt;strong>Raspberry Pi 4&lt;/strong> or &lt;strong>5&lt;/strong> (For &lt;a rel="external" href="https://guides.getalby.com/user-guide/alby-account-and-browser-extension/hidden-archives/raspberry-pi-zero">&lt;strong>Zero 2W&lt;/strong> see this tutorial!&lt;/a>)
&lt;ul>
&lt;li>&lt;em>In this tutorial, I am using a raspi-4b (~60€)&lt;/em>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The charger for your raspi &lt;em>(~10€)&lt;/em>&lt;/li>
&lt;li>SD memory card (32/64gb) &lt;em>(~10€)&lt;/em>&lt;/li>
&lt;li>Adapter SD card to USB (to flash the OS into the raspi) &lt;em>(~10€)&lt;/em>&lt;/li>
&lt;/ul>
&lt;p>&lt;img src="/images/blog/2025-02-17/requirements.jpg" alt="tutorial" />&lt;/p>
&lt;h3 id="installation-steps">Installation Steps
&lt;a class="heading-anchor" href="#installation-steps" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;h4 id="1-flash-a-linux-kernel-into-the-sd-card">1. Flash a Linux kernel into the SD card
&lt;a class="heading-anchor" href="#1-flash-a-linux-kernel-into-the-sd-card" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h4>
&lt;blockquote>
&lt;p>Suggestion: You can use &lt;a rel="external" href="https://www.raspberrypi.com/software/">RPI imager&lt;/a> on your computer.
Use it to flash the recommended raspi OS for you&lt;/p>
&lt;/blockquote>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-1.jpg" alt="tutorial" />&lt;/p>
&lt;p>On the Storage you will see your SD card after inserting it into your laptop.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-2.jpg" alt="tutorial" />&lt;/p>
&lt;p>Once you click “Next”, you will see different settings. Click to &lt;strong>Edit Settings&lt;/strong>&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-3.jpg" alt="tutorial" />&lt;/p>
&lt;p>On &lt;code>Settings &amp;gt; General&lt;/code>: set your hostname, the username and password for your admin user.
Make sure you enable your WIFI, otherwise you will have to plug it to the router with an RJ-45.
&lt;span id="hostname-setup">&lt;/span>&lt;/p>
&lt;blockquote>
&lt;p>For this tutorial, I am using &lt;code>testhub&lt;/code> as hostname, you can use &lt;code>albyhub&lt;/code> or whatever you prefer.&lt;/p>
&lt;/blockquote>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-4.jpg" alt="tutorial" />&lt;/p>
&lt;p>&lt;span id="pi-enable-ssh">&lt;/span>
On &lt;code>Settings &amp;gt; Services&lt;/code>: make sure the access via SSH is enabled. We are going to need it to install Alby Hub.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-5.jpg" alt="tutorial" />&lt;/p>
&lt;p>Click “Save” and click “Yes” to start the installation.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-6.jpg" alt="tutorial" />&lt;/p>
&lt;p>You will see a confirmation. Click “Yes”. It will take ~10 mins…&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-7.jpg" alt="tutorial" />&lt;/p>
&lt;p>Now we got the SD with a fresh linux kernel ready to use!&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-8.jpg" alt="tutorial" />&lt;/p>
&lt;h4 id="2-insert-the-sd-into-the-raspi">2. Insert the SD into the raspi
&lt;a class="heading-anchor" href="#2-insert-the-sd-into-the-raspi" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h4>
&lt;p>Extract the SD from the laptop and insert it in the raspi first.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-9.jpg" alt="tutorial" />&lt;/p>
&lt;p>Once the SD is inserted, then plug in the power cable. It will turn on automatically as soon as you plug it in.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-10.jpg" alt="tutorial" />&lt;/p>
&lt;h4 id="3-alby-hub-installation">3. Alby Hub installation
&lt;a class="heading-anchor" href="#3-alby-hub-installation" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h4>
&lt;p>It will take ~5mins since you turned it on to be able to access to it. How can you make sure it’s alive? Open the terminal and ping the hostname you defined while flashing the SD on &lt;a href="/blog/run-your-ln-node/#hostname-setup">Settings &amp;gt; General&lt;/a>, remember it ended up with &lt;code>.local&lt;/code>:&lt;/p>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="shellscript">&lt;span class="giallo-l">&lt;span style="color: light-dark(#6F42C1, #B392F0);">ping&lt;/span>&lt;span style="color: light-dark(#032F62, #9ECBFF);"> testhub.local&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;p>It’s normal if you don’t get any answer at the beginning… until you do get this.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-11.jpg" alt="tutorial" />&lt;/p>
&lt;p>&lt;span id="pi-install-alby-hub">&lt;/span>
Now you can &lt;strong>install Alby Hub&lt;/strong> in your raspi &lt;strong>using the SSH connection&lt;/strong> that you &lt;a href="/blog/run-your-ln-node/#pi-enable-ssh">enabled earlier&lt;/a>:&lt;/p>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="shellscript">&lt;span class="giallo-l">&lt;span style="color: light-dark(#6A737D, #6A737D);">#&lt;/span>&lt;span style="color: light-dark(#6A737D, #6A737D);"> Source code: https://github.com/getAlby/hub/tree/master/scripts/pi-aarch64&lt;/span>&lt;/span>
&lt;span class="giallo-l">&lt;span style="color: light-dark(#6F42C1, #B392F0);">ssh&lt;/span>&lt;span style="color: light-dark(#032F62, #9ECBFF);"> testhub@testhub.local&lt;/span>&lt;span style="color: light-dark(#032F62, #9ECBFF);"> &amp;#39;&lt;/span>&lt;span style="color: light-dark(#032F62, #9ECBFF);">/bin/bash -c &amp;quot;$(curl -fsSL https://getalby.com/install/hub/pi-aarch64-install.sh)&amp;quot;&lt;/span>&lt;span style="color: light-dark(#032F62, #9ECBFF);">&amp;#39;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;p>You will be asked to type the word “yes”; type it.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-12.jpg" alt="tutorial" />&lt;/p>
&lt;p>Then, you will be asked to enter your password. Enter the password you chose in &lt;a href="/blog/run-your-ln-node/#hostname-setup">Settings &amp;gt; General&lt;/a> for the username.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-13.jpg" alt="tutorial" />&lt;/p>
&lt;h4 id="4-alby-hub-setup">4. Alby Hub Setup
&lt;a class="heading-anchor" href="#4-alby-hub-setup" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h4>
&lt;p>Wait another 2-3 mins and visit your host: &lt;a rel="external" href="http://testhub.local/">http://testhub.local/&lt;/a>&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-14.jpg" alt="tutorial" />&lt;/p>
&lt;p>Your Alby hub is now running. Let’s connect it to your GetAlby account!&lt;/p>
&lt;hr />
&lt;h2 id="creating-a-getalby-account">Creating a GetAlby Account
&lt;a class="heading-anchor" href="#creating-a-getalby-account" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>🔗 &lt;a rel="external" href="https://getalby.com/">getalby.com&lt;/a>&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-15.jpg" alt="tutorial" />&lt;/p>
&lt;hr />
&lt;h2 id="connecting-getalby-with-alby-hub">Connecting GetAlby with Alby Hub
&lt;a class="heading-anchor" href="#connecting-getalby-with-alby-hub" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>I created an account named testhub.&lt;/p>
&lt;p>&lt;strong>Left&lt;/strong>: the GetAlby account. &lt;strong>Right&lt;/strong>: the node in the raspi.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-16.jpg" alt="tutorial" />&lt;/p>
&lt;p>Click “&lt;strong>Connect Now&lt;/strong>”.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-17.jpg" alt="tutorial" />&lt;/p>
&lt;p>Click “&lt;strong>Request Authorization Code&lt;/strong>”.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-18.jpg" alt="tutorial" />&lt;/p>
&lt;p>You get the auth code (&lt;strong>left&lt;/strong>) that you need to insert it into your setup (&lt;strong>right&lt;/strong>).&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-19.jpg" alt="tutorial" />&lt;/p>
&lt;p>&lt;span id="alby-hub-password">&lt;/span>
Create a &lt;strong>Password&lt;/strong> for your Alby Hub installed in your raspi. It can be different from the password that you set up for your root user in the rapi itself.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-20.jpg" alt="tutorial" />&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-21.jpg" alt="tutorial" />&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-22.jpg" alt="tutorial" />&lt;/p>
&lt;p>Now it’s time to &lt;strong>Link your Alby Account&lt;/strong>&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-23.jpg" alt="tutorial" />&lt;/p>
&lt;p>Unless you specify otherwise, set the default “Budget renewal: &lt;em>Monthly 1M sats&lt;/em>”.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-24.jpg" alt="tutorial" />
&lt;img src="/images/blog/2025-02-17/tuto-25.jpg" alt="tutorial" />&lt;/p>
&lt;hr />
&lt;h2 id="opening-lightning-channels">Opening Lightning Channels
&lt;a class="heading-anchor" href="#opening-lightning-channels" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>I recommend following the &lt;strong>Initial Steps&lt;/strong> to set up your Alby Hub.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-27.jpg" alt="tutorial" />&lt;/p>
&lt;p>Let’s open the first channel.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-28.jpg" alt="tutorial" />&lt;/p>
&lt;p>You need to pay ~$20 in sats to open a 1M sats &lt;em>&lt;strong>incoming liquidity channel&lt;/strong>&lt;/em>.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-29.jpg" alt="tutorial" />&lt;/p>
&lt;p>After the payment, then you will see the channel open. It might take a couple of mins until the &lt;strong>&lt;em>funding transaction&lt;/em>&lt;/strong> is mined in the next block.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-30.jpg" alt="tutorial" />&lt;/p>
&lt;hr />
&lt;h2 id="receiving-sats">Receiving Sats
&lt;a class="heading-anchor" href="#receiving-sats" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>You can receive sats using your LN Address.&lt;/p>
&lt;p>&lt;strong>Left&lt;/strong>: Public page linked to your &lt;a rel="external" href="https://getalby.com/p/chemaclass">node&lt;/a>.
&lt;strong>Right&lt;/strong>: Private page from your Alby Hub.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-33.jpg" alt="tutorial" />&lt;/p>
&lt;blockquote>
&lt;p>Optional: You can add ln funds to your wallet using GetAlby’s third-party services: &lt;a rel="external" href="https://getalby.com/topup">getalby.com/topup&lt;/a> - mind the KYC…&lt;/p>
&lt;/blockquote>
&lt;hr />
&lt;h2 id="using-your-sats">Using Your Sats
&lt;a class="heading-anchor" href="#using-your-sats" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>After that, you will be able to use it via the &lt;a rel="external" href="https://getalby.com/">Alby Extension&lt;/a> or the &lt;a rel="external" href="https://albygo.com/">AlbyGo&lt;/a>.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-31.jpg" alt="tutorial" />&lt;/p>
&lt;p>Your node is the ultimate source of truth. Connecting these apps to it will allow you to use your sats seamlessly across different platforms.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-02-17/tuto-32.jpg" alt="tutorial" />&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Disclaimer&lt;/strong>: the testhub LN address was created only for testing and tutorial purposes. My real address is &lt;a rel="external" href="https://getalby.com/p/chemaclass">chemaclass&lt;/a> ;)&lt;/p>
&lt;/blockquote>
&lt;h2 id="maintenance-and-troubleshooting">Maintenance and Troubleshooting
&lt;a class="heading-anchor" href="#maintenance-and-troubleshooting" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="updating-your-node">Updating Your Node
&lt;a class="heading-anchor" href="#updating-your-node" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Similar to the installation process, there’s a script available to update your node. You can find it in the source repository: &lt;a rel="external" href="https://github.com/getAlby/hub/tree/master/scripts/pi-aarch64">GitHub - Alby Hub Update Script&lt;/a>&lt;/p>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="shellscript">&lt;span class="giallo-l">&lt;span style="color: light-dark(#6F42C1, #B392F0);">ssh&lt;/span>&lt;span style="color: light-dark(#032F62, #9ECBFF);"> testhub@testhub.local&lt;/span>&lt;span style="color: light-dark(#032F62, #9ECBFF);"> &amp;#39;&lt;/span>&lt;span style="color: light-dark(#032F62, #9ECBFF);">/bin/bash -c &amp;quot;$(curl -fsSL https://getalby.com/install/hub/pi-aarch64-update.sh)&amp;quot;&lt;/span>&lt;span style="color: light-dark(#032F62, #9ECBFF);">&amp;#39;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;h3 id="handling-power-outages">Handling Power Outages
&lt;a class="heading-anchor" href="#handling-power-outages" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>If the power goes out, the Raspberry Pi will turn off. Once power is restored, it will automatically restart, but Alby Hub will prompt you to enter the password you set earlier.&lt;/p>
&lt;hr />
&lt;p>&lt;strong>Related links&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>&lt;a rel="external" href="https://guides.getalby.com/">GetAlby - User Guide&lt;/a>&lt;/li>
&lt;li>&lt;a rel="external" href="https://guides.getalby.com/user-guide/alby-account-and-browser-extension/hidden-archives/raspberry-pi-zero">Installing Alby Hub in a Raspberry Zero&lt;/a>&lt;/li>
&lt;/ul></content></entry><entry xml:lang="en"><title>Criptoria</title><subtitle>From Turing to Nakamoto</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="privacy" scheme="https://chemaclass.com/tags/privacy/" label="Privacy"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><published>2025-02-09T00:00:00+00:00</published><updated>2025-02-09T00:00:00+00:00</updated><author><name>
Alfre Mancera</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/criptoria/"/><id>https://chemaclass.com/readings/criptoria/</id><summary type="html">A story about the evolutionary process that gave birth to computers, networks, cybersecurity and digital money. From Greece to Bitcoin, Cryptoria narrates a selection of milestones that occurred before and after Alan Turing. The book showcases a broad collection of people, organizations, concepts and inventions that evidence the deep historical and cultural relationship between mathematics, cryptography, computer science and the struggle for individual sovereignty. Cryptoria is addressed to all people convinced that, beyond inherited or imposed ways, there are other forms of social and economic organization that can and should be explored.</summary><content type="html">&lt;p>Cryptoria is a story about the evolutionary process that gave birth to computers, networks, cybersecurity and digital money.&lt;/p>
&lt;p>From Greece to Bitcoin, Cryptoria narrates a selection of milestones that occurred before and after Alan Turing. The book showcases a broad collection of people, organizations, concepts and inventions that evidence the deep historical and cultural relationship between mathematics, cryptography, computer science and the struggle for individual sovereignty.&lt;/p>
&lt;span id="continue-reading">&lt;/span>
&lt;p>Cryptoria is addressed to all people convinced that, beyond inherited or imposed ways, there are other forms of social and economic organization that can and should be explored.&lt;/p>
&lt;hr />
&lt;h2 id="content">Content
&lt;a class="heading-anchor" href="#content" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h2 id="part-i-before-turing">Part I: Before Turing
&lt;a class="heading-anchor" href="#part-i-before-turing" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="1-the-beginning-of-the-end">1. The Beginning of the End
&lt;a class="heading-anchor" href="#1-the-beginning-of-the-end" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>The Boys Who Loved Puzzles
&lt;ul>
&lt;li>Alan Turing&lt;/li>
&lt;li>Irving John Good&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The Men Who Loved Their Genes
&lt;ul>
&lt;li>Galton’s Chimera&lt;/li>
&lt;li>The Lugenesis Mutation&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The Power of Science Fiction
&lt;ul>
&lt;li>Hugo Gernsback&lt;/li>
&lt;li>Amaizing Stories&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The Descent of Saint Jude&lt;/li>
&lt;/ul>
&lt;h3 id="2-in-search-of-truth">2. In Search of Truth
&lt;a class="heading-anchor" href="#2-in-search-of-truth" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>As We Know It&lt;/li>
&lt;li>Organon&lt;/li>
&lt;li>The Mosaic Effect of Science&lt;/li>
&lt;/ul>
&lt;h3 id="3-numbers-shall-set-you-free">3. Numbers Shall Set You Free
&lt;a class="heading-anchor" href="#3-numbers-shall-set-you-free" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Sovereign Mathematics
&lt;ul>
&lt;li>Formal Language&lt;/li>
&lt;li>Set Theory&lt;/li>
&lt;li>Modular Arithmetic&lt;/li>
&lt;li>Congruence&lt;/li>
&lt;li>Gauss&lt;/li>
&lt;li>Gauss, Fermat and Euler&lt;/li>
&lt;li>Boolean Algebra&lt;/li>
&lt;li>Truth Tables&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Axiomatize or Die&lt;/li>
&lt;li>Unsolved Problems
&lt;ul>
&lt;li>Principia Mathematica&lt;/li>
&lt;li>Bologna 1928&lt;/li>
&lt;li>The Revelation of Gödel&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The Turing Machine
&lt;ul>
&lt;li>Computable Numbers&lt;/li>
&lt;li>Computing Machine&lt;/li>
&lt;li>Conclusions 1936&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;h3 id="4-the-mathematics-of-secrecy">4. The Mathematics of Secrecy
&lt;a class="heading-anchor" href="#4-the-mathematics-of-secrecy" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>A Brief History of Numbers&lt;/li>
&lt;li>Tool of War&lt;/li>
&lt;li>Linked by Signals&lt;/li>
&lt;li>The Persuasion Factory&lt;/li>
&lt;li>Bletchley Park&lt;/li>
&lt;li>Ratio Club&lt;/li>
&lt;li>Metallic Intelligence&lt;/li>
&lt;li>Eternal Alan&lt;/li>
&lt;/ul>
&lt;p>&lt;img src="/images/readings/2025-02-09/criptoria-book.jpg" alt="cover" />&lt;/p>
&lt;h2 id="part-ii-after-turing">Part II: After Turing
&lt;a class="heading-anchor" href="#part-ii-after-turing" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="5-modern-computing">5. Modern Computing
&lt;a class="heading-anchor" href="#5-modern-computing" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Bell Labs&lt;/li>
&lt;li>Claude Shannon
&lt;ul>
&lt;li>Glad You Came&lt;/li>
&lt;li>Information Theory&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The UNIX Era
&lt;ul>
&lt;li>New Languages&lt;/li>
&lt;li>New Clock&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The First Microprocessor&lt;/li>
&lt;li>Horst Feistel
&lt;ul>
&lt;li>Lucifer&lt;/li>
&lt;li>DES&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>ARPANET&lt;/li>
&lt;li>First Companies&lt;/li>
&lt;li>Computational Complexity&lt;/li>
&lt;/ul>
&lt;h3 id="6-the-dawn-of-strong-cryptography">6. The Dawn of Strong Cryptography
&lt;a class="heading-anchor" href="#6-the-dawn-of-strong-cryptography" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Forbidden Cryptography
&lt;ul>
&lt;li>One Law to Ban Them All&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Key Cryptography public&lt;/li>
&lt;li>Diffie-Hellman-Merkle
&lt;ul>
&lt;li>Martin Hellman&lt;/li>
&lt;li>Whitfield Diffie&lt;/li>
&lt;li>Whit meets Martin&lt;/li>
&lt;li>Diffie investigates with Hellman&lt;/li>
&lt;li>Multi-user cryptographic techniques&lt;/li>
&lt;li>Ralph Merkle&lt;/li>
&lt;li>Merkle 1974&lt;/li>
&lt;li>Merkle puzzles&lt;/li>
&lt;li>Ralph meets Whit and Martin&lt;/li>
&lt;li>New directions in cryptography&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The RSA team
&lt;ul>
&lt;li>Ron, Adi and Len&lt;/li>
&lt;li>The RSA system&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Key distribution centers (KDC)&lt;/li>
&lt;li>Distributed networks&lt;/li>
&lt;li>Merkle tree&lt;/li>
&lt;/ul>
&lt;h3 id="7-making-legion">7. Making legion
&lt;a class="heading-anchor" href="#7-making-legion" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Internet universe&lt;/li>
&lt;li>USENET&lt;/li>
&lt;li>CPSR&lt;/li>
&lt;li>David Chaum
&lt;ul>
&lt;li>Crypto Conferences&lt;/li>
&lt;li>CRYPTO ’82&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Zero knowledge proof&lt;/li>
&lt;li>Free software
&lt;ul>
&lt;li>GNU Project&lt;/li>
&lt;li>Free Software Foundation&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;h3 id="8-road-to-libertarian">8. Road to libertarian
&lt;a class="heading-anchor" href="#8-road-to-libertarian" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Digital signatures
&lt;ul>
&lt;li>Taher Elgamal&lt;/li>
&lt;li>Claus Schnorr&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Curves elliptical&lt;/li>
&lt;li>David vs. Big Brother&lt;/li>
&lt;li>Cryptoanarchy&lt;/li>
&lt;li>Extropians&lt;/li>
&lt;/ul>
&lt;h3 id="9-soldiers-of-privacy">9. Soldiers of Privacy
&lt;a class="heading-anchor" href="#9-soldiers-of-privacy" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>EFF
&lt;ul>
&lt;li>John Perry Barlow&lt;/li>
&lt;li>Joohn Gilmore&lt;/li>
&lt;li>Mitch Kapor&lt;/li>
&lt;li>Electronic Frontier&lt;/li>
&lt;li>Cyberspace Independence&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>EPIC&lt;/li>
&lt;li>PGP
&lt;ul>
&lt;li>Phil Zimmermann&lt;/li>
&lt;li>Hal Finney&lt;/li>
&lt;li>Dances with Wolves&lt;/li>
&lt;li>OpenPGP&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Cypherpunks
&lt;ul>
&lt;li>Cyphernomicon&lt;/li>
&lt;li>Cypherpunk Manifesto&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Clipper Chip&lt;/li>
&lt;/ul>
&lt;h3 id="10-digital-money">10. Digital Money
&lt;a class="heading-anchor" href="#10-digital-money" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Tatsuakki Okamoto&lt;/li>
&lt;li>Proof of Dwork&lt;/li>
&lt;li>Digicash&lt;/li>
&lt;li>Hal 1993&lt;/li>
&lt;li>Magic Money Digicash&lt;/li>
&lt;li>Smart Contracts&lt;/li>
&lt;li>The Palace Mint&lt;/li>
&lt;li>Hashcash&lt;/li>
&lt;li>B-money&lt;/li>
&lt;li>Bit Gold&lt;/li>
&lt;li>RPOW&lt;/li>
&lt;/ul>
&lt;h3 id="11-the-age-of-satoshi">11. The Age of Satoshi
&lt;a class="heading-anchor" href="#11-the-age-of-satoshi" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Satoshi Nakamoto&lt;/li>
&lt;li>Whitepaper&lt;/li>
&lt;li>Binaries&lt;/li>
&lt;li>First TX&lt;/li>
&lt;li>Bitcoin&lt;/li>
&lt;/ul>
&lt;hr />
&lt;h2 id="es-related-videos">🇪🇸 Related videos
&lt;a class="heading-anchor" href="#es-related-videos" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/7CvsAVaOjlQ"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/DN3UKsf_Wmk"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;hr />
&lt;p>&lt;strong>Related links&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Book website: &lt;a rel="external" href="https://www.prometeabtc.com/criptoria">www.prometeabtc.com/criptoria&lt;/a>&lt;/li>
&lt;/ul></content></entry><entry xml:lang="en"><title>Bitcoin with Rigor</title><subtitle>A technical study about how Bitcoin works</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="privacy" scheme="https://chemaclass.com/tags/privacy/" label="Privacy"/><category term="software-design" scheme="https://chemaclass.com/tags/software-design/" label="Software Design"/><published>2025-01-18T00:00:00+00:00</published><updated>2025-01-18T00:00:00+00:00</updated><author><name>
Jose Sanchis</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/bitcoin-with-rigor/"/><id>https://chemaclass.com/readings/bitcoin-with-rigor/</id><summary type="html">Bitcoin with Rigor goes beyond a basic explanation of Bitcoin, offering a detailed analysis of how Bitcoin works. It breaks down its components clearly, helping readers understand both the parts and the system as a whole. This deep dive explores Bitcoin’s potential and risks, recognizing it as a decade-old monetary experiment that hasn’t yet stood the test of time like gold or silver. Despite this, its innovative design makes it a promising system for the present and future.</summary><content type="html">&lt;p>Bitcoin with Rigor goes beyond a basic explanation of Bitcoin, offering a detailed analysis of how Bitcoin works. It breaks down its components clearly, helping readers understand both the parts and the system as a whole. This deep dive explores Bitcoin’s potential and risks, recognizing it as a decade-old monetary experiment that hasn’t yet stood the test of time like gold or silver. Despite this, its innovative design makes it a promising system for the present and future.&lt;/p>
&lt;span id="continue-reading">&lt;/span>
&lt;p>Bitcoin’s novelty makes it challenging to grasp fully. It requires knowledge of computing, economics, and finance while also being a digital asset with no historical precedent to guide understanding. Yet, much like the Internet (also relatively young but undeniably transformative), Bitcoin has the potential to redefine systems and leave a lasting impact.&lt;/p>
&lt;p>This book aims to equip readers with the tools to understand how Bitcoin works, empowering them to form their own well-informed opinions about its role in society or, if they choose, to begin a professional journey in this evolving sector. Written with rigor but without excessive technicality, the content is designed to be concise, accessible, and engaging, providing the foundation needed to truly comprehend Bitcoin.&lt;/p>
&lt;hr />
&lt;h2 id="content">Content
&lt;a class="heading-anchor" href="#content" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="1-basic-computer-concepts">1. Basic Computer Concepts
&lt;a class="heading-anchor" href="#1-basic-computer-concepts" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Information and Communication&lt;/li>
&lt;li>How Computers Work&lt;/li>
&lt;li>Languages and Protocols&lt;/li>
&lt;li>The OSI Model: The Onion of Computing&lt;/li>
&lt;li>Logic Gates: Fundamental Computing Functions&lt;/li>
&lt;li>Client-Server and P2P Networks&lt;/li>
&lt;/ul>
&lt;h3 id="2-basic-cryptographic-concepts">2. Basic Cryptographic Concepts
&lt;a class="heading-anchor" href="#2-basic-cryptographic-concepts" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Asymmetric Complexity&lt;/li>
&lt;li>Ciphers, Keys, and Symmetric Cryptography&lt;/li>
&lt;li>Asymmetric Cryptography&lt;/li>
&lt;li>The Cypherpunk Movement&lt;/li>
&lt;li>Cryptographic Hash Functions&lt;/li>
&lt;/ul>
&lt;h3 id="3-the-basics-of-bitcoin-and-cryptocurrencies">3. The Basics of Bitcoin and Cryptocurrencies
&lt;a class="heading-anchor" href="#3-the-basics-of-bitcoin-and-cryptocurrencies" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Key Generators and Randomness&lt;/li>
&lt;li>Cryptographic Signatures&lt;/li>
&lt;li>The Discrete Logarithm Problem&lt;/li>
&lt;li>Elliptic Curve Cryptography&lt;/li>
&lt;li>Merkle Tree&lt;/li>
&lt;li>Traditional Digital Money&lt;/li>
&lt;li>Distributed Consensus Algorithms&lt;/li>
&lt;li>Proof of Work (PoW)&lt;/li>
&lt;/ul>
&lt;h3 id="4-bitcoin-piece-by-piece">4. Bitcoin Piece by Piece
&lt;a class="heading-anchor" href="#4-bitcoin-piece-by-piece" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Blockchain or Hashchain?&lt;/li>
&lt;li>Block Synchronization&lt;/li>
&lt;li>The Headerchain&lt;/li>
&lt;li>Keys and Signatures in Bitcoin&lt;/li>
&lt;li>Transactions and the UTXO Model&lt;/li>
&lt;li>Bitcoin Script and Opcodes&lt;/li>
&lt;li>P2PKH (Pay to Public Key Hash) and P2PK&lt;/li>
&lt;li>Multi signatures and P2SH (Pay to Script Hash)&lt;/li>
&lt;/ul>
&lt;h3 id="5-nodes-and-blockchain-in-detail">5. Nodes and Blockchain in Detail
&lt;a class="heading-anchor" href="#5-nodes-and-blockchain-in-detail" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Transaction Size and Frequency&lt;/li>
&lt;li>Initializing a Full Network Node&lt;/li>
&lt;li>Databases and Pruning&lt;/li>
&lt;li>How a Wallet Works&lt;/li>
&lt;li>Wallets, SPV Nodes, and Others&lt;/li>
&lt;li>From Mempool to Blockchain&lt;/li>
&lt;li>Forks and Consensus Criticality&lt;/li>
&lt;li>Hard Fork vs. Soft Fork&lt;/li>
&lt;/ul>
&lt;h3 id="6-bitcoin-updates-and-applications">6. Bitcoin Updates and Applications
&lt;a class="heading-anchor" href="#6-bitcoin-updates-and-applications" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>Much Work Ahead&lt;/li>
&lt;li>Transaction Malleability&lt;/li>
&lt;li>Segregated Witness (SegWit)&lt;/li>
&lt;li>P2WPKH and P2WSH&lt;/li>
&lt;li>Unilateral Payment Channels&lt;/li>
&lt;li>Lightning Channels&lt;/li>
&lt;li>Multi-channel Payments and HTLCs&lt;/li>
&lt;li>Lightning Network&lt;/li>
&lt;li>Discreet Log Contracts (DLCs)&lt;/li>
&lt;li>MAST, P2SMR, and P2CH&lt;/li>
&lt;li>Taproot and Grafroot&lt;/li>
&lt;/ul>
&lt;hr />
&lt;h2 id="book-presentation">Book presentation
&lt;a class="heading-anchor" href="#book-presentation" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/55ZRM7j1Jzc"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;hr />
&lt;p>&lt;strong>Related links&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Book website: &lt;a rel="external" href="https://www.bitcoinconrigor.com">www.bitcoinconrigor.com&lt;/a>&lt;/li>
&lt;/ul></content></entry><entry xml:lang="en"><title>Understanding Taxes</title><subtitle>Where your money goes and how to rethink the system</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="privacy" scheme="https://chemaclass.com/tags/privacy/" label="Privacy"/><published>2025-01-02T00:00:00+00:00</published><updated>2025-01-02T00:00:00+00:00</updated><author><name>
Chemaclass</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/blog/understanding-taxes/"/><id>https://chemaclass.com/blog/understanding-taxes/</id><summary type="html">Taxes are unavoidable. Whether it's your paycheck, morning coffee, or the house you just bought, taxes are everywhere. If you've ever wondered where your money goes after payday or why buying property comes with extra fees, this post is for you.</summary><content type="html">&lt;p>Taxes are unavoidable. Whether it’s your paycheck, morning coffee, or the house you just bought, taxes are everywhere. If you’ve ever wondered where your money goes after payday or why buying property comes with extra fees, this post is for you. I’ll keep it simple without diving into complicated legal stuff.&lt;/p>
&lt;span id="continue-reading">&lt;/span>
&lt;ol>
&lt;li>Tax journey 101&lt;/li>
&lt;li>Types of Taxes&lt;/li>
&lt;li>How do they work?&lt;/li>
&lt;li>Why do we pay taxes?&lt;/li>
&lt;li>A new perspective&lt;/li>
&lt;/ol>
&lt;hr />
&lt;h2 id="tax-journey-101">Tax journey 101
&lt;a class="heading-anchor" href="#tax-journey-101" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;ol>
&lt;li>When you earn:
&lt;ul>
&lt;li>Personal Income Tax: Deducted from your salary.&lt;/li>
&lt;li>Social Security Contributions: For healthcare, pensions, and unemployment.&lt;/li>
&lt;li>Self-Employment Tax: Covers taxes and social security for freelancers.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>When you spend:
&lt;ul>
&lt;li>Value-Added Tax (VAT): Adds 10%-25% to most goods and services.&lt;/li>
&lt;li>Excise Tax: Extra charges on fuel, alcohol, tobacco, and luxury items.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>When you own:
&lt;ul>
&lt;li>Property Tax: Paid annually on owned real estate.&lt;/li>
&lt;li>Wealth Tax: Charged on substantial assets in some countries.&lt;/li>
&lt;li>Road Tax: Annual fee for owning or operating a vehicle.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>When you transfer or inherit:
&lt;ul>
&lt;li>Transfer Tax: Applied to purchases like second-hand properties.&lt;/li>
&lt;li>Inheritance/Gift Tax: Payable on inherited assets or large gifts.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>When you sell:
&lt;ul>
&lt;li>Capital Gains Tax: On the profit when selling property, stocks, or investments.&lt;/li>
&lt;li>Land Value Increase Tax: On the increase in land value during ownership.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>When you use services:
&lt;ul>
&lt;li>Local Fees: For waste collection, car registration, or building permits.&lt;/li>
&lt;li>Tourism/Travel Tax: For lodging or certain tourist-related services.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>When you win the lottery:
&lt;ul>
&lt;li>Lottery Tax: A substantial portion of your winnings goes to the government.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ol>
&lt;hr />
&lt;h2 id="types-of-taxes">Types of taxes
&lt;a class="heading-anchor" href="#types-of-taxes" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Consider taxes as a three-course meal: &lt;strong>direct&lt;/strong>, &lt;strong>indirect&lt;/strong>, and &lt;strong>special&lt;/strong>.&lt;/p>
&lt;h3 id="direct-taxes-what-you-earn-and-own">Direct taxes: What you earn and own
&lt;a class="heading-anchor" href="#direct-taxes-what-you-earn-and-own" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>These taxes are based on your income, assets, or gains:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Income Tax:&lt;/strong> This is the big one. It’s progressive, meaning the more you earn, the higher your pay rate. Income Tax applies to salaries, freelancing income, rental earnings, and investment gains.&lt;/li>
&lt;li>&lt;strong>Corporate tax:&lt;/strong> This tax is paid on businesses’ profits. Rates vary by country, but a general rate of 20-30% is common.&lt;/li>
&lt;li>&lt;strong>Wealth Tax:&lt;/strong> Some countries tax high-net-worth individuals on their total assets, like properties or savings. Rates and exemptions depend on where you live.&lt;/li>
&lt;li>&lt;strong>Inheritance and Gift Tax:&lt;/strong> When you inherit assets or receive a significant gift, you must pay taxes. The rate often depends on your relationship with the giver.&lt;/li>
&lt;/ul>
&lt;h3 id="indirect-taxes-what-you-spend">Indirect taxes: What you spend
&lt;a class="heading-anchor" href="#indirect-taxes-what-you-spend" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>These taxes are baked into the price of goods and services:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Value-Added Tax (VAT):&lt;/strong> A tax on almost everything you buy. Standard rates range from 10-25% in most countries, though essential goods like food and medicine often have reduced rates.&lt;/li>
&lt;li>&lt;strong>Excise taxes:&lt;/strong> Special taxes on products like alcohol, tobacco, and fuel. They’re designed to raise revenue while discouraging consumption.&lt;/li>
&lt;/ul>
&lt;h3 id="property-and-local-taxes-owning-stuff-costs-money">Property and local taxes: Owning stuff costs money
&lt;a class="heading-anchor" href="#property-and-local-taxes-owning-stuff-costs-money" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>If you own, rent, or sell property, these taxes come into play:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Property Tax:&lt;/strong> Paid annually based on the value of your home or land.&lt;/li>
&lt;li>&lt;strong>Transfer Tax:&lt;/strong> When buying a 2nd-hand property, you might pay a % of its price.&lt;/li>
&lt;li>&lt;strong>Capital Gains Tax:&lt;/strong> When selling a property or other assets for a profit.&lt;/li>
&lt;/ul>
&lt;h3 id="other-taxes-and-fees-the-little-extras">Other Taxes and fees: The little extras
&lt;a class="heading-anchor" href="#other-taxes-and-fees-the-little-extras" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>These include fees for registering vehicles, paying for waste collection, and obtaining permits. They might seem minor, but they add up over time.&lt;/p>
&lt;hr />
&lt;h2 id="how-do-they-work">How do they work?
&lt;a class="heading-anchor" href="#how-do-they-work" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>&lt;img src="/images/blog/2025-01-02/middle.jpg" alt="how taxes work" />&lt;/p>
&lt;p>Taxes are usually a mix of &lt;strong>national&lt;/strong>, &lt;strong>regional&lt;/strong>, and &lt;strong>local&lt;/strong> responsibilities:&lt;/p>
&lt;ul>
&lt;li>National taxes have &lt;strong>standardized rates&lt;/strong>, like income tax or VAT.&lt;/li>
&lt;li>Regional taxes vary &lt;strong>depending on where you live&lt;/strong>, like wealth or inheritance taxes.&lt;/li>
&lt;li>Local taxes are &lt;strong>specific to your city&lt;/strong> or town, like property or waste fees.&lt;/li>
&lt;/ul>
&lt;p>Taxes are often deducted directly from employees’ paychecks. Freelancers and business owners, on the other hand, need to calculate and pay their taxes regularly.&lt;/p>
&lt;h2 id="why-do-we-pay-taxes">Why do we pay taxes?
&lt;a class="heading-anchor" href="#why-do-we-pay-taxes" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Taxes are &lt;strong>meant to pay for public services&lt;/strong> like roads, healthcare, schools, and pensions to make life better for everyone. But the system’s complexity and how the money is spent often make it feel unfair.&lt;/p>
&lt;h3 id="are-taxes-fair">Are Taxes fair?
&lt;a class="heading-anchor" href="#are-taxes-fair" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>This depends on two big questions: &lt;strong>Who should pay? How much is fair?&lt;/strong>&lt;/p>
&lt;h4 id="the-case-for-taxes">The case for taxes
&lt;a class="heading-anchor" href="#the-case-for-taxes" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h4>
&lt;ul>
&lt;li>Taxes &lt;strong>fund essential services&lt;/strong> we all use, like hospitals and schools.&lt;/li>
&lt;li>&lt;strong>Progressive taxes&lt;/strong>, where higher earners pay more, help reduce inequality and create stronger communities.&lt;/li>
&lt;/ul>
&lt;h4 id="the-case-against-taxes">The case against taxes
&lt;a class="heading-anchor" href="#the-case-against-taxes" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h4>
&lt;ul>
&lt;li>Some taxes, like &lt;strong>wealth or inheritance taxes, feel unfair&lt;/strong>. They take money that’s already been earned.&lt;/li>
&lt;li>Worse, when governments &lt;strong>waste tax money on corruption or bad decisions&lt;/strong>, people feel like they’re paying for nothing.&lt;/li>
&lt;/ul>
&lt;p>It feels &lt;strong>unfair when governments waste the money&lt;/strong>. If services don’t improve or funds are mismanaged, it’s &lt;strong>frustrating to see your money disappear without benefit&lt;/strong>.&lt;/p>
&lt;p>Taxes would seem much fairer if people trusted their money was being spent wisely. Without trust, paying &lt;strong>taxes feels like throwing money into a black hole&lt;/strong>.&lt;/p>
&lt;hr />
&lt;h2 id="a-new-perspective">A new perspective
&lt;a class="heading-anchor" href="#a-new-perspective" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>&lt;img src="/images/blog/2025-01-02/middle-2.jpg" alt="a new perspective on taxes" />&lt;/p>
&lt;p>Taxes are supposed to fund critical public services, but the biggest problem with taxes (and big governments) is that they often lead to &lt;strong>inefficiency and corruption&lt;/strong>. The more power a government has, the more likely it is to misuse it. That’s why governments should be (for me) &lt;strong>small, focused, and efficient&lt;/strong>, providing essential services without overcomplicating things or overreaching into people’s lives.&lt;/p>
&lt;p>Here is where &lt;strong>Bitcoin offers an interesting alternative&lt;/strong>. Bitcoin is decentralized, which means no one controls it: not governments, banks, or anyone. This removes the risk of corruption or mismanagement by powerful institutions. Every Bitcoin transaction is recorded on a public ledger that anyone can verify, so it’s &lt;strong>transparent and resistant to manipulation&lt;/strong>.&lt;/p>
&lt;p>While most countries want to tax Bitcoin transactions, using &lt;strong>Bitcoin gives people more control over their money&lt;/strong>. Unlike traditional currencies that governments can print endlessly (causing inflation and lowering the value of savings), Bitcoin has a &lt;strong>limited supply&lt;/strong>, so its value can’t be diluted similarly. It’s also borderless, meaning you can send and receive money without relying on banks or other intermediaries that might take a cut or add delays.&lt;/p>
&lt;h3 id="why-government-money-works">Why government money works
&lt;a class="heading-anchor" href="#why-government-money-works" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Have you ever wondered why paper money has value when it’s not backed by gold or anything physical? The answer is taxes. &lt;strong>Governments require you to pay taxes in their currency&lt;/strong>. This creates forced demand: everyone needs euros, dollars, or yen to pay the government. It’s a circular system. The government creates the money, then requires you to earn it, then takes a portion back through taxes. This is why government money is sometimes called “fiat” (from Latin, meaning “let it be done”). It works because the government says so, and backs that up with the tax system.&lt;/p>
&lt;h3 id="inflation-the-hidden-tax">Inflation: The hidden tax
&lt;a class="heading-anchor" href="#inflation-the-hidden-tax" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>&lt;strong>Inflation&lt;/strong> is often called a “&lt;strong>hidden tax&lt;/strong>,” and for good reason. When governments print money endlessly to fund their spending, the value of the existing money drops. This means &lt;strong>your hard-earned savings can buy less over time&lt;/strong>.&lt;/p>
&lt;p>While politicians benefit in the short term by having more money to spend without directly raising taxes, ordinary people pay the price through higher living costs. &lt;strong>Inflation is theft&lt;/strong>, as it quietly takes value away from everyone’s money to cover the government’s poor financial decisions.&lt;/p>
&lt;p>With its &lt;strong>fixed supply of 21 million&lt;/strong> coins, Bitcoin cannot be inflated in this way. &lt;strong>Its scarcity ensures that no one&lt;/strong>, including politicians, &lt;strong>manipulates its value&lt;/strong>. For people frustrated by rising prices and shrinking savings, Bitcoin offers a way to protect their wealth from the damaging effects of inflation. It’s &lt;strong>a system designed to reward savers&lt;/strong>, not punish them.&lt;/p>
&lt;h3 id="final-thoughts">Final thoughts
&lt;a class="heading-anchor" href="#final-thoughts" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>&lt;strong>Bitcoin&lt;/strong> doesn’t eliminate taxes or public services but &lt;strong>challenges how we think about money and power&lt;/strong>. It gives people more &lt;strong>control over their wealth&lt;/strong> and shows how financial systems work without needing large, often corrupt institutions. It’s &lt;strong>a step toward a world where individuals have more freedom&lt;/strong> and governments focus on being small, efficient, and fair.&lt;/p>
&lt;p>&lt;img src="/images/blog/2025-01-02/footer.jpg" alt="bitcoin and freedom" />&lt;/p></content></entry><entry xml:lang="en"><title>The Cypherpunks</title><subtitle>Pioneers of privacy in the digital age</subtitle><category term="privacy" scheme="https://chemaclass.com/tags/privacy/" label="Privacy"/><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="cryptography" scheme="https://chemaclass.com/tags/cryptography/" label="Cryptography"/><category term="security" scheme="https://chemaclass.com/tags/security/" label="Security"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><published>2024-12-11T00:00:00+00:00</published><updated>2024-12-11T00:00:00+00:00</updated><author><name>
Chemaclass</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/blog/the-cypherpunks/"/><id>https://chemaclass.com/blog/the-cypherpunks/</id><summary type="html">In the early '90s, with the internet on the rise, a group called the Cypherpunks emerged to defend digital privacy. They pushed for encryption and privacy tech, shaping our digital world with their vision and ideals.</summary><content type="html">&lt;p>In the early ’90s, with the internet on the rise, a group called the Cypherpunks emerged to defend digital privacy. They pushed for encryption and privacy, shaping our digital world with their vision.&lt;/p>
&lt;span id="continue-reading">&lt;/span>&lt;h2 id="who-were-the-cypherpunks">Who were the Cypherpunks?
&lt;a class="heading-anchor" href="#who-were-the-cypherpunks" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>The term “Cypherpunk” combines “cipher” (a reference to encryption) with “punk”, reflecting the group’s rebellious and anti-establishment spirit.&lt;/p>
&lt;p>Far from being a formal organization, the Cypherpunks were a diverse assembly of visionaries, technologists, and activists bonded by shared principles. The movement started in 1992 when Eric Hughes, Timothy May, and John Gilmore founded the cypherpunks mailing list. Some key figures:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Eric Hughes&lt;/strong> who wrote “A Cypherpunk’s Manifesto,” laying out the philosophical foundation for the movement.&lt;/li>
&lt;li>&lt;strong>Timothy C. May&lt;/strong> authored “The Crypto Anarchist Manifesto,” which imagined a society where cryptography could foster a new anarchistic order.&lt;/li>
&lt;li>&lt;strong>John Gilmore&lt;/strong>, a co-founder of the Electronic Frontier Foundation (EFF), was pivotal in early internet privacy advocacy.&lt;/li>
&lt;li>&lt;strong>Julian Assange&lt;/strong>, later known for WikiLeaks, participated in these discussions.&lt;/li>
&lt;li>&lt;strong>Phil Zimmermann&lt;/strong> revolutionized email privacy with his creation of PGP.&lt;/li>
&lt;li>&lt;strong>Jude Milhon&lt;/strong> (St. Jude), a hacker and writer, coined the term “cypherpunk” together with Eric Hughes.&lt;/li>
&lt;li>&lt;strong>Nick Szabo&lt;/strong> contributed significantly to digital contracts and currencies, conceptualizing “bit gold” before Bitcoin.&lt;/li>
&lt;li>&lt;strong>Hal Finney&lt;/strong>, an early Bitcoin developer, worked on cryptographic software including PGP, influencing the privacy tech landscape.&lt;/li>
&lt;li>&lt;strong>Adam Back&lt;/strong> introduced Hashcash, which later inspired Bitcoin’s proof-of-work, while actively engaging in cypherpunk dialogues on privacy.&lt;/li>
&lt;li>&lt;strong>Wei Dai&lt;/strong> proposed “b-money,” an early idea for anonymous digital cash systems, which influenced Bitcoin’s development.&lt;/li>
&lt;li>&lt;strong>Zooko Wilcox-O’Hearn&lt;/strong>, with his work on Zcash, brought advanced privacy to cryptocurrencies, having roots in cypherpunk discussions.&lt;/li>
&lt;li>&lt;strong>David Chaum&lt;/strong>, often called the “godfather of cypherpunks”, pioneered digital cash with DigiCash (1989). His work on electronic privacy predates and inspired the movement.&lt;/li>
&lt;li>&lt;strong>Bram Cohen&lt;/strong> developed BitTorrent, showcasing the cypherpunk ethos of decentralization in file sharing.&lt;/li>
&lt;/ul>
&lt;p>Their work built on foundational cryptographic research by &lt;strong>Whitfield Diffie&lt;/strong> and &lt;strong>Martin Hellman&lt;/strong>, who invented public-key cryptography in 1976, making secure communication between strangers possible.&lt;/p>
&lt;p>They gathered online on the cypherpunks mailing list, which at its peak had around 2000 subscribers exchanging 30+ messages per day. Their motto: &lt;strong>“Cypherpunks write code.”&lt;/strong> They didn’t just talk about privacy. They built it.&lt;/p>
&lt;p>&lt;img src="/images/blog/2024-12-11/manifesto.jpg" alt="a cypherpunk’s manifesto" />&lt;/p>
&lt;h2 id="philosophy-and-goals">Philosophy and goals
&lt;a class="heading-anchor" href="#philosophy-and-goals" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>The core philosophy of the Cypherpunks was centered around privacy, freedom of speech, and the potential of cryptography to protect these rights. Their main tenets included:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Privacy as a fundamental right&lt;/strong>: They believed that privacy was essential for personal freedom and that digital communication should be private.&lt;/li>
&lt;li>&lt;strong>Decentralization&lt;/strong>: Suspicious of centralized control over information, they pushed for decentralized systems where individuals could control their own data.&lt;/li>
&lt;li>&lt;strong>Cryptography as a tool&lt;/strong>: They saw encryption not just as a means of securing data but as a political tool against surveillance and oppressive regimes.&lt;/li>
&lt;/ul>
&lt;h3 id="their-goals-were">Their goals were
&lt;a class="heading-anchor" href="#their-goals-were" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ol>
&lt;li>To create and promote tools for encryption, anonymity, and digital cash.&lt;/li>
&lt;li>To educate the public on the importance of cryptography.&lt;/li>
&lt;li>To resist governmental and corporate efforts to control or monitor digital communications.&lt;/li>
&lt;/ol>
&lt;h2 id="impact-nowadays">Impact nowadays
&lt;a class="heading-anchor" href="#impact-nowadays" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="development-of-key-technologies">Development of key technologies
&lt;a class="heading-anchor" href="#development-of-key-technologies" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Cypherpunks built tools, not just theories:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>PGP&lt;/strong> (1991): Email encryption for everyone&lt;/li>
&lt;li>&lt;strong>Tor&lt;/strong> (2002): Anonymous browsing through onion routing&lt;/li>
&lt;li>&lt;strong>BitTorrent&lt;/strong> (2001): Decentralized file sharing&lt;/li>
&lt;li>&lt;strong>Bitcoin&lt;/strong> (2009): Digital money without banks&lt;/li>
&lt;li>&lt;strong>Signal Protocol&lt;/strong>: The encryption behind Signal, WhatsApp, and other messengers&lt;/li>
&lt;/ul>
&lt;p>When you send an encrypted message today, you’re using cypherpunk technology.&lt;/p>
&lt;h3 id="cultural-shift">Cultural shift
&lt;a class="heading-anchor" href="#cultural-shift" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>They changed how society views privacy. Before them, encryption was mostly for governments or experts. Today, it’s a standard part of tools like messaging apps and web browsers. By promoting encryption and anonymity, they made privacy a priority and encouraged people to take control of their data.&lt;/p>
&lt;h3 id="legal-and-policy-influence-the-crypto-wars">Legal and policy influence: The Crypto Wars
&lt;a class="heading-anchor" href="#legal-and-policy-influence-the-crypto-wars" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>The 1990s saw a real battle between cypherpunks and governments, known as the “Crypto Wars.” The US classified strong encryption as a weapon and banned its export. When Phil Zimmermann released PGP, he was investigated for “exporting munitions” because the software spread globally via the internet.&lt;/p>
&lt;p>The cypherpunks fought back creatively. They printed PGP source code in books, since books were protected speech. They wore t-shirts with encryption code. Eventually, they won. Export restrictions were relaxed in 2000. Today’s encrypted messaging exists because of that fight.&lt;/p>
&lt;h2 id="challenges-and-criticisms">Challenges and Criticisms
&lt;a class="heading-anchor" href="#challenges-and-criticisms" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>The Cypherpunks face these main criticisms:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Accessibility&lt;/strong>: Their tools are too complex for many people, so only tech-savvy individuals can use them, leaving others behind.&lt;/li>
&lt;li>&lt;strong>Misuse Risk&lt;/strong>: There’s concern that their encryption tech could be used by bad actors. While Cypherpunks believe privacy is a right for all, this view conflicts with security concerns from authorities who fear these tools could hide illegal acts.&lt;/li>
&lt;/ul>
&lt;p>This shows the ongoing struggle between promoting privacy and maintaining safety in the digital world.&lt;/p>
&lt;p>&lt;img src="/images/blog/2024-12-11/btc-p2p.jpg" alt="bitcoin peer-to-peer cash" />&lt;/p>
&lt;h2 id="precursors-to-bitcoin">Precursors to Bitcoin
&lt;a class="heading-anchor" href="#precursors-to-bitcoin" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Bitcoin is the most well-known outcome of the cypherpunk philosophy, embodying their values of decentralization, privacy, and independence from government control over money. Created by the mysterious Satoshi Nakamoto, Bitcoin was first shared with the world through the cypherpunks’ mailing list in 2008.&lt;/p>
&lt;p>However, it is the result of many trials of other technologies also created within this group of people. It uses ideas like proof-of-work from Hashcash, and concepts from b-money and bit gold, all reflecting the cypherpunks’ dream of a currency not controlled by any single entity.&lt;/p>
&lt;h3 id="digicash-ecash">DigiCash (eCash)
&lt;a class="heading-anchor" href="#digicash-ecash" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Developed by David Chaum in the late 1980s and implemented in 1990, DigiCash was one of the earliest attempts at an electronic payment system. It used cryptography to ensure privacy in transactions but struggled with adoption and eventually failed due to issues like centralization and the double-spending problem.&lt;/p>
&lt;h3 id="b-money">B-Money
&lt;a class="heading-anchor" href="#b-money" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Proposed by Wei Dai in 1998, B-Money was a conceptual framework for anonymous, distributed electronic cash. It aimed to solve issues like double-spending without a central authority but was never implemented. Its ideas influenced Bitcoin’s design.&lt;/p>
&lt;h3 id="bit-gold">Bit Gold
&lt;a class="heading-anchor" href="#bit-gold" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Also conceptualized in 1998 by Nick Szabo, Bit Gold proposed a currency with properties similar to gold, using cryptographic proof-of-work. Like B-Money, it was never fully realized but contributed to Bitcoin’s development, particularly its proof-of-work system.&lt;/p>
&lt;h3 id="hashcash">Hashcash
&lt;a class="heading-anchor" href="#hashcash" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Introduced by Adam Back in 1997, Hashcash was not a currency but a system to counter email spam using proof-of-work. This concept was later adopted by Bitcoin for mining.&lt;/p>
&lt;blockquote>
&lt;p>These earlier projects and ideas, while not successful in creating a functional digital currency, were critical in laying the theoretical groundwork for Bitcoin. They tackled issues like double-spending, privacy, and decentralization, which were key problems Bitcoin aimed to solve.&lt;/p>
&lt;/blockquote>
&lt;h2 id="cypherpunk-legacy">Cypherpunk legacy
&lt;a class="heading-anchor" href="#cypherpunk-legacy" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Bitcoin has revolutionized our understanding of money, privacy, and security:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Decentralized Control&lt;/strong>: Bitcoin isn’t run by any bank or government, which fits perfectly with the cypherpunk’s skepticism of centralized power.&lt;/li>
&lt;li>&lt;strong>Privacy&lt;/strong>: While not completely anonymous, Bitcoin transactions use pseudonyms, offering some protection from financial oversight.&lt;/li>
&lt;li>&lt;strong>Immutable Transactions&lt;/strong>: Once a transaction is on the blockchain, it’s nearly unchangeable, fostering trust in digital dealings.&lt;/li>
&lt;/ul>
&lt;p>Bitcoin has brought cypherpunk ideals to life, sparking global discussions on financial privacy, money’s nature, and cryptography’s transformative power. With developments like the &lt;a rel="external" href="https://en.wikipedia.org/wiki/Lightning_Network">Lightning Network&lt;/a> for faster, private transactions and &lt;a href="/blog/programmable-money/#p2tr-pay-to-taproot-taproot-up">Taproot&lt;/a> for enhanced transaction privacy, Bitcoin continues to evolve.&lt;/p>
&lt;h2 id="what-the-cypherpunks-left-behind">What the cypherpunks left behind
&lt;a class="heading-anchor" href="#what-the-cypherpunks-left-behind" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>The cypherpunks proved that a small group of people who write code can change the world. Every encrypted message you send, every Bitcoin transaction, every anonymous browse: their legacy.&lt;/p>
&lt;p>Privacy isn’t dead. They made sure of that.&lt;/p>
&lt;hr />
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/9vM0oIEhMag"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;hr />
&lt;p>&lt;strong>Related links&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Learn more: &lt;a href="/pgp">What is PGP encryption?&lt;/a> &lt;small>A 3-minute tutorial for beginners&lt;/small>&lt;/li>
&lt;li>Wikipedia Article: &lt;a rel="external" href="https://en.wikipedia.org/wiki/Cypherpunk">wikipedia.org/Cypherpunk&lt;/a>&lt;/li>
&lt;/ul></content></entry><entry xml:lang="en"><title>Bitcoin: A Work in Progress</title><subtitle>Technical innovations from the trenches</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="privacy" scheme="https://chemaclass.com/tags/privacy/" label="Privacy"/><category term="software-design" scheme="https://chemaclass.com/tags/software-design/" label="Software Design"/><published>2024-08-02T00:00:00+00:00</published><updated>2024-08-02T00:00:00+00:00</updated><author><name>
Sjors Provoost</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/bitcoin-wip/"/><id>https://chemaclass.com/readings/bitcoin-wip/</id><summary type="html">With thousands of 'crypto' projects out there, they say Bitcoin is old and boring, but nothing could be further from the truth. This book will guide you through the latest developments in Bitcoin, as seen through the eyes of one of its many developers.</summary><content type="html">&lt;p>With thousands of “crypto” projects out there, they say Bitcoin is old and boring, but nothing could be further from the truth. This book will guide you through the latest developments in Bitcoin, as seen through the eyes of one of its many developers.&lt;/p>
&lt;span id="continue-reading">&lt;/span>
&lt;p>You’ll learn about the latest soft fork known as Taproot, the challenges of keeping open source software free of money-stealing bugs and malware, new ways to protect nodes against evildoers on the internet, how to deal with the ever-growing blockchain, and more!&lt;/p>
&lt;p>The book links to more than two hundred articles, videos, podcasts, and even the source code. And thanks to a tiny QR code next to every link, you’ll never have to type long URLs.&lt;/p>
&lt;hr />
&lt;h2 id="contents">Contents
&lt;a class="heading-anchor" href="#contents" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="the-basics">The basics
&lt;a class="heading-anchor" href="#the-basics" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="plain">&lt;span class="giallo-l">&lt;span>1. Bitcoin Addresses&lt;/span>&lt;/span>
&lt;span class="giallo-l">&lt;span>2. DNS Bootstrap and Tor V3&lt;/span>&lt;/span>
&lt;span class="giallo-l">&lt;span>3. SegWit&lt;/span>&lt;/span>
&lt;span class="giallo-l">&lt;span>4. libsecp256k1&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;h3 id="resource-usage">Resource usage
&lt;a class="heading-anchor" href="#resource-usage" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="plain">&lt;span class="giallo-l">&lt;span>5. Sync Time and AssumeUTXO&lt;/span>&lt;/span>
&lt;span class="giallo-l">&lt;span>6. Utreexo&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;h3 id="attacking-bitcoin">Attacking Bitcoin
&lt;a class="heading-anchor" href="#attacking-bitcoin" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="plain">&lt;span class="giallo-l">&lt;span>7. Eclipse Attacks&lt;/span>&lt;/span>
&lt;span class="giallo-l">&lt;span>8. Fake Nodes&lt;/span>&lt;/span>
&lt;span class="giallo-l">&lt;span>9. Guix&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;h3 id="better-wallets">Better Wallets
&lt;a class="heading-anchor" href="#better-wallets" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="plain">&lt;span class="giallo-l">&lt;span>10. Script, P2SH, and Miniscript&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;h3 id="taproot">Taproot
&lt;a class="heading-anchor" href="#taproot" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="plain">&lt;span class="giallo-l">&lt;span>11. Taproot and Schnorr&lt;/span>&lt;/span>
&lt;span class="giallo-l">&lt;span>12. Activation Options&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;h3 id="appendix">Appendix
&lt;a class="heading-anchor" href="#appendix" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="plain">&lt;span class="giallo-l">&lt;span>A. More Episodes&lt;/span>&lt;/span>
&lt;span class="giallo-l">&lt;span>B. A crime on Testnet&lt;/span>&lt;/span>
&lt;span class="giallo-l">&lt;span>C. Bitcoin White Paper&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;p>&lt;img src="/images/readings/2024-08-02/sjors-and-chema.jpg" alt="cover" />&lt;/p>
&lt;hr />
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/pQb24UWWSl8"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;hr />
&lt;p>&lt;strong>Related links&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Book source code: &lt;a rel="external" href="https://github.com/Sjors/nado-book/">GitHub/Sjors&lt;/a>&lt;/li>
&lt;li>Book website: &lt;a rel="external" href="https://www.btcwip.com/">www.btcwip.com&lt;/a>&lt;/li>
&lt;/ul></content></entry><entry xml:lang="en"><title>Programmable Money</title><subtitle>The power of Bitcoin's Script</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="software" scheme="https://chemaclass.com/tags/software/" label="Software"/><category term="cryptography" scheme="https://chemaclass.com/tags/cryptography/" label="Cryptography"/><category term="security" scheme="https://chemaclass.com/tags/security/" label="Security"/><published>2024-07-06T00:00:00+00:00</published><updated>2024-07-06T00:00:00+00:00</updated><author><name>
Chemaclass</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/blog/programmable-money/"/><id>https://chemaclass.com/blog/programmable-money/</id><summary type="html">Bitcoin is often referred to as programmable money because it allows for the execution of programmable transactions through its scripting language, leveraging each bit for precision and functionality.</summary><content type="html">&lt;p>Bitcoin is often referred to as “programmable money” because it allows for the execution of programmable transactions through its scripting language.&lt;/p>
&lt;span id="continue-reading">&lt;/span>&lt;h2 id="understanding-programmable-money">Understanding Programmable Money
&lt;a class="heading-anchor" href="#understanding-programmable-money" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Programmable money is the ability to embed logic and conditions into financial transactions. This programmability allows transactions to be executed automatically based on predefined rules without intermediaries or manual intervention. It transforms money from a static medium of exchange into a dynamic tool capable of executing complex agreements and automating financial operations.&lt;/p>
&lt;h2 id="the-script-language">The Script Language
&lt;a class="heading-anchor" href="#the-script-language" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>Bitcoin’s programmability is powered by its built-in scripting language, &lt;a rel="external" href="https://en.bitcoin.it/wiki/Script">&lt;strong>Script&lt;/strong>&lt;/a>. Unlike traditional programming languages, Script is a stack-based, Forth-like language explicitly designed for Bitcoin transactions.&lt;/p>
&lt;p>It supports multi-signature, time-locked, and other conditional transfers that can be programmed into Bitcoin transactions. It is intentionally not Turing-complete, without loops.&lt;/p>
&lt;p>This video includes examples of the most commonly used locking/unlocking scripts.&lt;/p>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/6Fa04MnURhw"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;h2 id="key-features-of-bitcoin-s-script">Key Features of Bitcoin’s Script
&lt;a class="heading-anchor" href="#key-features-of-bitcoin-s-script" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="stack-based-execution">Stack-Based Execution
&lt;a class="heading-anchor" href="#stack-based-execution" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Script operates on a stack-based execution model where commands and data are pushed onto a stack and processed in a Last-In-First-Out (&lt;a rel="external" href="https://en.wikipedia.org/wiki/Stack_(abstract_data_type)">LIFO&lt;/a>) manner.&lt;/p>
&lt;h3 id="conditional-spending">Conditional Spending
&lt;a class="heading-anchor" href="#conditional-spending" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>A transaction that can only be spent if certain data is provided or specific criteria are met. This can be used for:&lt;/p>
&lt;ul>
&lt;li>escrow services&lt;/li>
&lt;li>atomic swaps&lt;/li>
&lt;li>and other complex financial arrangements&lt;/li>
&lt;/ul>
&lt;h3 id="multisignature">Multisignature
&lt;a class="heading-anchor" href="#multisignature" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Transactions can be set up to require multiple signatures from different private keys before they can be spent. Useful for:&lt;/p>
&lt;ul>
&lt;li>joint accounts&lt;/li>
&lt;li>corporate funds&lt;/li>
&lt;li>and enhancing security, as no single party can unilaterally spend the funds&lt;/li>
&lt;/ul>
&lt;h3 id="timelocking">Timelocking
&lt;a class="heading-anchor" href="#timelocking" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Transactions can include time-based conditions that prevent them from being spent until a certain time or block height is reached. This feature is useful for various purposes:&lt;/p>
&lt;ul>
&lt;li>delayed payments&lt;/li>
&lt;li>smart contracts&lt;/li>
&lt;li>and ensuring that funds are not spent prematurely (eg: with &lt;a rel="external" href="https://en.bitcoin.it/wiki/Lightning_Network">Lightning Network&lt;/a>)&lt;/li>
&lt;/ul>
&lt;h3 id="operation-codes">Operation Codes
&lt;a class="heading-anchor" href="#operation-codes" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Bitcoin’s Script performs specific operations within transactions with its &lt;a rel="external" href="https://en.bitcoin.it/wiki/Script#Opcodes">OP_Codes&lt;/a>. Here are some of them:&lt;/p>
&lt;ul>
&lt;li>&lt;code>OP_DUP&lt;/code>: &lt;small>Duplicates the top stack item.&lt;/small>&lt;/li>
&lt;li>&lt;code>OP_HASH160&lt;/code>: &lt;small>Hashes the top stack item twice (SHA-256 followed by RIPEMD-160).&lt;/small>&lt;/li>
&lt;li>&lt;code>OP_EQUALVERIFY&lt;/code>: &lt;small>Verifies that the top two items are equal and removes them.&lt;/small>&lt;/li>
&lt;li>&lt;code>OP_CHECKSIG&lt;/code>: &lt;small>Verifies a signature against a public key.&lt;/small>&lt;/li>
&lt;li>&lt;a rel="external" href="https://en.bitcoin.it/wiki/OP_RETURN">&lt;code>OP_RETURN&lt;/code>&lt;/a>: &lt;small>Marks the transaction output as invalid, often used to store data.&lt;/small>&lt;/li>
&lt;/ul>
&lt;hr />
&lt;h2 id="common-bitcoin-address-types">Common Bitcoin address types
&lt;a class="heading-anchor" href="#common-bitcoin-address-types" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;p>In Bitcoin, different address types correspond to various ways to script transactions. Here, we’ll explore examples of Bitcoin Script for each major address type. Each address type has its own specific script format.&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://chemaclass.com/blog/programmable-money/#p2pk-pay-to-pubkey-earliest-legacy-address-up">&lt;strong>P2PK&lt;/strong>&lt;/a>: Earliest legacy transactions using full public keys directly.&lt;/li>
&lt;li>&lt;a href="https://chemaclass.com/blog/programmable-money/#p2pkh-pay-to-pubkey-hash-legacy-address-up">&lt;strong>P2PKH&lt;/strong>&lt;/a>: Begins with &lt;code>1&lt;/code>. &lt;strong>Legacy&lt;/strong> transactions using public key hashes.&lt;/li>
&lt;li>&lt;a href="https://chemaclass.com/blog/programmable-money/#p2sh-pay-to-script-hash-up">&lt;strong>P2SH&lt;/strong>&lt;/a>: Begins with &lt;code>3&lt;/code>. &lt;strong>Legacy&lt;/strong>, encapsulates complex scripts like multisig.&lt;/li>
&lt;li>&lt;a href="https://chemaclass.com/blog/programmable-money/#p2ms-pay-to-multisig-up">&lt;strong>P2MS&lt;/strong>&lt;/a>: It is typically a type of P2SH or P2WSH address.&lt;/li>
&lt;li>&lt;a href="https://chemaclass.com/blog/programmable-money/#p2wpkh-pay-to-witness-public-key-hash-segwit-up">&lt;strong>P2WPKH&lt;/strong>&lt;/a>: Begins with &lt;code>bc1&lt;/code>. Native &lt;strong>SegWit&lt;/strong>, more efficient transactions.&lt;/li>
&lt;li>&lt;a href="https://chemaclass.com/blog/programmable-money/#p2wsh-pay-to-witness-script-hash-segwit-up">&lt;strong>P2WSH&lt;/strong>&lt;/a>: Begins with &lt;code>bc1&lt;/code>. &lt;strong>SegWit&lt;/strong> for complex scripts.&lt;/li>
&lt;li>&lt;a href="https://chemaclass.com/blog/programmable-money/#p2tr-pay-to-taproot-taproot-up">&lt;strong>P2TR&lt;/strong>&lt;/a>: Begins with &lt;code>bc1p&lt;/code>. SegWit &lt;strong>Taproot&lt;/strong> addresses, improving privacy and efficiency for complex transactions.&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>Using native SegWit (P2WPKH and P2WSH) is preferable when possible, as it maximizes the benefits of the SegWit upgrade, but P2SH-SegWit can be useful for compatibility with older systems.&lt;/p>
&lt;/blockquote>
&lt;h3 id="p2pk-pay-to-pubkey-earliest-legacy-address-up">P2PK (Pay-to-PubKey) - Earliest Legacy Address &lt;small>&lt;a href="https://chemaclass.com/blog/programmable-money/#common-bitcoin-address-types">up&lt;/a>&lt;/small>
&lt;a class="heading-anchor" href="#p2pk-pay-to-pubkey-earliest-legacy-address-up" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;div class="status info">
Begins with "1" (e.g., 1A1zP1eP5QGefi2DMPTf...v7DivfNa)
&lt;/div>
&lt;p>Before P2PKH and P2SH became standard, Bitcoin addresses were not as flexible or feature-rich. Here are some considerations:&lt;/p>
&lt;ul>
&lt;li>Addresses starting with 1 but without hashing the public key.&lt;/li>
&lt;li>Not common in modern practice due to lack of privacy and efficiency.&lt;/li>
&lt;li>The P2PK format is largely &lt;strong>obsolete&lt;/strong> in favor of (at very least) P2PKH.&lt;/li>
&lt;/ul>
&lt;hr />
&lt;h3 id="p2pkh-pay-to-pubkey-hash-legacy-address-up">P2PKH (Pay-to-PubKey-Hash) - Legacy Address &lt;small>&lt;a href="https://chemaclass.com/blog/programmable-money/#common-bitcoin-address-types">up&lt;/a>&lt;/small>
&lt;a class="heading-anchor" href="#p2pkh-pay-to-pubkey-hash-legacy-address-up" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;div class="status info">
Begins with "1" (e.g., 1A1zP1eP5QGefi2DMPTf...v7DivfNa)
&lt;/div>
&lt;p>A typical P2PKH script consists of two main parts:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>ScriptPubKey&lt;/strong>: The locking script (also known as the output script) that specifies how funds can be spent.&lt;/li>
&lt;li>&lt;strong>ScriptSig&lt;/strong>: The unlocking script (also known as the input script) that provides the necessary data to unlock the funds.&lt;/li>
&lt;/ol>
&lt;h3 id="scriptpubkey-locking-script">ScriptPubKey (Locking Script)
&lt;a class="heading-anchor" href="#scriptpubkey-locking-script" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#005CC5, #79B8FF);">OP_DUP&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_HASH160&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubKHash&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_EQUALVERIFY&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_CHECKSIG&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>OP_DUP&lt;/code>: Duplicates the top stack item (the public key).&lt;/li>
&lt;li>&lt;code>OP_HASH160&lt;/code>: Hashes the public key with SHA-256 followed by RIPEMD-160.&lt;/li>
&lt;li>&lt;code>&amp;lt;PubKHash&amp;gt;&lt;/code>: The hashed public key (a 20-byte value).&lt;/li>
&lt;li>&lt;code>OP_EQUALVERIFY&lt;/code>: Checks if the hashed public key matches the hash in the script.&lt;/li>
&lt;li>&lt;code>OP_CHECKSIG&lt;/code>: Verifies the provided signature against the public key.&lt;/li>
&lt;/ul>
&lt;h3 id="scriptsig-unlocking-script">ScriptSig (Unlocking Script)
&lt;a class="heading-anchor" href="#scriptsig-unlocking-script" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sig&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>&amp;lt;sig&amp;gt;&lt;/code>: The digital signature generated by the private key.&lt;/li>
&lt;li>&lt;code>&amp;lt;PubK&amp;gt;&lt;/code>: The public key corresponding to the address.&lt;/li>
&lt;/ul>
&lt;h3 id="execution-flow">Execution Flow
&lt;a class="heading-anchor" href="#execution-flow" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ol>
&lt;li>The &lt;code>ScriptSig&lt;/code> (unlocking script) is pushed onto the stack.&lt;/li>
&lt;li>The &lt;code>ScriptPubKey&lt;/code> (locking script) is executed.&lt;/li>
&lt;/ol>
&lt;p>&lt;img src="https://raw.githubusercontent.com/bitcoinbook/bitcoinbook/develop/images/mbc3_0703.png" alt="p2pkh script execution step 1" />
&lt;img src="https://raw.githubusercontent.com/bitcoinbook/bitcoinbook/develop/images/mbc3_0704.png" alt="p2pkh script execution step 2" />&lt;/p>
&lt;hr />
&lt;h3 id="p2sh-pay-to-script-hash-up">P2SH (Pay-to-Script-Hash) &lt;small>&lt;a href="https://chemaclass.com/blog/programmable-money/#common-bitcoin-address-types">up&lt;/a>&lt;/small>
&lt;a class="heading-anchor" href="#p2sh-pay-to-script-hash-up" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;div class="status info">
Begins with "3" (e.g., 3J2BtwzN2GEr6FCP.....81T2eiX8PVHh)
&lt;/div>
&lt;p>P2SH scripts are used for more complex scripts. The primary feature is that the address itself encodes a hash of a script, which will be used in the transaction.&lt;/p>
&lt;h3 id="scriptpubkey-locking-script-1">ScriptPubKey (Locking Script)
&lt;a class="heading-anchor" href="#scriptpubkey-locking-script-1" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#005CC5, #79B8FF);">OP_HASH160&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">ScriptHash&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_EQUAL&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>OP_HASH160&lt;/code>: Hashes the script with SHA-256 followed by RIPEMD-160.&lt;/li>
&lt;li>&lt;code>&amp;lt;ScriptHash&amp;gt;&lt;/code>: The hashed script (a 20-byte value).&lt;/li>
&lt;li>&lt;code>OP_EQUAL&lt;/code>: Checks if the hash matches the provided script hash.&lt;/li>
&lt;/ul>
&lt;h3 id="scriptsig-unlocking-script-1">ScriptSig (Unlocking Script)
&lt;a class="heading-anchor" href="#scriptsig-unlocking-script-1" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sig&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> ...&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">ScriptSig&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>&amp;lt;sig&amp;gt;&lt;/code>: The digital signature.&lt;/li>
&lt;li>&lt;code>&amp;lt;PubK&amp;gt;&lt;/code>: The public key.&lt;/li>
&lt;li>&lt;code>&amp;lt;ScriptSig&amp;gt;&lt;/code>: The actual script that matches the script hash, which itself will be executed by the Bitcoin network.&lt;/li>
&lt;/ul>
&lt;hr />
&lt;h3 id="p2ms-pay-to-multisig-up">P2MS (Pay-to-Multisig) &lt;small>&lt;a href="https://chemaclass.com/blog/programmable-money/#common-bitcoin-address-types">up&lt;/a>&lt;/small>
&lt;a class="heading-anchor" href="#p2ms-pay-to-multisig-up" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;h3 id="script-format">Script Format
&lt;a class="heading-anchor" href="#script-format" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#005CC5, #79B8FF);">OP_M&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">M&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK1&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK2&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> ...&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubKN&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_N&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_CHECKMULTISIG&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>OP_M&lt;/code>: The minimum number of signatures required.&lt;/li>
&lt;li>&lt;code>&amp;lt;PubK1&amp;gt;, &amp;lt;PubK2&amp;gt;, ..., &amp;lt;PubKN&amp;gt;&lt;/code>: The public keys involved in the multisignature scheme.&lt;/li>
&lt;li>&lt;code>OP_N&lt;/code>: The total number of public keys provided.&lt;/li>
&lt;li>&lt;code>OP_CHECKMULTISIG&lt;/code>: The opcode that verifies the signatures against the provided public keys.&lt;/li>
&lt;/ul>
&lt;h3 id="scriptpubkey-locking-script-2">ScriptPubKey (Locking Script)
&lt;a class="heading-anchor" href="#scriptpubkey-locking-script-2" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#005CC5, #79B8FF);">OP_2&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK1&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK2&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK3&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_3&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_CHECKMULTISIG&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;p>This script means that any 2 out of 3 provided public keys are required to sign the transaction for it to be valid.&lt;/p>
&lt;h3 id="scriptsig-unlocking-script-2">ScriptSig (Unlocking Script)
&lt;a class="heading-anchor" href="#scriptsig-unlocking-script-2" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sig1&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sig2&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> ...&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sigN&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">SerializedScript&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>&amp;lt;sig1&amp;gt;, &amp;lt;sig2&amp;gt;, ..., &amp;lt;sigN&amp;gt;&lt;/code>: The public keys.&lt;/li>
&lt;li>&lt;code>&amp;lt;SerializedScript&amp;gt;&lt;/code>: The serialized script (the same as the locking script but without the &lt;code>OP_M&lt;/code> and &lt;code>OP_N&lt;/code>).&lt;/li>
&lt;/ul>
&lt;div class="status warning-orange">
&lt;b>NOTE&lt;/b>: There is an oddity in CHECKMULTISIG execution.
&lt;small>&lt;a href="#there-is-an-oddity-in-checkmultisig-execution-up">See note at the bottom.&lt;/a>&lt;/small>
&lt;/div>
&lt;hr />
&lt;h3 id="p2wpkh-pay-to-witness-public-key-hash-segwit-up">P2WPKH (Pay-to-Witness-Public-Key-Hash) - Segwit &lt;small>&lt;a href="https://chemaclass.com/blog/programmable-money/#common-bitcoin-address-types">up&lt;/a>&lt;/small>
&lt;a class="heading-anchor" href="#p2wpkh-pay-to-witness-public-key-hash-segwit-up" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;div class="status info">
Begins with "bc1q" (e.g., bc1qf0r2m0ck4psv6yrk9w.....kw8v5rj7ph3)
&lt;/div>
&lt;p>P2WPKH is a Segregated Witness (SegWit) address type that uses a different scripting format compared to legacy and P2SH addresses. Simplifies transactions by reducing data size and fees compared to legacy formats.&lt;/p>
&lt;h3 id="scriptpubkey-locking-script-3">ScriptPubKey (Locking Script)
&lt;a class="heading-anchor" href="#scriptpubkey-locking-script-3" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#005CC5, #79B8FF);">OP_0&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_PUSHBYTES_20&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubKHash&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>OP_0&lt;/code>: A single byte (0x00) indicating the version of the script.&lt;/li>
&lt;li>&lt;code>OP_PUSHBYTES_20&lt;/code>: Pushes 20 bytes (the public key hash) onto the stack.&lt;/li>
&lt;li>&lt;code>&amp;lt;PubKHash&amp;gt;&lt;/code>: The 20-byte hash of the public key.&lt;/li>
&lt;/ul>
&lt;h3 id="witness-data">Witness Data
&lt;a class="heading-anchor" href="#witness-data" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>For P2WPKH, the unlocking script is not required in the traditional sense (i.e., inside the unlocking script explicitly included in the transaction input). Instead, the unlocking information is provided as part of the witness data in the SegWit transaction format.&lt;/p>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sig&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>&amp;lt;sig&amp;gt;&lt;/code>: Digital signature for the transaction.&lt;/li>
&lt;li>&lt;code>&amp;lt;PubK&amp;gt;&lt;/code>: Public key used to generate the public key hash.&lt;/li>
&lt;/ul>
&lt;hr />
&lt;h3 id="p2wsh-pay-to-witness-script-hash-segwit-up">P2WSH (Pay-to-Witness-Script-Hash) - Segwit &lt;small>&lt;a href="https://chemaclass.com/blog/programmable-money/#common-bitcoin-address-types">up&lt;/a>&lt;/small>
&lt;a class="heading-anchor" href="#p2wsh-pay-to-witness-script-hash-segwit-up" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;div class="status info">
Begins with bc1q (e.g.: bc1q4a3h5sdg4cfkhftgd24tj9g2sg...yj57jmfckhkrw5gslr9g59)
&lt;/div>
&lt;h3 id="scriptpubkey-locking-script-4">ScriptPubKey (Locking Script)
&lt;a class="heading-anchor" href="#scriptpubkey-locking-script-4" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#005CC5, #79B8FF);">OP_0&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_PUSHBYTES_32&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">ScriptHash&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>OP_0&lt;/code>: Indicates a witness version 0 (SegWit).&lt;/li>
&lt;li>&lt;code>OP_PUSHBYTES_32&lt;/code>: Pushes the next 32 bytes (the script hash) onto the stack.&lt;/li>
&lt;li>&lt;code>&amp;lt;ScriptHash&amp;gt;&lt;/code>: 32-byte hash of the redeem script.&lt;/li>
&lt;/ul>
&lt;h3 id="witness-data-1">Witness Data
&lt;a class="heading-anchor" href="#witness-data-1" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sig1&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sig2&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> ...&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">RedeemScript&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>&amp;lt;sig1&amp;gt;, &amp;lt;sig2&amp;gt;&lt;/code>: Signatures required to unlock the transaction.&lt;/li>
&lt;li>&lt;code>&amp;lt;RedeemScript&amp;gt;&lt;/code>: The actual script that matches the script hash. This script will be executed as part of the witness data.&lt;/li>
&lt;/ul>
&lt;hr />
&lt;h3 id="p2tr-pay-to-taproot-taproot-up">P2TR (Pay-to-Taproot) - Taproot &lt;small>&lt;a href="https://chemaclass.com/blog/programmable-money/#common-bitcoin-address-types">up&lt;/a>&lt;/small>
&lt;a class="heading-anchor" href="#p2tr-pay-to-taproot-taproot-up" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;div class="status info">
Begins with bc1p (e.g.: bc1pl9dfv7kvj4hj9s3a8l.....gjstmrpjl09g8ks3ukds70q4r2j5h)
&lt;/div>
&lt;p>Taproot combines &lt;a rel="external" href="https://en.bitcoin.it/wiki/Schnorr">Schnorr&lt;/a> signatures with &lt;a rel="external" href="https://en.bitcoin.it/wiki/BIP_0114#Merkelized_Abstract_Syntax_Tree">MAST&lt;/a>, enabling private, efficient spending conditions and making complex transactions &lt;strong>&lt;em>appear standard&lt;/em>&lt;/strong> unless conditions are revealed. It allows the efficient execution of complex transactions while hiding their details.&lt;/p>
&lt;h3 id="scriptpubkey-locking-script-5">ScriptPubKey (Locking Script)
&lt;a class="heading-anchor" href="#scriptpubkey-locking-script-5" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#005CC5, #79B8FF);">OP_1&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">x&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">-&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">only&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> PubK&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>OP_1&lt;/code>: Indicates a witness version 1 (Taproot).&lt;/li>
&lt;li>&lt;code>&amp;lt;x-only PubK&amp;gt;&lt;/code>: A 32-byte Schnorr public key (without the y-coordinate).&lt;/li>
&lt;/ul>
&lt;h3 id="witness-data-2">Witness Data
&lt;a class="heading-anchor" href="#witness-data-2" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sig&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;ul>
&lt;li>&lt;code>&amp;lt;sig&amp;gt;&lt;/code>: A Schnorr signature proving possession of the private key corresponding to the x-only pubkey.&lt;/li>
&lt;/ul>
&lt;hr />
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/yU3Sr07Qnxg"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;hr />
&lt;h3 id="there-is-an-oddity-in-checkmultisig-execution-up">*There is an oddity in CHECKMULTISIG execution &lt;small>&lt;a href="https://chemaclass.com/blog/programmable-money/#scriptsig-unlocking-script-2">up&lt;/a>&lt;/small>
&lt;a class="heading-anchor" href="#there-is-an-oddity-in-checkmultisig-execution-up" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>The implementation of &lt;code>OP_CHECKMULTISIG&lt;/code> pops one more item than it should. The extra item is disregarded when checking the signatures, so it has no direct effect on the OP itself. It must be present because if &lt;code>OP_CHECKMULTISIG&lt;/code> attempts to pop on an empty stack, it will cause a stack error and script failure.&lt;/p>
&lt;pre class="giallo" style="color-scheme: light dark; color: light-dark(#24292E, #E1E4E8); background-color: light-dark(#FFFFFF, #24292E);">&lt;code data-lang="php">&lt;span class="giallo-l">&lt;span style="color: light-dark(#005CC5, #79B8FF);">OP_0&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sig2&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">sig3&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> 2&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK1&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK2&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);"> &amp;lt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);">PubK3&lt;/span>&lt;span style="color: light-dark(#D73A49, #F97583);">&amp;gt;&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> 3&lt;/span>&lt;span style="color: light-dark(#005CC5, #79B8FF);"> OP_CHECKMULTISIG&lt;/span>&lt;/span>&lt;/code>&lt;/pre>
&lt;p>The input script in this multisig is not &lt;code>&amp;lt;sig2&amp;gt; &amp;lt;sig3&amp;gt;&lt;/code> but &lt;code>OP_0 &amp;lt;sig2&amp;gt; &amp;lt;sig3&amp;gt;&lt;/code>.&lt;/p>
&lt;p>It became the custom early on to use &lt;code>OP_0&lt;/code>, which later became a relay policy rule and eventually a consensus rule (&lt;a rel="external" href="https://github.com/bitcoin/bips/blob/master/bip-0147.mediawiki">BIP147&lt;/a>).&lt;/p>
&lt;p>It is possible that the original developer added the extra element in the original version of Bitcoin, so they could add a feature for allowing a map to be passed in a later soft fork (for performance reasons). However, that feature was never implemented, and the BIP147 update to the consensus rules in 2017 makes it impossible to add that feature in the future.&lt;/p>
&lt;p>Only Bitcoin’s original developer could tell whether the dummy stack element was the result of a bug or a plan for a future upgrade. From now on, if you see a multisig script, you should expect to see an extra &lt;code>OP_O&lt;/code> in the beginning, whose only purpose is as a workaround to an oddity in the consensus rules.&lt;/p>
&lt;hr />
&lt;h2 id="follow-ups">Follow-ups
&lt;a class="heading-anchor" href="#follow-ups" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;ul>
&lt;li>Official docs of &lt;a rel="external" href="https://en.bitcoin.it/wiki/Script">Script&lt;/a> in the Bitcoin Wiki.&lt;/li>
&lt;li>&lt;a rel="external" href="https://siminchen.github.io/bitcoinIDE/build/editor.html">Bitcoin IDE&lt;/a> is an online Bitcoin Script visual emulator. Great for learning purposes.&lt;/li>
&lt;li>&lt;a rel="external" href="https://coins.github.io/bitcoin-scripts/script-editor/">Script Editor&lt;/a> is product-driven research on Bitcoin scalability and usability.&lt;/li>
&lt;li>&lt;a rel="external" href="https://bitcoin.sipa.be/miniscript/">Miniscript&lt;/a> is a language for writing (a subset of) Bitcoin Scripts in a structured way, enabling analysis, composition, generic signing, and more.&lt;/li>
&lt;/ul></content></entry><entry xml:lang="en"><title>Mastering Bitcoin</title><subtitle>Programming the Open Blockchain</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="software-design" scheme="https://chemaclass.com/tags/software-design/" label="Software Design"/><category term="privacy" scheme="https://chemaclass.com/tags/privacy/" label="Privacy"/><published>2024-07-05T00:00:00+00:00</published><updated>2024-07-05T00:00:00+00:00</updated><author><name>
Andreas M. Antonopoulos</name></author><author><name>
David A. Harding</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/mastering-bitcoin/"/><id>https://chemaclass.com/readings/mastering-bitcoin/</id><summary type="html">This book covers everything from the basics to the most profound technical aspects of how Bitcoin works. It is an excellent guide through the complex world of Bitcoin, providing the knowledge you need to participate in the Internet of Money.</summary><content type="html">&lt;p>This book covers everything from the basics to the most profound technical aspects of Bitcoin. It is an excellent guide through this complex world, providing the knowledge you need to participate in the Internet of money.&lt;/p>
&lt;span id="continue-reading">&lt;/span>
&lt;p>The first edition of this book was published in December 2014. Ten years later, a third edition with up-to-date knowledge just came out. It is highly recommended to all people interested in this outstanding topic and the tech behind it.&lt;/p>
&lt;ul>
&lt;li>A broad introduction to Bitcoin and its underlying blockchain, ideal for nontechnical users, investors, and business executives.&lt;/li>
&lt;li>An explanation of Bitcoin’s technical foundation and cryptographic currency for developers, engineers, and software and systems architects.&lt;/li>
&lt;li>Details of the Bitcoin decentralized network, peer-to-peer architecture, transaction lifecycle, and security principles.&lt;/li>
&lt;li>New developments such as Taproot, Tapscript, Schnorr signatures, and the Lightning Network.&lt;/li>
&lt;li>A deep dive into Bitcoin applications, including how to combine the building blocks this platform offers into powerful new tools.&lt;/li>
&lt;li>User stories, analogies, examples, and code snippets illustrating key technical concepts.&lt;/li>
&lt;/ul>
&lt;hr />
&lt;h2 id="contents">Contents
&lt;a class="heading-anchor" href="#contents" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;ol>
&lt;li>Introduction&lt;/li>
&lt;li>How Bitcoin Works&lt;/li>
&lt;li>Bitcoin Core: The Reference Implementation&lt;/li>
&lt;li>Keys and Addresses&lt;/li>
&lt;li>Wallet recovery&lt;/li>
&lt;li>Transactions&lt;/li>
&lt;li>Authorization and Authentication&lt;/li>
&lt;li>Digital Signatures&lt;/li>
&lt;li>Transaction Fees&lt;/li>
&lt;li>The Bitcoin Network&lt;/li>
&lt;li>The Blockchain&lt;/li>
&lt;li>Mining and Consensus&lt;/li>
&lt;li>Bitcoin Security&lt;/li>
&lt;li>Second-Layer Applications&lt;/li>
&lt;/ol>
&lt;p>&lt;img src="/images/readings/2024-07-05/footer.jpg" alt="blog-footer" />&lt;/p>
&lt;blockquote>
&lt;p>Full book also on &lt;a rel="external" href="https://github.com/bitcoinbook/bitcoinbook">GitHub&lt;/a>.&lt;/p>
&lt;/blockquote>
&lt;h3 id="key-takeaways">Key takeaways
&lt;a class="heading-anchor" href="#key-takeaways" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ol>
&lt;li>Your wallet doesn’t store any bitcoins, only the keys to access them. The coins are stored in the blockchain.&lt;/li>
&lt;li>Understanding &lt;strong>UTXOs&lt;/strong> is crucial to understanding how transactions work.
&lt;ul>
&lt;li>These are outputs from previous transactions that have not yet been spent&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>A transaction needs:
&lt;ul>
&lt;li>&lt;strong>inputs&lt;/strong>: UTXOs and an unlocking script (scriptSig) which proves ownership.&lt;/li>
&lt;li>&lt;strong>outputs&lt;/strong>: the recipient’s address and the amount to send.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The unlocking script is written in a custom language called &lt;a rel="external" href="https://en.bitcoin.it/wiki/Script">&lt;strong>Script&lt;/strong>&lt;/a>.
&lt;ul>
&lt;li>Transaction validation is achieved through the execution of a script.&lt;/li>
&lt;li>This allows for a nearly infinite variety of conditions to be expressed.&lt;/li>
&lt;li>Script is a stack-based lang, processed from left to right.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Bitcoin is often referred to as “&lt;strong>programmable money&lt;/strong>” because it allows: Multisignature, timelocking and conditional spending.
&lt;ul>
&lt;li>Extends Bitcoin’s functionality beyond simple value transfers.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Common Bitcoin &lt;a href="/blog/programmable-money#common-bitcoin-address-types">&lt;strong>address types&lt;/strong>&lt;/a>:
&lt;ul>
&lt;li>P2PKH: Begins with &lt;code>1&lt;/code>. Standard transactions using public key hashes.&lt;/li>
&lt;li>P2SH: Begins with &lt;code>3&lt;/code>. Encapsulates complex scripts like multisig.&lt;/li>
&lt;li>P2WPKH: Begins with &lt;code>bc1&lt;/code>. Native SegWit, more efficient transactions.&lt;/li>
&lt;li>P2WSH: Begins with &lt;code>bc1&lt;/code>. SegWit for complex scripts.&lt;/li>
&lt;li>P2TR: Begins with &lt;code>bc1p&lt;/code>. Taproot, enhanced privacy and efficiency.&lt;/li>
&lt;li>Bech32: Starts with &lt;code>bc1&lt;/code>. Human-readable, designed for SegWit and Taproot.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Digital signatures serve three purposes in Bitcoin transactions:
&lt;ul>
&lt;li>First, it proves that the controller of a private key has &lt;strong>authorized&lt;/strong> the spending of those funds.&lt;/li>
&lt;li>Secondly, the proof of authorization is &lt;strong>undeniable&lt;/strong>.&lt;/li>
&lt;li>Thirdly, the authorized transaction &lt;strong>cannot be changed&lt;/strong> by unauthenticated third parties.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a rel="external" href="https://en.wikipedia.org/wiki/Schnorr_signature">Schnorr’s signatures&lt;/a> aren’t specific to the &lt;a rel="external" href="https://en.wikipedia.org/wiki/Elliptic-curve_cryptography">elliptic curve cryptography&lt;/a> (ECC) that Bitcoin uses, although it is most associated with ECC today. They have a number of nice properties:
&lt;ul>
&lt;li>&lt;strong>Provable security&lt;/strong>: strong security guarantees based on the hardness of the discrete logarithm problem, with formal proofs ensuring their robustness against attacks.&lt;/li>
&lt;li>&lt;strong>Linearity&lt;/strong>: allows for efficient aggregation of multiple signatures into a single compact signature, simplifying verification processes.&lt;/li>
&lt;li>&lt;strong>Batch verification&lt;/strong>: enabling multiple signatures to be verified simultaneously in a more computationally efficient manner.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The best known secure secret sharing algorithm is &lt;a rel="external" href="https://en.wikipedia.org/wiki/Shamir&amp;#x27;s_secret_sharing">Shamir’s Secret Sharing&lt;/a>.&lt;/li>
&lt;li>Running a &lt;strong>full node&lt;/strong> gives you the pure Bitcoin experience: independent verification of all transactions without trusting any other system.&lt;/li>
&lt;li>&lt;strong>Merkle tres&lt;/strong> are used to summarize all transactions in a block, producing an overall commitment to the entire set of transactions and permitting a very efficient process to verify whether a transaction is included in a block.&lt;/li>
&lt;li>Mining is one of the inventions that make Bitcoin special, a &lt;strong>decentralized consensus&lt;/strong> mechanism that is the basis for P2P digital cash.
&lt;ul>
&lt;li>It secures the Bitcoin system and enables the emergence of network-wide consensus without a central authority.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>A &lt;strong>soft-fork&lt;/strong> is a forward-compatible change to the consensus rules that allows unupgraded clients to continue to operate in consensus with the new rules.&lt;/li>
&lt;/ol></content></entry><entry xml:lang="en"><title>The Genesis Book</title><subtitle>The Story of the People and Projects That Inspired Bitcoin</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="privacy" scheme="https://chemaclass.com/tags/privacy/" label="Privacy"/><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><published>2024-06-21T00:00:00+00:00</published><updated>2024-06-21T00:00:00+00:00</updated><author><name>
Aaron van Wirdum</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/the-genesis-book/"/><id>https://chemaclass.com/readings/the-genesis-book/</id><summary type="html">Bitcoin did not appear out of nowhere. For decades prior to Satoshi Nakamoto’s invention, a diverse group of computer scientists, privacy activists, and heterodox economists tried to create a digital form of money that could operate independently of government control. The Genesis Book tells the story of the people and projects that inspired the invention of the world’s first successful peer-to-peer electronic cash system.</summary><content type="html">&lt;p>Bitcoin did not appear out of nowhere. For decades prior to Satoshi Nakamoto’s invention, a diverse group of computer scientists, privacy activists, and heterodox economists tried to create a digital form of money that could operate independently of government control. The Genesis Book tells the story of the people and projects that inspired the invention of the world’s first successful peer-to-peer electronic cash system.&lt;/p>
&lt;span id="continue-reading">&lt;/span>
&lt;hr />
&lt;h2 id="contents">Contents
&lt;a class="heading-anchor" href="#contents" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="part-i-foundations">Part I: Foundations
&lt;a class="heading-anchor" href="#part-i-foundations" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ol>
&lt;li>Spontaneous Order&lt;/li>
&lt;li>Free and Open Source&lt;/li>
&lt;li>Neutral Money&lt;/li>
&lt;li>Cryptography&lt;/li>
&lt;li>Denationalization of Money&lt;/li>
&lt;li>eCash (and Trustless Time-stamps)&lt;/li>
&lt;li>The Extropians&lt;/li>
&lt;/ol>
&lt;h3 id="part-ii-cypherpunks">Part II: Cypherpunks
&lt;a class="heading-anchor" href="#part-ii-cypherpunks" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ol start="8">
&lt;li>The Cypherpunk Movement&lt;/li>
&lt;li>Cypherpunk Currency&lt;/li>
&lt;li>Hashcash&lt;/li>
&lt;li>Bit Gold&lt;/li>
&lt;li>B-money (and BitTorrent)&lt;/li>
&lt;li>RPOW&lt;/li>
&lt;/ol>
&lt;h3 id="part-iii-bitcoin">Part III: Bitcoin
&lt;a class="heading-anchor" href="#part-iii-bitcoin" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;ol start="14">
&lt;li>Twenty-First Century Fiat&lt;/li>
&lt;li>The White Paper&lt;/li>
&lt;li>The Release&lt;/li>
&lt;/ol>
&lt;hr />
&lt;blockquote>
&lt;p>The central bank declared the insurer “too big to fail,” and, along with the US Treasury, bailed it out with an injection of $68 billion (plus another $112 billion in guarantees).&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>If Friedrich Hayek’s analysis of monetary economics early in this career was correct, Bitcoin could help fix the economy. As an unbacked currency that operated without a central bank, bitcoin was an entirely homogeneous form of money. Anyone could control their own coins, and there were no reserve ratios to worry about. And, since bitcoin existed on the internet, it was borderless as well. Anyone with an internet connection, anywhere in the world, could download the software and start sending and receiving transactions to anyone else. This combination (a homogeneous, borderless type of money with a fixed supply) is what Hayek once described as neutral money.&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>Bitcoin would also facilitate international trade in a much more straightforward manner, where only the buyer and seller and (the prices of) their respective products are affected, not the price levels across their entire countries.&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>In Bitcoin, no one is in charge… and everyone is in charge.&lt;/p>
&lt;/blockquote>
&lt;hr />
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/TXs3maguye4"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div></content></entry><entry xml:lang="en"><title>The Book Of Satoshi</title><subtitle>The Collected Writings of Bitcoin Creator Satoshi Nakamoto</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><published>2023-07-10T00:00:00+00:00</published><updated>2023-07-10T00:00:00+00:00</updated><author><name>
Phil Champagne</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/the-book-of-satoshi/"/><id>https://chemaclass.com/readings/the-book-of-satoshi/</id><summary type="html">A compilation of Satoshi Nakamoto's emails, forum posts, and writings from 2008-2010 that detail Bitcoin's creation, design decisions, and the vision behind the protocol.</summary><content type="html">&lt;span id="continue-reading">&lt;/span>
&lt;p>Have you, like the rest of the world, speculated as to the identity of Satoshi Nakamoto, anonymous creator of Bitcoin?&lt;/p>
&lt;p>The world’s first cryptocurrency, Bitcoin went online in 2009 and has since revolutionized our concepts of currency and money. Not supported by any government or central bank, completely electronic, Bitcoin is a virtual currency based on advanced cryptographic systems.&lt;/p>
&lt;p>Like the currency he created, the identity of Bitcoin’s creator Satoshi Nakamoto is virtual, existing only online. The Nakamoto persona, which may represent an individual or a group, exists only in the online publications that introduced and explained Bitcoin during its earliest days. Here, collected and professionally published for the first time are the essential writings that detail Bitcoin’s creation.&lt;/p>
&lt;p>The Book of Satoshi provides a convenient way to parse through what Bitcoin’s creator wrote over the span of the two years that constituted his “public life” before he disappeared from the Internet . . . at least under the name Satoshi Nakamoto.&lt;/p>
&lt;p>Beginning on November 1st 2009 with the publication of the seminal paper describing Bitcoin, this public life ends at about the time PC World speculated as to a possible link between Bitcoin and WikiLeaks, the infamous website that publishes leaked classified materials. Was there a connection? You be the judge.&lt;/p>
&lt;p>Nakamoto’s true identity may never be known. Therefore the writings reproduced here are probably all the world will ever hear from him concerning Bitcoin’s creation, workings, and theoretical basis. Want to learn more about Bitcoin? Go directly to the source-the writings of the creator himself, Satoshi Nakamoto.&lt;/p>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/kaBmAV5DaXI"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div></content></entry><entry xml:lang="en"><title>The Blocksize War</title><subtitle>The battle for control over Bitcoin's protocol rules</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="leadership" scheme="https://chemaclass.com/tags/leadership/" label="Leadership"/><published>2023-06-20T00:00:00+00:00</published><updated>2023-06-20T00:00:00+00:00</updated><author><name>
Jonathan Bier</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/the-blocksize-war/"/><id>https://chemaclass.com/readings/the-blocksize-war/</id><summary type="html">Jonathan Bier chronicles the Bitcoin blocksize war (2015-2017), exploring the key players, strategies, and ideological battles that shaped who controls Bitcoin's protocol.</summary><content type="html">&lt;span id="continue-reading">&lt;/span>
&lt;p>This book covers Bitcoin’s blocksize war, which was waged from August 2015 to November 2017. On the surface the battle was about the amount of data allowed in each Bitcoin block, however it exposed much deeper issues, such as who controls Bitcoin’s protocol rules.&lt;/p>
&lt;p>This book explores some of the major characters in the conflict and includes coverage, from both the front lines and behind the scenes, during some of the most acute phases of the struggle.&lt;/p>
&lt;p>The account in this book includes discussions with the key players from both sides during the war, exploring their motivations, strategy and thought processes as the exhausting campaign progressed and developed.&lt;/p>
&lt;h2 id="chapters">Chapters
&lt;a class="heading-anchor" href="#chapters" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;ol>
&lt;li>First strike&lt;/li>
&lt;li>March to war&lt;/li>
&lt;li>Scaling I - Montreal&lt;/li>
&lt;li>Scaling II - Hong Kong&lt;/li>
&lt;li>SegWit&lt;/li>
&lt;li>Lightning network&lt;/li>
&lt;li>Bitcoin Classic&lt;/li>
&lt;li>Hong Kong Round table&lt;/li>
&lt;li>Faketoshi&lt;/li>
&lt;li>The DAO&lt;/li>
&lt;li>Scaling III - Milan&lt;/li>
&lt;li>Bitcoin unlimited&lt;/li>
&lt;li>Exchanges&lt;/li>
&lt;li>ASICBoost&lt;/li>
&lt;li>Dragons’s Den&lt;/li>
&lt;li>Litecoin&lt;/li>
&lt;li>User - Activated softfork&lt;/li>
&lt;li>New York agreement&lt;/li>
&lt;li>Bitcoin Cash&lt;/li>
&lt;li>SegWit2x&lt;/li>
&lt;li>Victory&lt;/li>
&lt;/ol>
&lt;h3 id="summary">Summary
&lt;a class="heading-anchor" href="#summary" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/6YtS5ZNuuTw"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div></content></entry><entry xml:lang="en"><title>21 Lessons</title><subtitle>What I've Learned from Falling Down the Bitcoin Rabbit Hole</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><published>2023-03-11T00:00:00+00:00</published><updated>2023-03-11T00:00:00+00:00</updated><author><name>
Gigi</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/21-lessons/"/><id>https://chemaclass.com/readings/21-lessons/</id><summary type="html">Bitcoin as more than just money: a deep dive into economics, philosophy, and culture. Like Alice in Wonderland, exploring Bitcoin is full of surprises.</summary><content type="html">&lt;p>Gigi portrays Bitcoin as more than just money; it’s a deep dive into economics, philosophy, and culture. Like Alice in Wonderland, exploring Bitcoin is full of surprises, teaching about money, inflation, and the idea of decentralization. It redefines what ‘good money’ is, shows its cultural impact, and stresses that learning about Bitcoin is a personal journey that keeps evolving.&lt;/p>
&lt;span id="continue-reading">&lt;/span>&lt;h2 id="key-takeaways">Key takeaways
&lt;a class="heading-anchor" href="#key-takeaways" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;h3 id="philosophical-and-conceptual-insights">Philosophical and Conceptual Insights
&lt;a class="heading-anchor" href="#philosophical-and-conceptual-insights" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Bitcoin teaches more than traditional education, offering insights into economics and philosophy.
Engaging with Bitcoin feels like falling down a rabbit hole, full of learning and surprises.&lt;/p>
&lt;h3 id="economic-and-monetary-lessons">Economic and Monetary Lessons
&lt;a class="heading-anchor" href="#economic-and-monetary-lessons" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Bitcoin brings back the idea of ‘sound money’, teaching about inflation and banking systems.
Issuing new money reduces the value of existing money, unlike Bitcoin which has a fixed supply.&lt;/p>
&lt;h3 id="technical-and-cultural-aspects">Technical and Cultural Aspects
&lt;a class="heading-anchor" href="#technical-and-cultural-aspects" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Bitcoin’s core ideas include scarcity, security, and consensus, but the book isn’t a technical manual.
Bitcoin reflects a shift towards decentralization, influenced by movements like cypherpunk.&lt;/p>
&lt;h3 id="personal-and-educational-journey">Personal and Educational Journey
&lt;a class="heading-anchor" href="#personal-and-educational-journey" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h3>
&lt;p>Each person might learn different lessons from Bitcoin, encouraging personal exploration.
Bitcoin’s lessons evolve, requiring ongoing study.&lt;/p>
&lt;hr />
&lt;p>“21 Lessons” focuses on why Bitcoin matters philosophically, economically, and culturally, rather than how to use it.&lt;/p>
&lt;blockquote>
&lt;p>You can buy the book or read it for free on their own website: &lt;a rel="external" href="https://21lessons.com/preface">https://21lessons.com/preface&lt;/a>&lt;/p>
&lt;/blockquote>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/-5lU92SEplU"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div></content></entry><entry xml:lang="en"><title>Bitcoin: Blockchain y su investigación</title><subtitle>Published in 2017, most of the technology shown is already history</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><published>2022-05-10T00:00:00+00:00</published><updated>2022-05-10T00:00:00+00:00</updated><author><name>
Félix Brezo</name></author><author><name>
Yaiza Rubio</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/bitcoin-la-tecnologia-blockchain-y-su-investigacion/"/><id>https://chemaclass.com/readings/bitcoin-la-tecnologia-blockchain-y-su-investigacion/</id><summary type="html">How is created Bitcoin address? How does it work the creation of the private &amp; public keys and how are they known as wallets? And many other interesting questions.</summary><content type="html">&lt;span id="continue-reading">&lt;/span>
&lt;p>This book was published in 2017, so most of the technology shown is already history. And that’s precisely what I really
like from the book itself, the “historical part” and the origin of the blockchain.&lt;/p>
&lt;p>How is created Bitcoin address? How does it work the creation of the private &amp;amp; public keys and how are they known as
wallets? And many other interesting questions.&lt;/p>
&lt;p>Back then, we got some websites and services that were using Bitcoin as a payment method, and there was a beauty trend.&lt;/p>
&lt;ul>
&lt;li>The &lt;strong>first half of the book&lt;/strong> is the best part, and I would say it’s still relevant due to the origin of this tech.&lt;/li>
&lt;li>The &lt;strong>second half&lt;/strong>, on the other hand, I would say is “more optional” and for curious people. There are no learnings
from this part, besides the trend that you can see we already had back in 2016/2017. Today in 2022 the tech (and
projects using blockchain) has evolved a lot.&lt;/li>
&lt;/ul>
&lt;p>I would really like to read a new book with an updated investigation 5 years after the first edition.&lt;/p>
&lt;blockquote>
&lt;p>The book is available only in Spanish: &lt;a rel="external" href="https://0xword.com/es/libros/87-bitcoin-la-tecnologia-blockchain-y-su-investigacion.html">0xWord&lt;/a>&lt;/p>
&lt;/blockquote></content></entry><entry xml:lang="en"><title>The Bitcoin Standard</title><subtitle>The Decentralized Alternative to Central Banking</subtitle><category term="bitcoin" scheme="https://chemaclass.com/tags/bitcoin/" label="Bitcoin"/><category term="economics" scheme="https://chemaclass.com/tags/economics/" label="Economics"/><category term="philosophy" scheme="https://chemaclass.com/tags/philosophy/" label="Philosophy"/><published>2021-09-20T00:00:00+00:00</published><updated>2021-09-20T00:00:00+00:00</updated><author><name>
Saifedean Ammous</name></author><link rel="alternate" type="text/html" href="https://chemaclass.com/readings/the-bitcoin-standard/"/><id>https://chemaclass.com/readings/the-bitcoin-standard/</id><summary type="html">The Bitcoin Standard analyzes the historical context to the rise of Bitcoin, the economic properties that have allowed it to grow quickly, and its likely economic, political, and social implications.</summary><content type="html">&lt;span id="continue-reading">&lt;/span>
&lt;p>The Bitcoin Standard analyzes the historical context to the rise of Bitcoin, the economic properties that have allowed
it to grow quickly, and its likely economic, political, and social implications.&lt;/p>
&lt;p>While Bitcoin is a new invention of the digital age, the problem it purports to solve is as old as human society itself:
transferring value across time and space. Ammous takes the reader on an engaging journey through the history of
technologies performing the functions of money, from primitive systems of trading limestones and seashells, to metals,
coins, the gold standard, and modern government debt.&lt;/p>
&lt;p>With this background in place, the book moves on to explain the operation of Bitcoin in a functional and intuitive way.
Bitcoin is a decentralized, distributed piece of software that converts electricity and processing power into
indisputably accurate records, thus allowing its users to utilize the Internet to perform the traditional functions of
money without having to rely on, or trust, any authorities or infrastructure in the physical world.&lt;/p>
&lt;p>The final chapter of the book explores some of the most common questions surrounding Bitcoin:&lt;/p>
&lt;ul>
&lt;li>Is Bitcoin mining a waste of energy?&lt;/li>
&lt;li>Is Bitcoin for criminals?&lt;/li>
&lt;li>Who controls Bitcoin, and can they change it if they please?&lt;/li>
&lt;li>How can Bitcoin be killed?&lt;/li>
&lt;/ul>
&lt;p>The Bitcoin Standard is the essential resource for a clear understanding of the rise of the Internet’s decentralized,
apolitical, free-market alternative to national central banks.&lt;/p>
&lt;hr />
&lt;h2 id="video-summary">Video Summary
&lt;a class="heading-anchor" href="#video-summary" title="Copy link" aria-label="Link to this section">#&lt;/a>
&lt;/h2>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/t1brCcgi174"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;blockquote>
&lt;p>Extra: Lex Fridman Podcast with the author of this book&lt;/p>
&lt;/blockquote>
&lt;div style="position:relative;aspect-ratio:16/9;width:100%;">
&lt;iframe
src="https://www.youtube-nocookie.com/embed/gp4U5aH_T6A"
title="YouTube video"
width="560"
height="315"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;inset:0;width:100%;height:100%;border:0;"
allowfullscreen>
&lt;/iframe>
&lt;/div></content></entry></feed>