SlideShare ist ein Scribd-Unternehmen logo
1 von 72
Using Hierarchical Deterministic Wallets to build a Non-
Custodial Payment Processor
Amy Yin
June 28, 2018
QCon NY Blockchain Track
InfoQ.com: News & Community Site
• 750,000 unique visitors/month
• Published in 4 languages (English, Chinese, Japanese and Brazilian
Portuguese)
• Post content from our QCon conferences
• News 15-20 / week
• Articles 3-4 / week
• Presentations (videos) 12-15 / week
• Interviews 2-3 / week
• Books 1 / month
Watch the video with slide
synchronization on InfoQ.com!
https://www.infoq.com/presentations/
coinbase-process-processor
Presented at QCon New York
www.qconnewyork.com
Purpose of QCon
- to empower software development by facilitating the spread of
knowledge and innovation
Strategy
- practitioner-driven conference designed for YOU: influencers of
change and innovation in your teams
- speakers and topics driving the evolution and innovation
- connecting and catalyzing the influencers and innovators
Highlights
- attended by more than 12,000 delegates since 2007
- held in 9 cities worldwide
@yin_amy
Our mission is to create an
open financial system
for the world
3
Are we bringing people closer to
openness?
8
Utility (100M+ people)
Open Financial System (1B+ people)
Investment (10M+ people)
Our secret master plan
Protocol (1M+ people)
Professional Exchange
“NYSE for digital currency”
Retail Brokerage
“Fidelity for digital currency”
Investment and Trading
11
Institutional Custodian
“State Street for crypto”
Index & Fund
“S&P500 for Crypto”
Ɖapp Browser & Wallet
“Explore web 3.0”
User-controlled
12
Payment Processor
“Paypal for crypto”
ERC20 Relayer
“Peer-to-peer trading”
13
Crypto for Merchants
If you can generate a random number…
you start accepting payments
Globally Inclusive
Be your own bank
No trusted third-parties
Keys
Private Keys
K = k * G
Elliptic Curve Cryptography
K = k * G
Elliptic Curve Cryptography
25
What is a Wallet?
JBOK Wallet
- Non-deterministic Wallet Address Generation
- “Just a bunch of keys” wallet
The Trilemma
Privacy
The Trilemma
Balances are transparent on blockchain
Usability
The Trilemma
Balances are transparent on blockchain
Hard to manage many private keys
Control
The Trilemma
Balances are transparent on blockchain Third party custodianHard to manage many private keys
The Trilemma
Hierarchical Deterministic Wallets
Extended Public Keys
M/44'/ 0'/ 0'/ 0/ 2
xpub6CAxG74VP
xprv9yBbrbXbYm
SOLVING the Trilemma
● Generate and Manage
Public Keys (usability)
● One-time use addresses to
preserve privacy
● Merchants should
maintain control over the
private keys
68
Finance 1.0 vs Finance 2.0
Settlement Time
Push/Pull
Borders
State Machine
Account Status
69
70
Thank you!
amy.yin@coinbase.com
@yin_amy
Simple Investing Eng Manager
References
Antonopoulos, Andreas M.. Mastering Bitcoin: Programming the Open
Blockchain (p. 93). O'Reilly Media. Kindle Edition.
https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki
https://github.com/bitcoin/bips/blob/master/bip-0043.mediawiki
https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki
https://github.com/satoshilabs/slips/blob/master/slip-0044.md
Coinbase Commerce is focused on making cryptocurrency
the best way to pay. We want to make accepting and using
cryptocurrency 100x better than accepting and using credit
cards.
● Usability - Dramatically lower the barrier to getting
started. 5 mins to get started vs. 5 days.
● Privacy - We generate one-time use addresses for each
customer.
● Control - Merchants maintain full control over their funds.
We use public keys to generate addresses on the
merchant’s behalf.
Coinbase Commerce
Coinbase Commerce
We recently launched (Feb 14th) and focused on these three areas:
● Low barrier to entry - We’ve drastically simplified the
onboarding requirements such that anyone that has an email
address can start accepting digital currency.
● Coin agnostic - We don’t know which digital currency will “win”
and so being able to respond to market demand is critical.
● Decoupled infra - We’ve decoupled payment processing from
currency exchange to greatly reduce our attack surface and
maintain a focus on improving the payment experience
Watch the video with slide
synchronization on InfoQ.com!
https://www.infoq.com/presentations/
coinbase-process-processor

Weitere ähnliche Inhalte

Mehr von C4Media

Mehr von C4Media (20)

Shifting Left with Cloud Native CI/CD
Shifting Left with Cloud Native CI/CDShifting Left with Cloud Native CI/CD
Shifting Left with Cloud Native CI/CD
 
CI/CD for Machine Learning
CI/CD for Machine LearningCI/CD for Machine Learning
CI/CD for Machine Learning
 
Fault Tolerance at Speed
Fault Tolerance at SpeedFault Tolerance at Speed
Fault Tolerance at Speed
 
Architectures That Scale Deep - Regaining Control in Deep Systems
Architectures That Scale Deep - Regaining Control in Deep SystemsArchitectures That Scale Deep - Regaining Control in Deep Systems
Architectures That Scale Deep - Regaining Control in Deep Systems
 
ML in the Browser: Interactive Experiences with Tensorflow.js
ML in the Browser: Interactive Experiences with Tensorflow.jsML in the Browser: Interactive Experiences with Tensorflow.js
ML in the Browser: Interactive Experiences with Tensorflow.js
 
Build Your Own WebAssembly Compiler
Build Your Own WebAssembly CompilerBuild Your Own WebAssembly Compiler
Build Your Own WebAssembly Compiler
 
User & Device Identity for Microservices @ Netflix Scale
User & Device Identity for Microservices @ Netflix ScaleUser & Device Identity for Microservices @ Netflix Scale
User & Device Identity for Microservices @ Netflix Scale
 
Scaling Patterns for Netflix's Edge
Scaling Patterns for Netflix's EdgeScaling Patterns for Netflix's Edge
Scaling Patterns for Netflix's Edge
 
Make Your Electron App Feel at Home Everywhere
Make Your Electron App Feel at Home EverywhereMake Your Electron App Feel at Home Everywhere
Make Your Electron App Feel at Home Everywhere
 
The Talk You've Been Await-ing For
The Talk You've Been Await-ing ForThe Talk You've Been Await-ing For
The Talk You've Been Await-ing For
 
Future of Data Engineering
Future of Data EngineeringFuture of Data Engineering
Future of Data Engineering
 
Automated Testing for Terraform, Docker, Packer, Kubernetes, and More
Automated Testing for Terraform, Docker, Packer, Kubernetes, and MoreAutomated Testing for Terraform, Docker, Packer, Kubernetes, and More
Automated Testing for Terraform, Docker, Packer, Kubernetes, and More
 
Navigating Complexity: High-performance Delivery and Discovery Teams
Navigating Complexity: High-performance Delivery and Discovery TeamsNavigating Complexity: High-performance Delivery and Discovery Teams
Navigating Complexity: High-performance Delivery and Discovery Teams
 
High Performance Cooperative Distributed Systems in Adtech
High Performance Cooperative Distributed Systems in AdtechHigh Performance Cooperative Distributed Systems in Adtech
High Performance Cooperative Distributed Systems in Adtech
 
Rust's Journey to Async/await
Rust's Journey to Async/awaitRust's Journey to Async/await
Rust's Journey to Async/await
 
Opportunities and Pitfalls of Event-Driven Utopia
Opportunities and Pitfalls of Event-Driven UtopiaOpportunities and Pitfalls of Event-Driven Utopia
Opportunities and Pitfalls of Event-Driven Utopia
 
Datadog: a Real-Time Metrics Database for One Quadrillion Points/Day
Datadog: a Real-Time Metrics Database for One Quadrillion Points/DayDatadog: a Real-Time Metrics Database for One Quadrillion Points/Day
Datadog: a Real-Time Metrics Database for One Quadrillion Points/Day
 
Are We Really Cloud-Native?
Are We Really Cloud-Native?Are We Really Cloud-Native?
Are We Really Cloud-Native?
 
CockroachDB: Architecture of a Geo-Distributed SQL Database
CockroachDB: Architecture of a Geo-Distributed SQL DatabaseCockroachDB: Architecture of a Geo-Distributed SQL Database
CockroachDB: Architecture of a Geo-Distributed SQL Database
 
A Dive into Streams @LinkedIn with Brooklin
A Dive into Streams @LinkedIn with BrooklinA Dive into Streams @LinkedIn with Brooklin
A Dive into Streams @LinkedIn with Brooklin
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Coinbase Commerce: A User-Controlled Payment Processor

  • 1. Using Hierarchical Deterministic Wallets to build a Non- Custodial Payment Processor Amy Yin June 28, 2018 QCon NY Blockchain Track
  • 2. InfoQ.com: News & Community Site • 750,000 unique visitors/month • Published in 4 languages (English, Chinese, Japanese and Brazilian Portuguese) • Post content from our QCon conferences • News 15-20 / week • Articles 3-4 / week • Presentations (videos) 12-15 / week • Interviews 2-3 / week • Books 1 / month Watch the video with slide synchronization on InfoQ.com! https://www.infoq.com/presentations/ coinbase-process-processor
  • 3. Presented at QCon New York www.qconnewyork.com Purpose of QCon - to empower software development by facilitating the spread of knowledge and innovation Strategy - practitioner-driven conference designed for YOU: influencers of change and innovation in your teams - speakers and topics driving the evolution and innovation - connecting and catalyzing the influencers and innovators Highlights - attended by more than 12,000 delegates since 2007 - held in 9 cities worldwide
  • 5. Our mission is to create an open financial system for the world 3
  • 6.
  • 7. Are we bringing people closer to openness?
  • 8. 8 Utility (100M+ people) Open Financial System (1B+ people) Investment (10M+ people) Our secret master plan Protocol (1M+ people)
  • 9. Professional Exchange “NYSE for digital currency” Retail Brokerage “Fidelity for digital currency” Investment and Trading 11 Institutional Custodian “State Street for crypto” Index & Fund “S&P500 for Crypto”
  • 10. Ɖapp Browser & Wallet “Explore web 3.0” User-controlled 12 Payment Processor “Paypal for crypto” ERC20 Relayer “Peer-to-peer trading”
  • 11. 13
  • 13. If you can generate a random number… you start accepting payments Globally Inclusive
  • 14. Be your own bank
  • 16. Keys
  • 18. K = k * G Elliptic Curve Cryptography
  • 19.
  • 20.
  • 21.
  • 22. K = k * G Elliptic Curve Cryptography
  • 23. 25
  • 24. What is a Wallet?
  • 25.
  • 26.
  • 27. JBOK Wallet - Non-deterministic Wallet Address Generation - “Just a bunch of keys” wallet
  • 30. The Trilemma Balances are transparent on blockchain
  • 32. The Trilemma Balances are transparent on blockchain Hard to manage many private keys
  • 34. The Trilemma Balances are transparent on blockchain Third party custodianHard to manage many private keys
  • 36.
  • 39.
  • 40.
  • 41. M/44'/ 0'/ 0'/ 0/ 2 xpub6CAxG74VP xprv9yBbrbXbYm
  • 42.
  • 43. SOLVING the Trilemma ● Generate and Manage Public Keys (usability) ● One-time use addresses to preserve privacy ● Merchants should maintain control over the private keys
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64. 68 Finance 1.0 vs Finance 2.0 Settlement Time Push/Pull Borders State Machine Account Status
  • 65. 69
  • 66. 70
  • 69. References Antonopoulos, Andreas M.. Mastering Bitcoin: Programming the Open Blockchain (p. 93). O'Reilly Media. Kindle Edition. https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki https://github.com/bitcoin/bips/blob/master/bip-0043.mediawiki https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki https://github.com/satoshilabs/slips/blob/master/slip-0044.md
  • 70. Coinbase Commerce is focused on making cryptocurrency the best way to pay. We want to make accepting and using cryptocurrency 100x better than accepting and using credit cards. ● Usability - Dramatically lower the barrier to getting started. 5 mins to get started vs. 5 days. ● Privacy - We generate one-time use addresses for each customer. ● Control - Merchants maintain full control over their funds. We use public keys to generate addresses on the merchant’s behalf. Coinbase Commerce
  • 71. Coinbase Commerce We recently launched (Feb 14th) and focused on these three areas: ● Low barrier to entry - We’ve drastically simplified the onboarding requirements such that anyone that has an email address can start accepting digital currency. ● Coin agnostic - We don’t know which digital currency will “win” and so being able to respond to market demand is critical. ● Decoupled infra - We’ve decoupled payment processing from currency exchange to greatly reduce our attack surface and maintain a focus on improving the payment experience
  • 72. Watch the video with slide synchronization on InfoQ.com! https://www.infoq.com/presentations/ coinbase-process-processor