DEV Community

Cover image for The Blockchain Bet
David
David

Posted on

The Blockchain Bet

Rebuilding Money From Scratch

The Money Stack: Episode 7 of 10


On the 31st of October 2008, with the global banking system in visible collapse, a nine-page paper appeared on an obscure cryptography mailing list. No institution stood behind it. No funding. An author nobody could find.

It claimed to solve a problem that had defeated every previous attempt at digital cash: the double-spend problem.

The problem is simple to state. A digital file can be copied perfectly. If your money is a file, you can spend it twice. Every earlier system solved this the only way anyone knew how: put a trusted party in the middle who keeps the authoritative list. A bank. A card network. A clearing house. Somebody who decides which spend came first.

The paper proposed removing that party entirely and replacing it with something stranger. Make ordering expensive. Let anyone propose the next batch of transactions, but require them to burn real electricity to do it, and have everyone agree to follow whichever chain has the most work behind it. Rewriting history would cost more than the theft was worth.

Two months later, the first block was mined. Embedded in it, in plain text, was a headline from that day's Times of London: "Chancellor on brink of second bailout for banks."

Whatever else you think of what followed, that is not a subtle piece of authorship.


The Problem Every Digital Cash Had

Bitcoin was not the first attempt at digital money. It was the first that did not need an issuer.

DigiCash, founded by the cryptographer David Chaum in 1989, offered private electronic payments but depended on a company at the centre, and the company failed. E-gold let people hold and transfer digital gold, until the operator was shut down by regulators. Wei Dai's b-money proposal in 1998 sketched a decentralised system on paper but never solved how participants would agree on the record.

Each of them hit the same wall. If the money is data, someone has to be trusted to say which copy is real. Remove that someone and you need a way for strangers to agree on history without trusting each other.

That is a distributed consensus problem, and the paper's contribution was a practical answer to it.


Proof of Work, Without the Mysticism

Strip away the mythology and proof of work is a lottery for the right to append to the ledger.

Participants, called miners, collect pending transactions into a block and repeatedly hash it with a changing number until the result falls below a target value. There is no shortcut. The only way to find a valid hash is to try, billions of times, which costs electricity and hardware. The first to succeed broadcasts the block, and everyone else checks it, which takes a fraction of a second.

The cost is deliberate. It is what makes rewriting history expensive. To alter an old transaction, an attacker would have to redo the work for that block and every block built on top of it, faster than the honest network adds new ones.

The tiebreaker is the longest-chain rule: when two valid chains exist, honest nodes follow the one with the most accumulated work. The idea has an ancestor. Adam Back's Hashcash, proposed in 1997, used the same kind of computational puzzle to make email spam expensive. Bitcoin repurposed a spam filter into a consensus mechanism.


What It Actually Achieved

It is worth saying plainly, because sceptics and enthusiasts both tend to skip it: this worked.

For the first time, value could move between two parties anywhere in the world with no operator in the middle. No account to open. No institution that could freeze it, reverse it, or refuse to process it. A new participant needed only software and an internet connection.

That is a genuine engineering achievement. It solved a problem that had resisted the best efforts of cryptographers for two decades. Whatever one thinks of the price of the asset, the protocol delivered what it promised: censorship-resistant, permissionless value transfer.


What It Cost

Every one of those properties was bought with a tradeoff, and an honest evaluation names them.

Throughput is low. Bitcoin's base layer handles roughly seven transactions per second, against the tens of thousands per second that card networks are built to sustain. Blocks arrive about every ten minutes, so confirmation is slow. Finality is probabilistic: a transaction becomes more certain with each block built on top of it, but is never mathematically final.

Energy consumption is high by design, because the cost of work is the security.

And transactions are irreversible. That is a feature when you are resisting censorship and a serious problem in a world where people mistype addresses, fall for scams, or send funds to the wrong party. There is no chargeback and no support desk with the power to undo anything.

The wider design constraint is often called the blockchain trilemma: it is hard to get decentralisation, security, and scalability all at once. Most systems choose two and compromise on the third.


From Ledger to Computer

In 2015, Ethereum extended the idea in an important direction. If a network of strangers can agree on a ledger, they can agree on the result of running a program.

Ethereum introduced smart contracts: code stored on the chain and executed by every node, with the outcome recorded as part of the shared state. The Ethereum Virtual Machine runs that code identically everywhere. Because running arbitrary code on thousands of machines is dangerous, every operation costs gas, a fee that meters computation and stops a bad program from running forever.

This turned a payment network into a general-purpose settlement layer. Anything expressible as rules could now be enforced without an intermediary, which is where decentralised finance began.

In September 2022, Ethereum also changed how it reaches consensus, moving from proof of work to proof of stake. Instead of burning electricity, validators lock up capital as collateral and lose it if they misbehave. The change cut the network's energy use by more than ninety-nine percent, in exchange for a different set of tradeoffs around who holds influence.


The One Idea in DeFi Worth Understanding

Most of decentralised finance is a reimplementation of existing products with different risk. One mechanism, though, is genuinely new.

A traditional exchange matches buyers and sellers through an order book and relies on market makers to keep prices fair. An automated market maker replaces all of that with a formula. A pool holds two assets, and the product of their quantities must stay constant:

x * y = k

If someone buys one asset, its quantity in the pool falls, so its price rises along the curve. No order book. No counterparty. No market maker. Anyone can deposit assets into the pool and earn a share of the trading fees.

The catch is called impermanent loss. When prices move, the pool automatically rebalances, and providers can end up with less value than if they had simply held the assets. It is a real cost, often misunderstood, and the reason many liquidity providers lose money despite earning fees.


Stablecoins: The Product That Mattered

The most important finding of the crypto era is not the one its founders expected.

The killer application turned out not to be replacing money. It was moving existing money. A stablecoin is a token pegged to a currency, usually the US dollar, that travels on a network which does not close at four in the afternoon, does not observe weekends, and does not require a chain of correspondent banks.

That is Episode 2's problem, solved with Episode 7's tooling.

In Nigeria and across emerging markets this is not speculation. People hold dollar stablecoins to protect savings from currency volatility. Businesses use them to pay suppliers abroad when official FX access is slow or unavailable. Freelancers use them to receive payment from clients who cannot easily wire money into a local account. The appeal is practical: access to a stable unit of account, and settlement in minutes.

There are three broad designs. Fiat-backed stablecoins hold reserves in cash and equivalents. Crypto-backed ones hold excess collateral in other tokens. Algorithmic ones try to hold the peg through incentives alone, and that is the design that kept failing. In May 2022, TerraUSD lost its peg and collapsed, taking tens of billions of dollars of value with it.


The Third Party Comes Back

The honest ending to this story has an irony in it.

The system was designed to remove the trusted intermediary. Yet most people who use it today do so through exchanges and custodial wallets: companies that hold their keys, process their deposits, and decide who may trade. When one of them fails, as FTX did in November 2022, the old problem returns in full. Customers discover that the trusted third party they thought they had escaped was simply wearing a different logo.

The technology removed the need to trust an institution. It did not remove the human preference for convenience, and convenience tends to rebuild the institution.

The blockchain bet left a durable protocol, a handful of useful applications, and a lot of wreckage. It also left a lesson that the next episode lives out: while one part of the world was trying to replace the banking system, another was quietly fixing it, and moving billions of transactions a month while doing so.

Episode 8: The African Fintech Explosion. How a continent built payments on hard mode. Coming 16th December, 2026.


The Money Stack is a ten-part series on the history and technology of how money moves. Written by David, a software engineer in Lagos.

Top comments (0)