Recreating Bitcoin 2:First Version is Online!

Bitcoin v0.0.1 #

A week later, Satoshi completed the development of Bitcoin’s first version. Based on the plan before, he went to the closest computer store to buy a low-spec server and carried it to the cafe. He connected it online and installed the Linux OS. After he deployed the Bitcoin system, it was launched.

Then he purchased the domain name: on GoDaddy and connected it to the IP address of Bitcoin’s server. Now Bitcoin could be accessed through the domain.

There came the obscure unveiling of Bitcoin to the world.

“Boss, Bitcoin is now up for use!” said Satoshi to Bob.

“Hah, great! Now, who wants to be the first in history to use Bitcoin?” asked Bob to the people in the cafe.

Alice answered back, “I will do it! It was inspired by me after all! I’ll get a latte with it. Lad, how do I go about using this?”

“You can open the website: on your browser,” said Satoshi.
Alice used his phone to open the website and saw this (graph below):

图片 1.png

Login Page

Alice said, “Wow. It’s working! So what are my username and password?

Satoshi said, “I forgot to register for you. I’ll do that right now!”

Satoshi made it to the host background and used vi tool (a tool on Linux to edit files) to add a line of information in user.txt:

Alice, Bitcoin123, 0

“Alright! Your username is Alice, password is Bitcoin123. Keep them to yourself,” said Satoshi to Alice quietly.

图片 1.png

Account balance page

“My balance is 0. Do I need to use dollars to exchange some Bitcoin?” Alice asked.

“Yeah. Give me some dollars and I’ll transfer some Bitcoins to your account.”

Alice gave Satoshi 100 dollars. Then Satoshi logged in his account and transferred 100 Bitcoin to Alice’s account.

“If you want to exchange back to dollars, come to me and I’ll get your dollars back with your Bitcoin,” explained Satoshi.

Satoshi became the first one-person Bitcoin exchange.

The total currency supply was equal to the default balance of 21,000,000 Bitcoin in Satoshi’s own account.

But of course, it was only a temporary solution. There was no fundamental difference with the Federal Reserve: if Satoshi wanted to increase the supply, he only needed to secretly modify the balance.

This issue would be solved one step at a time. Let’s finish Alice’s first transaction.

“Can I send money to Bob now?” Alice asked.

“Yes. Just refresh the page and click ‘Transfer’.”

Alice refreshed the page and on the screen was 100 Bitcoin (graph below).

图片 1.png

Alice’s Balance Page

Now Alice proceeded to the transaction page. The screen looked like this:

图片 1.png

Transaction Page

Alice changed the transaction amount and clicked “Confirm”. Transaction was complete.

“That’s it? It’s so simple! Boss check if you’ve got it,” said Alice to Bob.
Bob took his phone out and logged in the website using the username and password. 30 Bitcoin appeared in his account.

“This is so fast! Now I don’t need to look for change for my customers!” Bob complimented, “Alice, come and taste my new cake: BITCAKE. Now everyone here in the store that pays with Bitcoin from now on gets a free BITCAKE!”

图片 1.png

Bob’s balance page

“Let me try this!” people in the cafe rushed to Satoshi to exchange for Bitcoin.

Satoshi registered an account for each of the customers and added to their balance.

“Manually setting this up is not a solution. I must upgrade it in the next version. How I do solve the registration issue? If I don’t do away with the password verification process, it’d be no fundamentally different from the banking system. If the system operator wants to attack a user, they only need to delete the user’s account or change the balance to 0. That’s too easy, poor little creature” Satoshi sat there and started to think about the solution.

These issues would be solved later.

But right now, the first Bitcoin system was up and running in Bob’s cafe. That was worth celebrating.

Next chapter :Recreating Bitcoin 3:Getting Rid of the Account Model


Recreating Bitcoin:A Fictional Story of Why Bitcoin was Designed This Way

Part one : Transactions
Recreating Bitcoin 1:Start over with a Simple Web Transaction System
Recreating Bitcoin 2:First Version is Online!
Recreating Bitcoin 3:Getting Rid of the Account Model
Recreating Bitcoin 4:Digital Signature
Recreating Bitcoin 5:Public Key and Private Key
Recreating Bitcoin 6:Version 0.0.2 is Online!
Recreating Bitcoin 7:UTXO
Recreating Bitcoin 8:System Refactoring Based on UTXO
Recreating Bitcoin 9:Everything is Transaction
Recreating Bitcoin 10:Transaction Script

Part Two : Swarm System
Recreating Bitcoin 11:Swarm System (Part I)
Recreating Bitcoin 12:Swarm System (Part II)
Recreating Bitcoin 13:P2P Network
Recreating Bitcoin 14:Synchronizing Transactions
Recreating Bitcoin 15:Synchronizing Ledger
Recreating Bitcoin 16:Block chain
Recreating Bitcoin 17:Network Flexibility
Recreating Bitcoin 18:Proof of Work (Part I)
Recreating Bitcoin 19:Proof of Work (Part II)
Recreating Bitcoin 20:The Reorganization and Division of

Complete book selling at Amazon( > US > UK > CA > JP > DE > FR > ES > IT) #


BSV Donate:

©2019 - all rights reserved


Now read this


作者:何岩,由 recreating.org发行。 0.前言 # 前篇说到了对称加密,并且我们发现没必要将交易的消息全部加密,因为交易数据不怕见光。只需要加密一小部分即可,究竟应该加密哪部分呢? 1.签名 # 既然我们的根本目的并不是防止别人看到交易数据的明文,而只是要用密文证明“我是我”。那么我的要求就是尽量加密更少的文字,即,加密付款者的名字。 这是为什么呢? 启发往往来自于现实生活的例子: 赵四想买台拖拉机,但是钱不够,向刘能借了1万块钱,刘能要求赵四写个借条。... Continue →