SlideShare a Scribd company logo
1 of 27
@horeaporutiu IBM Code
Horea Porutiu
Developer Advocate
First Steps with Bitcoin
Slides
@horeaporutiu
1. Go to my twitter - @horeaporutiu
2. Link to my slide share is the first pinned tweet
IBM Code
Agenda
@horeaporutiu
1. Bitcoin concepts
2. Blockchain concepts
IBM Code
Bitcoin
@horeaporutiu IBM Code
What is Bitcoin?
@horeaporutiu IBM Code
What is Bitcoin?
• Bitcoin - a collection of concepts and
technologies that form the basis of a digital money
ecosystem.[1]
• A digital ledger that is replicated across all
network participants
@horeaporutiu
• Open source project - source code on GitHub
IBM Code
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch01.html
What is Bitcoin?
• Bitcoin protocol
(decentralized network)
@horeaporutiu
• Public ledger - the
blockchain
IBM Code
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch01.html
• Rules for issuing
currency, and transaction
validation
• Consensus rules (Proof
of work)
Problems with digital currency
• Can I trust the money is not counterfeit?
@horeaporutiu
• Can I trust the money will only be spent once?
(Double-spending problem)
IBM Code
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch01.html
Solution - physical money
@horeaporutiu IBM Code
• Physical money uses holographic strips to ensure
authenticity
• As you can
see there are
still problems
with physical
money
Solution - digital money
@horeaporutiu IBM Code
• Digital money uses
cryptography to
ensure authenticity
• Cryptographic
digital signatures
(with a supporting
network) solve
double-spending
problem
• Cryptographic - means `secret writing` in Greek
Bitcoin uses
@horeaporutiu IBM Code
• Transactions
• Cross-
border
payment
• Mining
bitcoin (earn
money)
Cryptography & Bitcoin
@horeaporutiu IBM Code
• Cryptography can be used to used to prove
knowledge of a secret without knowing the
secret
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses
Bitcoin transactions
@horeaporutiu IBM Code
• Double-entry bookkeeping
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch02.html
Bitcoin transactions
@horeaporutiu IBM Code
• Each time a user transactions on the bitcoin
network, they sign their transaction with their
digital signature
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch02.html
• Digital signature = public key + (derivative of
private key)
✍🏻
Cryptography & Bitcoin Cont.
@horeaporutiu IBM Code
• Three concepts help us prove knowledge of a
secret without knowing the secret
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses
• Digital keys 🔑
• Bitcoin Address 🏡
• Digital signatures ✍🏻
Bitcoin payments
@horeaporutiu IBM Code
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses
• Bitcoin Address 🏡
• To send bitcoin over the network, you will need to
have a address to sent it do
Elliptic Curve Multiplication
@horeaporutiu IBM Code
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses
Elliptic curve point multiplication is the operation of s
https://en.wikipedia.org/wiki/Elliptic_curve_point_multiplication
Elliptic Curve Multiplication
@horeaporutiu IBM Code
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses
• Easy to do in one direction ➡️
• Impossible to do in other direction ⬅️
• Owner of private key
Key Takeaway
@horeaporutiu IBM Code
• Owner of private key can easily create a public
key and share it with the world 🌍
• Why?
• Because nobody can calculate the private key
from the public key
• Why?
• This is the property of elliptical curve
multiplication
⬇️
⬇️
Generate public key
@horeaporutiu IBM Code
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses
K = k * G
• K = public key
• k = private key, which is a random
number from 0 to n -1 where n = 1.15 *
10^77
• G = generator point
Why does this matter?
@horeaporutiu IBM Code
• Ensures payments on the bitcoin network are
public, but nobody can find the password (private
key) for each transaction
Why does this matter?
@horeaporutiu IBM Code
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses
• Miners in the Bitcoin network can easily approve
that transactions are valid, without knowing the
private keys of the participants
• Anyone on the
network can validate
transactions, without
the need for a bank, or
central authority
Bitcoin summary
@horeaporutiu IBM Code
https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses
• Transactions on network are signed using public,
and private keys
• Nodes (computers) on the network, solve proof-
of-work calculation to approve transactions
• Bitcoin is digital payment ecosystem
• Bitcoin is decentralized - no need for a bank, or
central authority to approve transactions
💵
Types of blockchain
Public Private
@horeaporutiu
• Open to anyone
• Large computational
requirement
• Participants
incentivized with
cryptocurrency
• Bitcoin
• Need permission to
join the network
• Walmart solution
• Less computational
power required
• Cryptocurrency is
typically not involved
• Transactions can be
kept private
IBM Code
Private (permissioned) blockchain
@horeaporutiu IBM Code
• BaaS (Blockchain as a service) based
on Hyperledger Fabric
• Open source software project with over
185 organizations contributing
• IBM Blockchain Starter Plan is free for
one month - used for developing and
testing networks
Contact info
@horeaporutiu IBM Code
• Questions: horea.porutiu@ibm.com
• Social: Tweets @horeaporutiu
• Site: https://horeaporutiu.github.io/
• Blog: https://medium.com/@horeaporutiu
Thank you!
@horeaporutiu IBM Code

More Related Content

Similar to First steps with 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 SessionLisa Cheng
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and BitcoinHugo Rodrigues
 
What is bitcoin?
What is bitcoin?What is bitcoin?
What is bitcoin?Suraj Bora
 
2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite 2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite Hu Kenneth
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBen Hall
 
Week 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
Week 4 - DApps, Smart Contracts, and Decentralized Incentive SystemsWeek 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
Week 4 - DApps, Smart Contracts, and Decentralized Incentive SystemsRoger Royse
 
Kenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsiteKenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsiteHu Kenneth
 
Top Bitcoin Wallets Of 2020 To Secure Your Digital Coins
Top Bitcoin Wallets Of 2020 To Secure Your Digital CoinsTop Bitcoin Wallets Of 2020 To Secure Your Digital Coins
Top Bitcoin Wallets Of 2020 To Secure Your Digital Coinsdanialchristian
 
An Introduction to Bitcoin-The Digital Form of currency
An Introduction to Bitcoin-The Digital Form of currencyAn Introduction to Bitcoin-The Digital Form of currency
An Introduction to Bitcoin-The Digital Form of currencyBirju Besra
 
#blockchain_hashin_bitcoin_cryptocurranies
#blockchain_hashin_bitcoin_cryptocurranies#blockchain_hashin_bitcoin_cryptocurranies
#blockchain_hashin_bitcoin_cryptocurraniesMoaaz Mohamed
 
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopFlaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopAndrew Morris
 

Similar to First steps with Bitcoin (20)

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
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
 
What is bitcoin?
What is bitcoin?What is bitcoin?
What is bitcoin?
 
2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite 2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrency
 
Week 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
Week 4 - DApps, Smart Contracts, and Decentralized Incentive SystemsWeek 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
Week 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
 
Kenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsiteKenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsite
 
Top Bitcoin Wallets Of 2020 To Secure Your Digital Coins
Top Bitcoin Wallets Of 2020 To Secure Your Digital CoinsTop Bitcoin Wallets Of 2020 To Secure Your Digital Coins
Top Bitcoin Wallets Of 2020 To Secure Your Digital Coins
 
An Introduction to Bitcoin-The Digital Form of currency
An Introduction to Bitcoin-The Digital Form of currencyAn Introduction to Bitcoin-The Digital Form of currency
An Introduction to Bitcoin-The Digital Form of currency
 
#blockchain_hashin_bitcoin_cryptocurranies
#blockchain_hashin_bitcoin_cryptocurranies#blockchain_hashin_bitcoin_cryptocurranies
#blockchain_hashin_bitcoin_cryptocurranies
 
Digital currency
Digital currencyDigital currency
Digital currency
 
Introduction to Blockchain and Cryptocurrencies
Introduction to Blockchain and CryptocurrenciesIntroduction to Blockchain and Cryptocurrencies
Introduction to Blockchain and Cryptocurrencies
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Blockchain External.pdf
Blockchain External.pdfBlockchain External.pdf
Blockchain External.pdf
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopFlaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
 
Blockchain.pptx
Blockchain.pptxBlockchain.pptx
Blockchain.pptx
 
All about Bitcoins!
All about Bitcoins!All about Bitcoins!
All about Bitcoins!
 
Bitcoin
BitcoinBitcoin
Bitcoin
 

Recently uploaded

MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 

Recently uploaded (20)

MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 

First steps with Bitcoin

  • 1. @horeaporutiu IBM Code Horea Porutiu Developer Advocate First Steps with Bitcoin
  • 2. Slides @horeaporutiu 1. Go to my twitter - @horeaporutiu 2. Link to my slide share is the first pinned tweet IBM Code
  • 3. Agenda @horeaporutiu 1. Bitcoin concepts 2. Blockchain concepts IBM Code
  • 6. What is Bitcoin? • Bitcoin - a collection of concepts and technologies that form the basis of a digital money ecosystem.[1] • A digital ledger that is replicated across all network participants @horeaporutiu • Open source project - source code on GitHub IBM Code https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch01.html
  • 7. What is Bitcoin? • Bitcoin protocol (decentralized network) @horeaporutiu • Public ledger - the blockchain IBM Code https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch01.html • Rules for issuing currency, and transaction validation • Consensus rules (Proof of work)
  • 8. Problems with digital currency • Can I trust the money is not counterfeit? @horeaporutiu • Can I trust the money will only be spent once? (Double-spending problem) IBM Code https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch01.html
  • 9. Solution - physical money @horeaporutiu IBM Code • Physical money uses holographic strips to ensure authenticity • As you can see there are still problems with physical money
  • 10. Solution - digital money @horeaporutiu IBM Code • Digital money uses cryptography to ensure authenticity • Cryptographic digital signatures (with a supporting network) solve double-spending problem • Cryptographic - means `secret writing` in Greek
  • 11. Bitcoin uses @horeaporutiu IBM Code • Transactions • Cross- border payment • Mining bitcoin (earn money)
  • 12. Cryptography & Bitcoin @horeaporutiu IBM Code • Cryptography can be used to used to prove knowledge of a secret without knowing the secret https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses
  • 13. Bitcoin transactions @horeaporutiu IBM Code • Double-entry bookkeeping https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch02.html
  • 14. Bitcoin transactions @horeaporutiu IBM Code • Each time a user transactions on the bitcoin network, they sign their transaction with their digital signature https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch02.html • Digital signature = public key + (derivative of private key) ✍🏻
  • 15. Cryptography & Bitcoin Cont. @horeaporutiu IBM Code • Three concepts help us prove knowledge of a secret without knowing the secret https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses • Digital keys 🔑 • Bitcoin Address 🏡 • Digital signatures ✍🏻
  • 16. Bitcoin payments @horeaporutiu IBM Code https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses • Bitcoin Address 🏡 • To send bitcoin over the network, you will need to have a address to sent it do
  • 17. Elliptic Curve Multiplication @horeaporutiu IBM Code https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses Elliptic curve point multiplication is the operation of s https://en.wikipedia.org/wiki/Elliptic_curve_point_multiplication
  • 18. Elliptic Curve Multiplication @horeaporutiu IBM Code https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses • Easy to do in one direction ➡️ • Impossible to do in other direction ⬅️ • Owner of private key
  • 19. Key Takeaway @horeaporutiu IBM Code • Owner of private key can easily create a public key and share it with the world 🌍 • Why? • Because nobody can calculate the private key from the public key • Why? • This is the property of elliptical curve multiplication ⬇️ ⬇️
  • 20. Generate public key @horeaporutiu IBM Code https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses K = k * G • K = public key • k = private key, which is a random number from 0 to n -1 where n = 1.15 * 10^77 • G = generator point
  • 21. Why does this matter? @horeaporutiu IBM Code • Ensures payments on the bitcoin network are public, but nobody can find the password (private key) for each transaction
  • 22. Why does this matter? @horeaporutiu IBM Code https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses • Miners in the Bitcoin network can easily approve that transactions are valid, without knowing the private keys of the participants • Anyone on the network can validate transactions, without the need for a bank, or central authority
  • 23. Bitcoin summary @horeaporutiu IBM Code https://www.safaribooksonline.com/library/view/mastering-bitcoin-2nd/9781491954379/ch04.html#ch04_keys_addresses • Transactions on network are signed using public, and private keys • Nodes (computers) on the network, solve proof- of-work calculation to approve transactions • Bitcoin is digital payment ecosystem • Bitcoin is decentralized - no need for a bank, or central authority to approve transactions 💵
  • 24. Types of blockchain Public Private @horeaporutiu • Open to anyone • Large computational requirement • Participants incentivized with cryptocurrency • Bitcoin • Need permission to join the network • Walmart solution • Less computational power required • Cryptocurrency is typically not involved • Transactions can be kept private IBM Code
  • 25. Private (permissioned) blockchain @horeaporutiu IBM Code • BaaS (Blockchain as a service) based on Hyperledger Fabric • Open source software project with over 185 organizations contributing • IBM Blockchain Starter Plan is free for one month - used for developing and testing networks
  • 26. Contact info @horeaporutiu IBM Code • Questions: horea.porutiu@ibm.com • Social: Tweets @horeaporutiu • Site: https://horeaporutiu.github.io/ • Blog: https://medium.com/@horeaporutiu

Editor's Notes

  1. Hey everyone, my name is Horea Porutiu and I am a Developer advocate for Emerging Technologies at IBM. My team focuses on Artificial Intelligence, blockchain, Internet of Things, and Augmented/Virtual reality. Our mission is to help software developers use the IBM Cloud platform. We write blog posts about how to use Watson, the blockchain platform, etc, do video tutorials, and speak at meet ups and conferences. I have a computer science and a management science major from UCSD. I graduated last March, so I am still less than a year out of school. I have been with IBM for about 10 months now.
  2. before we get started, by a show of hands, how many of you know about blockchain? How many have taken a course or been to class on blockchain? How many have developed applications using blockchain technoloies? Well no matter your skill level, and familiarity with blockchain, I think you will be able to learn something useful from this session. Today, I want to take you through a journey with blockchain. I’ll go over the main concepts of blockchain, and more importantly, when blockchain is a suitable solution for your problem. I’ll talk about Hyperledger, a popular open source technology for building blockchain applications and then I’ll go into a demo of how to start building blockchain apps with Hyperledger, and then go into Q/A.
  3. before we get started, by a show of hands, how many of you know about blockchain? How many have taken a course or been to class on blockchain? How many have developed applications using blockchain technoloies? Well no matter your skill level, and familiarity with blockchain, I think you will be able to learn something useful from this session. Today, I want to take you through a journey with blockchain. I’ll go over the main concepts of blockchain, and more importantly, when blockchain is a suitable solution for your problem. I’ll talk about Hyperledger, a popular open source technology for building blockchain applications and then I’ll go into a demo of how to start building blockchain apps with Hyperledger, and then go into Q/A.
  4. The most popular and typical solution of blockchain is Bitcoin. With a show of hands, has anyone here owned parts of a bitcoin? If you have, you’ll be able to relate to this
  5. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  6. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  7. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  8. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  9. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  10. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  11. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  12. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  13. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  14. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  15. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  16. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  17. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  18. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  19. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  20. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  21. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  22. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  23. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  24. Explain private vs public, and what each means What is a public blockchian, is private hyperledger a blockchain implementation?
  25. Explain private vs public, and what each means What is a public blockchian, is private hyperledger a blockchain implementation?
  26. Explain private vs public, and what each means What is a public blockchian, is private hyperledger a blockchain implementation?