Kick off your book project in 2 hours! Live workshop on Zoom. You’ll leave with a real book project, progress on your first chapter, and a clear plan to keep going. Tuesday, June 16, 2026. Learn more…

Leanpub Header

Skip to main content

Twenty One Million

The Inner Workings of Blockchain and Bitcoin

Four colleagues. One whiteboard. Ten Thursdays to understand the thing everyone argues about, and almost no one can explain.

Margaret has been handed a single page to fill out: a recommendation, by quarter-end, on whether her insurance company should invest in Bitcoin. She means to write *NO* and be home by five. But to write *NO* with a clear conscience, she first has to understand it - and that turns out to take longer than an afternoon.

What follows is the clearest explanation of Bitcoin ever told as a story. No hype. No jargon. No get-rich pitch - just four sharp, skeptical adults breaking the thing open one piece at a time, from *there is no coin* to the twelve words that can hold a fortune, discovering that the machine they were sent to dismiss is harder to cheat than the bank.

If you've ever nodded along to the word *blockchain* and quietly prayed no one would

ask you what it meant - this is the book that finally makes it make sense.

Minimum price

$19.00

$24.00

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
About

About

About the Book

Everyone has an opinion about Bitcoin. Almost no one can explain it.

A novel you can finish on a long flight — and step off the plane finally understanding how Blockchain actually works.

*Twenty-One Million* fixes that - not with a lecture, but with a story. Four colleagues at a staid insurance company are handed a thankless assignment: decide, in one page, whether the firm should touch Blockchain and Bitcoin. Margaret, who runs risk and trusts no one with money after being burned once, fully intends to write *no*. To do it honestly, she has to understand the thing first -- and so, one Thursday at a time, in the worst conference room in the building, she and three equally skeptical colleagues take Bitcoin apart on a whiteboard and try to break every piece.

They start where everyone's confusion starts ("what *is* a coin?") and end up somewhere they never expected: convinced that a ledger no one controls is harder to cheat than the bank down the street. Along the way the book quietly teaches the whole machine - keys and signatures, the chain, mining, why nobody can print more, how to actually buy and hold it without losing everything, and how to spot the scams built to take it from you.

By the last page, you'll actually understand:

  • What Bitcoin and "blockchain" really are -- and why there's no coin anywhere
  • Keys and signatures, blocks and headers, transactions, nodes, miners and why your money can't be forged or guessed
  • Mining, and why no one can ever make more than 21 million
  • How to buy your first bitcoin on an exchange — without getting burned
  • Wallets, and the twelve ordinary words that hold (or lose) everything
  • How to spot the scams built to take it from you

It is the rare explainer that respects you enough to be honest about the costs as well as the magic. If you've read three articles about Bitcoin and still couldn't say what it really *is*, start here.

Written by Ritesh Modi - a longtime blockchain educator and author of two books on smart-contract programming - whose philosophy is simple and severe: make a hard thing clear without making it any smaller than the truth allows.

Author

About the Author

Ritesh Modi

Ritesh Modi is Head of AI at MarketOnce and a former Forward Deployed Engineer at Microsoft. He has spent more than a decade building and shipping production systems across cloud, distributed computing, and applied machine learning, working with organizations ranging from global enterprises to fast-moving startups. His recent work focuses on applied large language models, designing systems that turn pretrained models into reliable, task-specific tools.

Ritesh has authored multiple technology books and speaks regularly at industry conferences on AI, cloud architecture, and software engineering. His writing philosophy rests on a simple belief: the best technical books are written by practitioners who still remember what it felt like to not understand something, not by experts who have forgotten. Every explanation in this book was tested against that standard, if it would not have made sense to him when he was first learning this material, it was rewritten until it did.

He writes, shares ideas, and connects with readers at www.riteshmodi.com. When he is not writing or building AI systems, he can be found mentoring engineers, exploring new architectures, or debugging a training run that should have converged three hours ago.

Contents

Table of Contents

b>A novel you can finish on a long flight — and step off the plane finally understanding how Bitcoin actually works. Everyone has an opinion about Bitcoin. Almost no one can explain it. Twenty-One Million fixes that — not with a lecture, but with a story you won't want to put down. Four colleagues at a staid insurance company are handed a thankless assignment: decide, in one page, whether the firm should touch Bitcoin. Margaret runs risk and trusts no one with money — she fully intends to write no. To do it honestly, she has to understand the thing first. So, one Thursday at a time, in the worst conference room in the building, four sharp, skeptical adults take Bitcoin apart on a whiteboard and try to break every piece. They start where everyone's confusion starts — "what is a coin?" — and end up somewhere they never expected: convinced that a ledger no one controls is harder to cheat than the bank down the street. Read it like a novel. Finish it understanding the whole machine. By the last page, you'll actually understand:
  • What Bitcoin and "blockchain" really are — and why there's no coin anywhere
  • Keys and signatures, and why your money can't be forged or guessed
  • Mining, and why no one can ever make more than 21 million
  • How to buy your first bitcoin on an exchange — without getting burned
  • Wallets, and the twelve ordinary words that hold (or lose) everything
  • How to spot the scams built to take it from you
No hype. No jargon. No get-rich pitch. Just the clearest explanation of Bitcoin ever told as a story — one you can read at night, on a train, on a beach. If you've ever nodded at the word "blockchain" and quietly prayed no one would ask you what it meant — start here.

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub