Skip to Content
Mastering Bitcoin
book

Mastering Bitcoin

by Andreas M. Antonopoulos
December 2014
Beginner
298 pages
8h 5m
English
O'Reilly Media, Inc.
Content preview from Mastering Bitcoin

Chapter 4. Keys, Addresses, Wallets

Introduction

Ownership of bitcoin is established through digital keys, bitcoin addresses, and digital signatures. The digital keys are not actually stored in the network, but are instead created and stored by users in a file, or simple database, called a wallet. The digital keys in a user’s wallet are completely independent of the bitcoin protocol and can be generated and managed by the user’s wallet software without reference to the blockchain or access to the Internet. Keys enable many of the interesting properties of bitcoin, including de-centralized trust and control, ownership attestation, and the cryptographic-proof security model.

Every bitcoin transaction requires a valid signature to be included in the blockchain, which can only be generated with valid digital keys; therefore, anyone with a copy of those keys has control of the bitcoin in that account. Keys come in pairs consisting of a private (secret) key and a public key. Think of the public key as similar to a bank account number and the private key as similar to the secret PIN, or signature on a check that provides control over the account. These digital keys are very rarely seen by the users of bitcoin. For the most part, they are stored inside the wallet file and managed by the bitcoin wallet software.

In the payment portion of a bitcoin transaction, the recipient’s public key is represented by its digital fingerprint, called a bitcoin address, which is used in the same way as the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Bitcoin, 2nd Edition

Mastering Bitcoin, 2nd Edition

Andreas M. Antonopoulos
Grokking Bitcoin

Grokking Bitcoin

Kalle Rosenbaum
Mastering Blockchain

Mastering Blockchain

Lorne Lantz, Daniel Cawrey
The Bitcoin Standard

The Bitcoin Standard

Saifedean Ammous

Publisher Resources

ISBN: 9781491902639Errata PageSupplemental Content