This document discusses Bitcoin Improvement Proposals (BIPs) and various Bitcoin wallet concepts. It describes three types of BIPs - standards track, informational, and process BIPs. It also discusses several important BIPs related to Bitcoin wallets, including BIP-32 which describes hierarchical deterministic wallets, BIP-39 which specifies mnemonic code for generating deterministic wallets, and BIP-44 which defines a logical hierarchy for deterministic wallets. Additionally, it covers other wallet-related topics like brain wallets, wallet import format, private/public keys, and signing/verifying messages.
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
2019 03 18_kenneth_simplebitcoinwebsite
1.
2. Kenneth Hu
• CTO at Baypay Inc.
• I am enthusiast, not expert.
• Ethereum, Bitcoin, AR, ChatBot
• Email: Kenneth.hu@Hotmail.com
• Blockchain&Dapps meetup
• Singapore IOTA meetup
3. BIP : Bitcoin Improvement Proposals
• A Bitcoin Improvement Proposal (BIP) is a design
document for introducing features or information to
Bitcoin. The BIP should provide a concise technical
specification of the feature and a rationale for the
feature. This is the standard way of communicating
ideas since Bitcoin has no formal structure.
5. Types of BIPs
• 1. Standards Track BIPs – Such types of BIPs entail
making changes to the network protocol, block, or
transaction validation method. An example of this is BIP
91.
• 2. Informational BIPs – Such types of BIPs highlight the
design issues, general guidelines, and supporting
information. An example of this is BIP 32.
• 3. Process BIPs – These types of BIPs describe or propose
a change in the process. An example of this is BIP 2.
8. BIP-0032
• This document describes hierarchical determinstic
wallets (or "HD Wallets"): wallets which can be shared
partially or entirely with different systems, each with
or without the ability to spend coins.
• https://github.com/bitcoin/bips/blob/master/
bip-0032.mediawiki
10. BIP-0039
• This BIP describes the implementation of a
mnemonic code or mnemonic sentence -- a group of
easy to remember words -- for the generation of
deterministic wallets.
• https://github.com/bitcoin/bips/blob/master/
bip-0039.mediawiki
12. BIP-0044
• This BIP defines a logical hierarchy for deterministic
wallets based on an algorithm described in BIP-0032
(BIP32 from now on) and purpose scheme described
in BIP-0043 (BIP43 from now on).
• https://github.com/bitcoin/bips/blob/master/
bip-0044.mediawiki
13. BIP-0044
• Define the following 5 levels in BIP32 path:
• Purporse : BIP44
• Coin_type: 0 (Bitcoin)、60 (Ethereum)
• Account: are numbered from index 0 in sequentially
increasing manner. This number is used as child index in
BIP32 derivation.
14. Brain wallet
A brain wallet is a standard wallet that
generates its address by hashing a
passphrase to create a private key and
therefore a public key and resultant
address.
16. Wallet import format (WIF)
Wallet Import Format (WIF, also known as Wallet
Export Format) is a way of encoding a private
ECDSA key so as to make it easier to copy.
https://bitcoin.org/en/glossary/wallet-import-format
18. Mnemonic
A mnemonic phrase, mnemonic recovery phrase or mnemonic seed is a
list of words which store all the information needed to recover a
Bitcoin wallet. Wallet software will typically generate a mnemonic
backup phrase and instruct the user to write it down on paper. If the
user's computer breaks or their hard drive becomes corrupted, they can
download the same wallet software again and use the paper backup to
get their bitcoins back.
Anybody else who discovers the phrase can steal the bitcoins, so it
must be kept safe like jewels or cash. For example, it must not be
typed into any website.
Mnemonic phrases are an excellent way of backing up and storing
bitcoins and so they are used by almost all well-regarded wallets.
20. Private 、Public and address
Private
Key
Public
Key
Wallet
address
Public
ledger
Bitcoin
Transaction
Every Bitcoin wallet is created based
on a cryptography algorithm, which
create asymmetric key paris: Private
and Public
Every time there is an exchange of Bitcoin
between two parities, the transaction has be
signed by the private keys
21. Sign-verify messages
You can verify Bitcoin signed message signature. You just have to provide
the Bitcoin address, generated signature and the message that has to be
verified.
51. UXTO
UXTO (Unspent Transaction Outputs), An Unspent
Transaction Output (UTXO) that can be spent as an input in a
new transaction.
https://bitcoin.org/en/glossary/unspent-transaction-output