Sang's Blog

Cryptocurrency, why it works

Before you can have an opinion about cryptocurrency — whether it is the future of money, a speculative bubble, a tool for criminals or a hedge against inflation — you need to understand something more basic: what it actually is. Not the price. Not the headlines. Not the guy on Twitter who got rich or the other guy who lost everything. The thing itself. Where does a Bitcoin come from? Why can’t someone just copy it? Why would anyone trade real goods and services for numbers in a computer? These are the questions that most debates skip over, and skipping them is why those debates rarely go anywhere.

The first thing to understand is that digital money was not obvious. Before 2009, it was widely considered impossible without a central authority. The reason is something called the double-spending problem. If I have a JPEG of a cat and I send it to you, both of us now have the cat. The file was copied. This is fine for cat pictures, but catastrophic for money. If I have a digital coin and I send it to you, you need to be certain that I no longer have it. Otherwise I could spend the same coin twice, three times, a thousand times, and the money would become worthless. For decades, the only known solution was a trusted third party — a bank, a payment processor, a government — that maintained the authoritative ledger of who owns what. You gave them the money, they updated the database, and everyone agreed to trust that database. This worked. It still works. But it has a weakness: the third party can freeze your account, reverse your transaction, charge arbitrary fees, and demand your identity. The third party is a single point of control and a single point of failure.

In 2008, someone using the name Satoshi Nakamoto published a paper that proposed a different approach. Instead of trusting a central authority, what if you could trust mathematics? What if the ledger was not stored in one database but distributed across thousands of computers, each holding an identical copy, and what if there was a mechanism that made it overwhelmingly expensive to forge an entry and trivially cheap to verify one? That paper described Bitcoin.

The core mechanism is the blockchain — a term that has since been stretched to the point of meaninglessness, but which describes something specific and elegant. A blockchain is a chain of blocks, where each block contains a batch of recent transactions and a cryptographic fingerprint of the previous block. That fingerprint is called a hash. You feed data into a hash function and it produces a fixed-length string of characters that looks random but is completely deterministic — the same input always produces the same hash, but changing even a single bit of the input produces a completely different hash, and there is no way to work backwards from the hash to the input. If you change a transaction in block 100, the hash of block 100 changes, which changes the hash stored in block 101, which changes block 102, and so on all the way to the present. To alter history, you would need to recompute every block that came after your alteration. But recomputing a block is deliberately expensive. This is where mining enters the picture.

Mining is the answer to two questions at once: who gets to add the next block, and where do new coins come from. To add a block, you must find a hash of the block’s contents that is smaller than a target number set by the network. There is no shortcut. You cannot solve this with clever mathematics because hash functions are designed to be unpredictable. The only way is brute force: guess a random number, hash the block, check the result, guess again. The more computing power you throw at the problem, the faster you can guess. Every miner on the planet is competing to be the first to find a valid hash. When someone succeeds, they broadcast the new block, everyone else verifies it in a fraction of a second, and the winner receives newly created coins plus the transaction fees from the transactions they included. The new coins are not printed. They are not conjured from nothing. They are paid out by the network itself according to a pre-programmed schedule that everyone can inspect. This is the only way new Bitcoin enters existence.

This process — proof-of-work — is often criticised as wasteful. And it is. Bitcoin mining consumes electricity comparable to a medium-sized country. But that consumption is not a bug. It is the feature that secures the system. The cost of mining a block represents a physical barrier against rewriting history. If you wanted to reverse a transaction from six blocks ago, you would need to recompute those six blocks plus one more, faster than the entire rest of the network combined. That would require more than half of all mining power on the planet, which would cost billions of dollars in hardware and electricity. And if you had that much power, you would earn more by mining honestly than by attacking the network. The system aligns incentives: attacking is expensive and unprofitable, cooperating is rewarded. This is the genius of Bitcoin — it turned the problem of trust into a problem of economics.

So coins come from mining, and mining is expensive. This brings us to the question of value. Why does Bitcoin have value in the first place? Why would anyone accept it in exchange for goods or services?

The short answer is that all money is a collective hallucination. Gold has value because humans have collectively agreed for thousands of years that shiny yellow metal is valuable. It has some industrial uses, but those account for a tiny fraction of its price. Most gold sits in vaults doing nothing, and people pay enormous sums for it because other people will pay enormous sums for it. The US dollar has value because the US government demands taxes in dollars, because it is the world’s reserve currency, and because everyone else accepts it. Neither gold nor the dollar has intrinsic value. Value is a property of social agreement, not of physical objects.

Bitcoin adds something new to this ancient story: mathematical scarcity. There will only ever be 21 million Bitcoin. This is not a promise made by a central bank that might change its mind next year. It is enforced by the code that every node runs. If you modify your copy of the software to give yourself more coins, the rest of the network will reject your blocks because they do not follow the rules. You cannot inflate Bitcoin. You cannot print more. The supply is predictable — a new block roughly every ten minutes, with the reward halving every four years — until the last satoshi is mined sometime around 2140.

Compare this to fiat currency. The US dollar supply has expanded dramatically over the past century. Governments print money during crises, fund wars, stimulate recessions. Sometimes this is necessary and wise. Sometimes it is reckless. But the point is that the supply of fiat money is a political decision, subject to human judgment and human error. Bitcoin’s supply is a mathematical decision, enforced by physics. If you distrust human institutions to manage money responsibly — and many people do, with good historical reason — then a currency whose supply rules cannot be changed by any government or committee holds genuine appeal. It is not that Bitcoin is perfect. It is that it offers an alternative to a system that has repeatedly failed.

This leads to the question of whether cryptocurrency is actually money. Economists define money by three functions: it must be a medium of exchange (you can buy things with it), a store of value (it holds its worth over time), and a unit of account (prices are denominated in it). Bitcoin partially fulfills these roles. You can buy things with it, though the list of merchants who accept it directly is still small and transaction fees can be high during periods of network congestion. As a store of value, it has performed remarkably well over any multi-year period, but its short-term volatility makes it unsuitable for money you might need next month. As a unit of account, it largely fails — almost no one prices goods in Bitcoin. Everything is priced in local fiat currency and converted at the point of sale. Bitcoin behaves more like digital gold than digital cash: a long-term store of value that is awkward for daily purchases.

This is not a permanent state. The history of money suggests that these three functions tend to emerge in sequence, not simultaneously. Gold was a store of value for millennia before it became a medium of exchange. Paper money began as receipts for gold deposits — a convenience layer on top of real value — and only later became money in its own right. It is entirely possible, though far from guaranteed, that cryptocurrency follows a similar path. As more people hold it, more merchants accept it. As more merchants accept it, more people hold it. The network effects that make fiat money dominant could, in theory, shift to a mathematically scarce digital asset.

But what about all the other cryptocurrencies? Bitcoin is not the only one, and cryptocurrency is not a monolith. Ethereum extended the blockchain concept to include programmable contracts — code that automatically executes when conditions are met, enabling applications like decentralised lending, exchanges and stablecoins that exist entirely on-chain. Monero solved Bitcoin’s privacy limitations at the protocol level, making transactions untraceable. Thousands of other projects exist, each addressing different trade-offs or pursuing different visions. Many are genuinely innovative. Many are scams. The space is messy and unregulated, which means you need to understand what you are engaging with before putting money into it.

The existence of scams and speculation does not invalidate the technology, any more than the dot-com crash invalidated the internet. Both were periods of speculative excess around a genuinely transformative technology. The question is not whether people have done stupid things with cryptocurrency — they have, and they will continue to. The question is whether a mathematically scarce, permissionless, stateless money is a useful addition to the world’s financial infrastructure.

I believe it is. Not because I think Bitcoin will replace the dollar — it will not, at least not in any foreseeable future. But because for the first time in human history, there exists a form of money that no government can debase, no corporation can revoke, and no border can stop. A person in a country with double-digit inflation can convert their collapsing currency into an asset that cannot be printed. A dissident whose bank accounts have been frozen can still receive donations. A refugee crossing a border can carry their wealth as twelve words memorised in their head, with no physical object to be confiscated. These use cases are real and they are happening today. They do not require Bitcoin to become a global reserve currency. They only require it to keep working as it has for the past decade and a half.

The journey from “magic internet money” to “understood financial infrastructure” is slow. Understanding it requires letting go of the idea that money is a physical thing with inherent value, and accepting the more uncomfortable truth that money has always been a shared fiction — one that we are now learning to encode in mathematics rather than paper. Cryptocurrency is not magic. It is a distributed ledger secured by energy, governed by code, valued by consensus, and available to anyone with an internet connection. Whether that is a good thing depends on your view of the current financial system. But before you can judge it, you have to understand it. That understanding starts here.

← Prev Post Next Post →