SlideShare a Scribd company logo
1 of 55
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
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.
BIP Life Cycle
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.
Bitcoin Wallet with BIP
Bitcoin Wallet with BIP
• BIP-32
• BIP-39
• BIP-44
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
BIP-0032
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
BIP-0039
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
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.
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.
Brain wallet
private key :
65be4aa2cbc47df49336225155481f20305cf49ee8
baf66edeb808bc4e7bc4c9 ,
Public key :
14TbUVUR7BbzBvjKoURTgLNcpq6EbScEdF
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
Wallet import format (WIF)
https://bitcoin.org/en/glossary/wallet-import-format
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.
Mnemonic
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
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.
Bitcoin WebSite
Kenneth’s bitcoin website
• Wallet
• Converter
• Wallet Info
• Transfer
• QRcode
• http://www.kennethhu.net/example/bitcoin/index.html
Framework & Package
Framework :
• NodeJS
• EJS -- Embedded JavaScript templates
Package :
• bitcore-mnemonic
• bitcore-explorers
• bitcore-lib
• express
• request
• body-parser
Website
Folder
EJS -- Embedded JavaScript
templates

EJS file
MVC (model, View and Controller)
M = model !Data JSON
V = view !Template ejs
C = controller !node.js
MVC (model, View and Controller)
MVC (model, View and Controller)
Project folder
App.js
Index.ejs
superheroes.ejs
about.ejs
Partials – head.ejs
Partials – header.ejs
EJS
How to create bitcoin wallet
3 ways to generate bitcoin wallet
• Brain wallet
• WIF wallet
• Mnemonic
Exchange Rate source
• CoinMarketCap
• https://pro.coinmarketcap.com/features
• API :
• CoinAPI.io
• CoinBase
• https://api.coinbase.com/v2/prices/spot?currency=USD
• Blockchain
• https://www.blockchain.com/stats
• API : https://api.blockchain.info/stats
Exchange Rate code
• https://api.blockchain.info/stats
Exchange Rate code
• https://api.blockchain.info/stats
Wallet Info
Wallet Info
• https://blockexplorer.com/api
Wallet Info
Wallet Info
Transfer
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
UXTO
UXTO (Unspent Transaction Outputs)
QR Code
Useful links
• https://www.bitaddress.org/
• https://iancoleman.io/bip39/
• https://iancoleman.io/bitcoin-key-compression/
• Check public key
• https://blockchain.info/
• https://live.blockcypher.com/
• https://blockexplorer.com/
• Faucet
• https://coinfaucet.eu/en/btc-testnet/
2019 03 18_kenneth_simplebitcoinwebsite

More Related Content

What's hot

Bitcoin Wallet &amp Keys
Bitcoin Wallet &amp KeysBitcoin Wallet &amp Keys
Bitcoin Wallet &amp KeysShun Shiku
 
The Bitcoin Lightning Network
The Bitcoin Lightning NetworkThe Bitcoin Lightning Network
The Bitcoin Lightning NetworkShun Shiku
 
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...Дмитрий Плахов
 
Technical Overview of Tezos
Technical Overview of TezosTechnical Overview of Tezos
Technical Overview of TezosTinaBregovi
 
Доклад разработчиков Exonum на третьем митапе сообщества блокчейн-разработчик...
Доклад разработчиков Exonum на третьем митапе сообщества блокчейн-разработчик...Доклад разработчиков Exonum на третьем митапе сообщества блокчейн-разработчик...
Доклад разработчиков Exonum на третьем митапе сообщества блокчейн-разработчик...Дмитрий Плахов
 
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?Digipolis Antwerpen
 
Microservices architecture
Microservices architectureMicroservices architecture
Microservices architectureTomasz Tomczyk
 
How to develop Decentralized App (ĐApp) on Ethereum
How to develop Decentralized App (ĐApp) on EthereumHow to develop Decentralized App (ĐApp) on Ethereum
How to develop Decentralized App (ĐApp) on EthereumDEV Cafe
 
Resource slides for blockchain related question
Resource slides for blockchain related questionResource slides for blockchain related question
Resource slides for blockchain related questionLin Lin (Wendy)
 
Token platform based on sidechain
Token platform based on sidechainToken platform based on sidechain
Token platform based on sidechainLuniverse Dunamu
 
Demystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabricDemystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabricBenjamin Fuentes
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyRashi Singh
 
On Private Blockchains, Technically
On Private Blockchains, TechnicallyOn Private Blockchains, Technically
On Private Blockchains, TechnicallyAlex Chepurnoy
 
Xplore Group - Flashtalk (Fabric8, Neo4j, GraphQL, OpenID Connect)
Xplore Group - Flashtalk (Fabric8, Neo4j, GraphQL, OpenID Connect)Xplore Group - Flashtalk (Fabric8, Neo4j, GraphQL, OpenID Connect)
Xplore Group - Flashtalk (Fabric8, Neo4j, GraphQL, OpenID Connect)Dries Elliott
 
Bitcoin and Ransomware Analysis
Bitcoin and Ransomware AnalysisBitcoin and Ransomware Analysis
Bitcoin and Ransomware Analysisinder_barara
 

What's hot (20)

Bitcoin Wallet &amp Keys
Bitcoin Wallet &amp KeysBitcoin Wallet &amp Keys
Bitcoin Wallet &amp Keys
 
The Bitcoin Lightning Network
The Bitcoin Lightning NetworkThe Bitcoin Lightning Network
The Bitcoin Lightning Network
 
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
 
Technical Overview of Tezos
Technical Overview of TezosTechnical Overview of Tezos
Technical Overview of Tezos
 
Доклад разработчиков Exonum на третьем митапе сообщества блокчейн-разработчик...
Доклад разработчиков Exonum на третьем митапе сообщества блокчейн-разработчик...Доклад разработчиков Exonum на третьем митапе сообщества блокчейн-разработчик...
Доклад разработчиков Exonum на третьем митапе сообщества блокчейн-разработчик...
 
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
 
Microservices architecture
Microservices architectureMicroservices architecture
Microservices architecture
 
How to develop Decentralized App (ĐApp) on Ethereum
How to develop Decentralized App (ĐApp) on EthereumHow to develop Decentralized App (ĐApp) on Ethereum
How to develop Decentralized App (ĐApp) on Ethereum
 
Cryptocurrencies
CryptocurrenciesCryptocurrencies
Cryptocurrencies
 
Resource slides for blockchain related question
Resource slides for blockchain related questionResource slides for blockchain related question
Resource slides for blockchain related question
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Blockchain
BlockchainBlockchain
Blockchain
 
Etherium Intro for techies
Etherium Intro for techiesEtherium Intro for techies
Etherium Intro for techies
 
Token platform based on sidechain
Token platform based on sidechainToken platform based on sidechain
Token platform based on sidechain
 
Demystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabricDemystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabric
 
BLOCKCHAIN TECHNOLOGY
BLOCKCHAIN TECHNOLOGYBLOCKCHAIN TECHNOLOGY
BLOCKCHAIN TECHNOLOGY
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
On Private Blockchains, Technically
On Private Blockchains, TechnicallyOn Private Blockchains, Technically
On Private Blockchains, Technically
 
Xplore Group - Flashtalk (Fabric8, Neo4j, GraphQL, OpenID Connect)
Xplore Group - Flashtalk (Fabric8, Neo4j, GraphQL, OpenID Connect)Xplore Group - Flashtalk (Fabric8, Neo4j, GraphQL, OpenID Connect)
Xplore Group - Flashtalk (Fabric8, Neo4j, GraphQL, OpenID Connect)
 
Bitcoin and Ransomware Analysis
Bitcoin and Ransomware AnalysisBitcoin and Ransomware Analysis
Bitcoin and Ransomware Analysis
 

Similar to 2019 03 18_kenneth_simplebitcoinwebsite

Bitcoin 101 - Certified Bitcoin Professional Training Session
Bitcoin 101 - Certified Bitcoin Professional Training SessionBitcoin 101 - Certified Bitcoin Professional Training Session
Bitcoin 101 - Certified Bitcoin Professional Training SessionLisa Cheng
 
Kenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsiteKenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsiteHu Kenneth
 
First steps with Bitcoin
First steps with BitcoinFirst steps with Bitcoin
First steps with BitcoinHorea Porutiu
 
Understanding hd wallets design and implementation
Understanding hd wallets  design and implementationUnderstanding hd wallets  design and implementation
Understanding hd wallets design and implementationArcBlock
 
Segregated witness and bitcoin scaling debate
Segregated witness and bitcoin scaling debateSegregated witness and bitcoin scaling debate
Segregated witness and bitcoin scaling debatedalcanto
 
Top tools for bitcoin developers
Top tools for bitcoin developersTop tools for bitcoin developers
Top tools for bitcoin developersMint2Save
 
Hitcon badge 2018
Hitcon badge 2018 Hitcon badge 2018
Hitcon badge 2018 Alan Lee
 
Unsung heroes Validator & Infra provider.pdf
Unsung heroes Validator & Infra provider.pdfUnsung heroes Validator & Infra provider.pdf
Unsung heroes Validator & Infra provider.pdfJiyun Kim
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBen Hall
 
Bitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publishBitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publishdonn_lee
 
Cryptocurrencies overview
Cryptocurrencies overviewCryptocurrencies overview
Cryptocurrencies overviewTrector Rancor
 
What is bitcoin?
What is bitcoin?What is bitcoin?
What is bitcoin?Suraj Bora
 
Bitcoin cash standards
Bitcoin cash standardsBitcoin cash standards
Bitcoin cash standardsnoyenmaih
 
Blockchain Fundamentals - Day 3 - PoW consensus and ICOs (new style)
Blockchain Fundamentals - Day 3 -  PoW consensus and ICOs (new style)Blockchain Fundamentals - Day 3 -  PoW consensus and ICOs (new style)
Blockchain Fundamentals - Day 3 - PoW consensus and ICOs (new style)Chhay Lin Lim
 
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBernhard Haslhofer
 
Blockchain in enterprise - Challenges, Considerations and Designs
Blockchain in enterprise - Challenges, Considerations and DesignsBlockchain in enterprise - Challenges, Considerations and Designs
Blockchain in enterprise - Challenges, Considerations and DesignsMichael Chi
 

Similar to 2019 03 18_kenneth_simplebitcoinwebsite (20)

Bitcoin
BitcoinBitcoin
Bitcoin
 
Bitcoin 101 - Certified Bitcoin Professional Training Session
Bitcoin 101 - Certified Bitcoin Professional Training SessionBitcoin 101 - Certified Bitcoin Professional Training Session
Bitcoin 101 - Certified Bitcoin Professional Training Session
 
Kenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsiteKenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsite
 
First steps with Bitcoin
First steps with BitcoinFirst steps with Bitcoin
First steps with Bitcoin
 
Bitcoin Forensics
Bitcoin ForensicsBitcoin Forensics
Bitcoin Forensics
 
Understanding hd wallets design and implementation
Understanding hd wallets  design and implementationUnderstanding hd wallets  design and implementation
Understanding hd wallets design and implementation
 
Segregated witness and bitcoin scaling debate
Segregated witness and bitcoin scaling debateSegregated witness and bitcoin scaling debate
Segregated witness and bitcoin scaling debate
 
Top tools for bitcoin developers
Top tools for bitcoin developersTop tools for bitcoin developers
Top tools for bitcoin developers
 
Hitcon badge 2018
Hitcon badge 2018 Hitcon badge 2018
Hitcon badge 2018
 
Unsung heroes Validator & Infra provider.pdf
Unsung heroes Validator & Infra provider.pdfUnsung heroes Validator & Infra provider.pdf
Unsung heroes Validator & Infra provider.pdf
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrency
 
Bit coin basics 101
Bit coin basics 101Bit coin basics 101
Bit coin basics 101
 
Bitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publishBitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publish
 
Cryptocurrencies overview
Cryptocurrencies overviewCryptocurrencies overview
Cryptocurrencies overview
 
BITCOIN EXPLAINED
BITCOIN EXPLAINEDBITCOIN EXPLAINED
BITCOIN EXPLAINED
 
What is bitcoin?
What is bitcoin?What is bitcoin?
What is bitcoin?
 
Bitcoin cash standards
Bitcoin cash standardsBitcoin cash standards
Bitcoin cash standards
 
Blockchain Fundamentals - Day 3 - PoW consensus and ICOs (new style)
Blockchain Fundamentals - Day 3 -  PoW consensus and ICOs (new style)Blockchain Fundamentals - Day 3 -  PoW consensus and ICOs (new style)
Blockchain Fundamentals - Day 3 - PoW consensus and ICOs (new style)
 
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
 
Blockchain in enterprise - Challenges, Considerations and Designs
Blockchain in enterprise - Challenges, Considerations and DesignsBlockchain in enterprise - Challenges, Considerations and Designs
Blockchain in enterprise - Challenges, Considerations and Designs
 

More from Hu Kenneth

20221110 MetaCoin
20221110 MetaCoin20221110 MetaCoin
20221110 MetaCoinHu Kenneth
 
NFT Drop review.pdf
NFT Drop review.pdfNFT Drop review.pdf
NFT Drop review.pdfHu Kenneth
 
AMA: all you need to know about Launching successful NFT collections
AMA: all you need to know about Launching successful NFT collectionsAMA: all you need to know about Launching successful NFT collections
AMA: all you need to know about Launching successful NFT collectionsHu Kenneth
 
Angular&node js upload file
Angular&node js upload fileAngular&node js upload file
Angular&node js upload fileHu Kenneth
 
20201006 meta_coin 六角學院
20201006 meta_coin 六角學院20201006 meta_coin 六角學院
20201006 meta_coin 六角學院Hu Kenneth
 
區塊鏈創新基地 - 區塊鏈
區塊鏈創新基地 - 區塊鏈區塊鏈創新基地 - 區塊鏈
區塊鏈創新基地 - 區塊鏈Hu Kenneth
 
2019 blockchain&dapps v2
2019 blockchain&dapps v22019 blockchain&dapps v2
2019 blockchain&dapps v2Hu Kenneth
 
Ethereum for developer 16th Nov 2018
Ethereum for developer 16th Nov 2018Ethereum for developer 16th Nov 2018
Ethereum for developer 16th Nov 2018Hu Kenneth
 
20180707 blockchain
20180707 blockchain 20180707 blockchain
20180707 blockchain Hu Kenneth
 
20180711 blockchain presentation in Blockchain&Dapps
20180711 blockchain presentation in Blockchain&Dapps20180711 blockchain presentation in Blockchain&Dapps
20180711 blockchain presentation in Blockchain&DappsHu Kenneth
 
Blockchain And dapps meetup introduction
Blockchain And dapps meetup introductionBlockchain And dapps meetup introduction
Blockchain And dapps meetup introductionHu Kenneth
 
Integration at the consumer end
Integration at the consumer endIntegration at the consumer end
Integration at the consumer endHu Kenneth
 
Ethereum dapps20180120
Ethereum dapps20180120Ethereum dapps20180120
Ethereum dapps20180120Hu Kenneth
 
2017/12/28 分享南進國家工作
2017/12/28 分享南進國家工作2017/12/28 分享南進國家工作
2017/12/28 分享南進國家工作Hu Kenneth
 
Ethereum dapps20171205
Ethereum dapps20171205Ethereum dapps20171205
Ethereum dapps20171205Hu Kenneth
 
Ethereum Dapps
Ethereum Dapps Ethereum Dapps
Ethereum Dapps Hu Kenneth
 
Ethereum blockchain dapps demo
Ethereum blockchain  dapps demoEthereum blockchain  dapps demo
Ethereum blockchain dapps demoHu Kenneth
 
M202 MongoDB Advanced Deployment and Operations
M202 MongoDB Advanced Deployment and OperationsM202 MongoDB Advanced Deployment and Operations
M202 MongoDB Advanced Deployment and OperationsHu Kenneth
 
M102 MongoDB for DBAs
M102 MongoDB for DBAsM102 MongoDB for DBAs
M102 MongoDB for DBAsHu Kenneth
 

More from Hu Kenneth (20)

20221110 MetaCoin
20221110 MetaCoin20221110 MetaCoin
20221110 MetaCoin
 
NFT Drop review.pdf
NFT Drop review.pdfNFT Drop review.pdf
NFT Drop review.pdf
 
AMA: all you need to know about Launching successful NFT collections
AMA: all you need to know about Launching successful NFT collectionsAMA: all you need to know about Launching successful NFT collections
AMA: all you need to know about Launching successful NFT collections
 
Angular&node js upload file
Angular&node js upload fileAngular&node js upload file
Angular&node js upload file
 
20201006 meta_coin 六角學院
20201006 meta_coin 六角學院20201006 meta_coin 六角學院
20201006 meta_coin 六角學院
 
區塊鏈創新基地 - 區塊鏈
區塊鏈創新基地 - 區塊鏈區塊鏈創新基地 - 區塊鏈
區塊鏈創新基地 - 區塊鏈
 
Stablecoin
StablecoinStablecoin
Stablecoin
 
2019 blockchain&dapps v2
2019 blockchain&dapps v22019 blockchain&dapps v2
2019 blockchain&dapps v2
 
Ethereum for developer 16th Nov 2018
Ethereum for developer 16th Nov 2018Ethereum for developer 16th Nov 2018
Ethereum for developer 16th Nov 2018
 
20180707 blockchain
20180707 blockchain 20180707 blockchain
20180707 blockchain
 
20180711 blockchain presentation in Blockchain&Dapps
20180711 blockchain presentation in Blockchain&Dapps20180711 blockchain presentation in Blockchain&Dapps
20180711 blockchain presentation in Blockchain&Dapps
 
Blockchain And dapps meetup introduction
Blockchain And dapps meetup introductionBlockchain And dapps meetup introduction
Blockchain And dapps meetup introduction
 
Integration at the consumer end
Integration at the consumer endIntegration at the consumer end
Integration at the consumer end
 
Ethereum dapps20180120
Ethereum dapps20180120Ethereum dapps20180120
Ethereum dapps20180120
 
2017/12/28 分享南進國家工作
2017/12/28 分享南進國家工作2017/12/28 分享南進國家工作
2017/12/28 分享南進國家工作
 
Ethereum dapps20171205
Ethereum dapps20171205Ethereum dapps20171205
Ethereum dapps20171205
 
Ethereum Dapps
Ethereum Dapps Ethereum Dapps
Ethereum Dapps
 
Ethereum blockchain dapps demo
Ethereum blockchain  dapps demoEthereum blockchain  dapps demo
Ethereum blockchain dapps demo
 
M202 MongoDB Advanced Deployment and Operations
M202 MongoDB Advanced Deployment and OperationsM202 MongoDB Advanced Deployment and Operations
M202 MongoDB Advanced Deployment and Operations
 
M102 MongoDB for DBAs
M102 MongoDB for DBAsM102 MongoDB for DBAs
M102 MongoDB for DBAs
 

Recently uploaded

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 

Recently uploaded (20)

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
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.
  • 7. Bitcoin Wallet with BIP • BIP-32 • BIP-39 • BIP-44
  • 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.
  • 15. Brain wallet private key : 65be4aa2cbc47df49336225155481f20305cf49ee8 baf66edeb808bc4e7bc4c9 , Public key : 14TbUVUR7BbzBvjKoURTgLNcpq6EbScEdF
  • 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
  • 17. Wallet import format (WIF) 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.
  • 23. Kenneth’s bitcoin website • Wallet • Converter • Wallet Info • Transfer • QRcode • http://www.kennethhu.net/example/bitcoin/index.html
  • 24. Framework & Package Framework : • NodeJS • EJS -- Embedded JavaScript templates Package : • bitcore-mnemonic • bitcore-explorers • bitcore-lib • express • request • body-parser
  • 27. EJS -- Embedded JavaScript templates

  • 29. MVC (model, View and Controller) M = model !Data JSON V = view !Template ejs C = controller !node.js
  • 30. MVC (model, View and Controller)
  • 31. MVC (model, View and Controller)
  • 39. EJS
  • 40. How to create bitcoin wallet
  • 41. 3 ways to generate bitcoin wallet • Brain wallet • WIF wallet • Mnemonic
  • 42.
  • 43. Exchange Rate source • CoinMarketCap • https://pro.coinmarketcap.com/features • API : • CoinAPI.io • CoinBase • https://api.coinbase.com/v2/prices/spot?currency=USD • Blockchain • https://www.blockchain.com/stats • API : https://api.blockchain.info/stats
  • 44. Exchange Rate code • https://api.blockchain.info/stats
  • 45. Exchange Rate code • https://api.blockchain.info/stats
  • 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
  • 54. Useful links • https://www.bitaddress.org/ • https://iancoleman.io/bip39/ • https://iancoleman.io/bitcoin-key-compression/ • Check public key • https://blockchain.info/ • https://live.blockcypher.com/ • https://blockexplorer.com/ • Faucet • https://coinfaucet.eu/en/btc-testnet/