SlideShare una empresa de Scribd logo
1 de 15
Descargar para leer sin conexión
Payment Sockets
Interledger CG Call - Feb 21, 2018
Evan Schwartz
@_emschwartz
Payment Sockets are a
protocol built on PSK2 for
opening bidirectional
streams of money
Proposed by @justmoon and @sharafian in rfcs#388
Interledger Architecture
ILPv4
XRP-PayChan Lightning
ETH-PayChan ERC20-PayChan
Interledger
Ledger
Transport
PSK2
Application SPSP HTTP-ILP Codius/Cog ...
Payment Sockets
Spectrum of Protocols on top of PSK2
Single
Chunks
Simple
Chunked
Sender
Payment
Sockets
TCP-
Over-ILP
Pure PSK2 More Complex
USE CASES
● Push Payments
● Pull Payments
● Invoices
● Gift Cards
● Streaming Payments
Payment Sockets are virtual connection between a
“client” and a “server” over an Interledger connection
Client Server
Interledger
Payment Sockets can be used for sending or receiving
Client Server
Money can be sent by lowering the Maximum Balance
(e.g. Push Payments, Gift Cards)
Client Server
Balance: -1000 Balance: 1000
MinBal: -1000
MaxBal: -1000
MinBal: 0
MaxBal: ∞
Receiver can raise its Minimum Balance to disable refunds
Client Server
Balance: -1000 Balance: 1000
MinBal: -1000
MaxBal: -1000
MinBal: 1000
MaxBal: ∞
Or Receiver can keep their Minimum at zero to enable refunds
Client Server
Balance: 0 Balance: 0
MinBal: 0
MaxBal: 0
MinBal: 0
MaxBal: ∞
Either side can request money by raising their Minimum Balance
(e.g. Pull Payments, Invoices)
Client Server
Balance: 2000 Balance: -2000
MinBal: 2000
MaxBal: ∞
MinBal: -4000
MaxBal: ∞
More can be requested by raising the Minimum further
(e.g. Streaming Payments)
Client Server
Balance: 3000 Balance: -3000
MinBal: 3000
MaxBal: ∞
MinBal: -4000
MaxBal: ∞
Payment Sockets (will)
automatically handle
exchange rates, chunking,
flow control, errors
Follow the development at:
https://github.com/emschwartz/ilp-protocol-paystream

Más contenido relacionado

La actualidad más candente

Instantmessagingprotocols
InstantmessagingprotocolsInstantmessagingprotocols
Instantmessagingprotocols
sanjoysanyal
 
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
Đồng Quốc Vương
 

La actualidad más candente (20)

Instantmessagingprotocols
InstantmessagingprotocolsInstantmessagingprotocols
Instantmessagingprotocols
 
PYTHON -Chapter 5 NETWORK - MAULIK BORSANIYA
PYTHON -Chapter 5 NETWORK - MAULIK BORSANIYAPYTHON -Chapter 5 NETWORK - MAULIK BORSANIYA
PYTHON -Chapter 5 NETWORK - MAULIK BORSANIYA
 
ARM CoAP Tutorial
ARM CoAP TutorialARM CoAP Tutorial
ARM CoAP Tutorial
 
message communication protocols in IoT
message communication protocols in IoTmessage communication protocols in IoT
message communication protocols in IoT
 
Digital Certified Mail (PPT)
Digital Certified Mail (PPT)Digital Certified Mail (PPT)
Digital Certified Mail (PPT)
 
JavaZone 2016 : MQTT and CoAP for the Java Developer
JavaZone 2016 : MQTT and CoAP for the Java DeveloperJavaZone 2016 : MQTT and CoAP for the Java Developer
JavaZone 2016 : MQTT and CoAP for the Java Developer
 
Digital Certified Mail
Digital Certified MailDigital Certified Mail
Digital Certified Mail
 
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
 
Wireshark lab ssl v7 solution
Wireshark lab ssl v7 solutionWireshark lab ssl v7 solution
Wireshark lab ssl v7 solution
 
Network programming in Java
Network programming in JavaNetwork programming in Java
Network programming in Java
 
DevDay: Mike Hearn Keynote, R3
DevDay: Mike Hearn Keynote, R3DevDay: Mike Hearn Keynote, R3
DevDay: Mike Hearn Keynote, R3
 
Wireshark Lab HTTP, DNS and ARP v7 solution
Wireshark Lab HTTP, DNS and ARP v7 solutionWireshark Lab HTTP, DNS and ARP v7 solution
Wireshark Lab HTTP, DNS and ARP v7 solution
 
M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...
M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...
M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...
 
web communication protocols in IoT
web communication protocols in IoTweb communication protocols in IoT
web communication protocols in IoT
 
Blockchain Hyperledger Fabric
Blockchain Hyperledger FabricBlockchain Hyperledger Fabric
Blockchain Hyperledger Fabric
 
application layer protocols
application layer protocolsapplication layer protocols
application layer protocols
 
StarkNet ERC20 + ERC721
StarkNet ERC20 + ERC721StarkNet ERC20 + ERC721
StarkNet ERC20 + ERC721
 
Socket
SocketSocket
Socket
 
CoAP protocol -Internet of Things(iot)
CoAP protocol -Internet of Things(iot)CoAP protocol -Internet of Things(iot)
CoAP protocol -Internet of Things(iot)
 
Internet of Things (IoT) protocols COAP MQTT OSCON2014
Internet of Things (IoT) protocols  COAP MQTT OSCON2014Internet of Things (IoT) protocols  COAP MQTT OSCON2014
Internet of Things (IoT) protocols COAP MQTT OSCON2014
 

Similar a Payment Sockets - Interledger Community Group Presentation

MQTC V2.0.1.3 - WMQ & TCP Buffers – Size DOES Matter! (pps)
MQTC V2.0.1.3 - WMQ & TCP Buffers – Size DOES Matter! (pps)MQTC V2.0.1.3 - WMQ & TCP Buffers – Size DOES Matter! (pps)
MQTC V2.0.1.3 - WMQ & TCP Buffers – Size DOES Matter! (pps)
Art Schanz
 
Unit III IPV6 UDP
Unit III IPV6 UDPUnit III IPV6 UDP
Unit III IPV6 UDP
sangusajjan
 

Similar a Payment Sockets - Interledger Community Group Presentation (20)

Metadata in the Blockchain: The OP_RETURN Explosion
Metadata in the Blockchain: The OP_RETURN ExplosionMetadata in the Blockchain: The OP_RETURN Explosion
Metadata in the Blockchain: The OP_RETURN Explosion
 
aktu-computer-network-quantum-rotated.pdf
aktu-computer-network-quantum-rotated.pdfaktu-computer-network-quantum-rotated.pdf
aktu-computer-network-quantum-rotated.pdf
 
Fredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slidesFredericksburg LUG Bitcoin slides
Fredericksburg LUG Bitcoin slides
 
secnet.ppt
secnet.pptsecnet.ppt
secnet.ppt
 
secnet.ppt
secnet.pptsecnet.ppt
secnet.ppt
 
Secure Web Transactions Electronic Commerce Underlying Technologies
Secure Web Transactions Electronic Commerce Underlying TechnologiesSecure Web Transactions Electronic Commerce Underlying Technologies
Secure Web Transactions Electronic Commerce Underlying Technologies
 
Smart shopping cart (using RFID)
Smart shopping cart (using RFID)Smart shopping cart (using RFID)
Smart shopping cart (using RFID)
 
Intelegent network.ppt
Intelegent network.pptIntelegent network.ppt
Intelegent network.ppt
 
Secnet
SecnetSecnet
Secnet
 
Tcp
TcpTcp
Tcp
 
MQTC V2.0.1.3 - WMQ & TCP Buffers – Size DOES Matter! (pps)
MQTC V2.0.1.3 - WMQ & TCP Buffers – Size DOES Matter! (pps)MQTC V2.0.1.3 - WMQ & TCP Buffers – Size DOES Matter! (pps)
MQTC V2.0.1.3 - WMQ & TCP Buffers – Size DOES Matter! (pps)
 
Crypto101.pptx
Crypto101.pptxCrypto101.pptx
Crypto101.pptx
 
Shopshifting Warning about potential payment system abuse
Shopshifting Warning about potential payment system abuseShopshifting Warning about potential payment system abuse
Shopshifting Warning about potential payment system abuse
 
Unit III IPV6 UDP
Unit III IPV6 UDPUnit III IPV6 UDP
Unit III IPV6 UDP
 
DataArt Innovation Showcase Blockchain Billing
DataArt Innovation Showcase Blockchain BillingDataArt Innovation Showcase Blockchain Billing
DataArt Innovation Showcase Blockchain Billing
 
Introduction to Lightning Network
Introduction to Lightning NetworkIntroduction to Lightning Network
Introduction to Lightning Network
 
13_TCP_Attack.pptx
13_TCP_Attack.pptx13_TCP_Attack.pptx
13_TCP_Attack.pptx
 
Hungary Usergroup - Midonet overlay programming
Hungary Usergroup - Midonet overlay programmingHungary Usergroup - Midonet overlay programming
Hungary Usergroup - Midonet overlay programming
 
Ripple
RippleRipple
Ripple
 
qos-f05.ppt
qos-f05.pptqos-f05.ppt
qos-f05.ppt
 

Más de Interledger

Más de Interledger (15)

Interledger Routing
Interledger RoutingInterledger Routing
Interledger Routing
 
Interledger @ Boston Layer 2 Summit
Interledger @ Boston Layer 2 SummitInterledger @ Boston Layer 2 Summit
Interledger @ Boston Layer 2 Summit
 
34C3 Interledger Presentation - Background, Streaming Payments, and Implications
34C3 Interledger Presentation - Background, Streaming Payments, and Implications34C3 Interledger Presentation - Background, Streaming Payments, and Implications
34C3 Interledger Presentation - Background, Streaming Payments, and Implications
 
Interledger Overview // Berlin Node.js Meetup
Interledger Overview // Berlin Node.js MeetupInterledger Overview // Berlin Node.js Meetup
Interledger Overview // Berlin Node.js Meetup
 
Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...
Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...
Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...
 
Web Payments IG // TPAC 2016
Web Payments IG // TPAC 2016Web Payments IG // TPAC 2016
Web Payments IG // TPAC 2016
 
How ILP Works
How ILP WorksHow ILP Works
How ILP Works
 
Weaving the ILP Fabric into Bigchain DB
Weaving the ILP Fabric into Bigchain DBWeaving the ILP Fabric into Bigchain DB
Weaving the ILP Fabric into Bigchain DB
 
Interledger Application/ Setup Protocols
Interledger Application/ Setup ProtocolsInterledger Application/ Setup Protocols
Interledger Application/ Setup Protocols
 
Interledger Overview
Interledger OverviewInterledger Overview
Interledger Overview
 
ILP Lightning Talk at the MIT Blockchain Workshop
ILP Lightning Talk at the MIT Blockchain WorkshopILP Lightning Talk at the MIT Blockchain Workshop
ILP Lightning Talk at the MIT Blockchain Workshop
 
Interledger lightning talk
Interledger lightning talkInterledger lightning talk
Interledger lightning talk
 
ILP Workshop Presentation 2 25
ILP Workshop Presentation 2 25ILP Workshop Presentation 2 25
ILP Workshop Presentation 2 25
 
ILP Workshop: Cryptoconditions
ILP Workshop: CryptoconditionsILP Workshop: Cryptoconditions
ILP Workshop: Cryptoconditions
 
ILP Webinar 10/2015
ILP Webinar 10/2015ILP Webinar 10/2015
ILP Webinar 10/2015
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
"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 ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Payment Sockets - Interledger Community Group Presentation

  • 1. Payment Sockets Interledger CG Call - Feb 21, 2018 Evan Schwartz @_emschwartz
  • 2. Payment Sockets are a protocol built on PSK2 for opening bidirectional streams of money
  • 3. Proposed by @justmoon and @sharafian in rfcs#388
  • 4. Interledger Architecture ILPv4 XRP-PayChan Lightning ETH-PayChan ERC20-PayChan Interledger Ledger Transport PSK2 Application SPSP HTTP-ILP Codius/Cog ... Payment Sockets
  • 5. Spectrum of Protocols on top of PSK2 Single Chunks Simple Chunked Sender Payment Sockets TCP- Over-ILP Pure PSK2 More Complex
  • 6. USE CASES ● Push Payments ● Pull Payments ● Invoices ● Gift Cards ● Streaming Payments
  • 7. Payment Sockets are virtual connection between a “client” and a “server” over an Interledger connection Client Server Interledger
  • 8. Payment Sockets can be used for sending or receiving Client Server
  • 9. Money can be sent by lowering the Maximum Balance (e.g. Push Payments, Gift Cards) Client Server Balance: -1000 Balance: 1000 MinBal: -1000 MaxBal: -1000 MinBal: 0 MaxBal: ∞
  • 10. Receiver can raise its Minimum Balance to disable refunds Client Server Balance: -1000 Balance: 1000 MinBal: -1000 MaxBal: -1000 MinBal: 1000 MaxBal: ∞
  • 11. Or Receiver can keep their Minimum at zero to enable refunds Client Server Balance: 0 Balance: 0 MinBal: 0 MaxBal: 0 MinBal: 0 MaxBal: ∞
  • 12. Either side can request money by raising their Minimum Balance (e.g. Pull Payments, Invoices) Client Server Balance: 2000 Balance: -2000 MinBal: 2000 MaxBal: ∞ MinBal: -4000 MaxBal: ∞
  • 13. More can be requested by raising the Minimum further (e.g. Streaming Payments) Client Server Balance: 3000 Balance: -3000 MinBal: 3000 MaxBal: ∞ MinBal: -4000 MaxBal: ∞
  • 14. Payment Sockets (will) automatically handle exchange rates, chunking, flow control, errors
  • 15. Follow the development at: https://github.com/emschwartz/ilp-protocol-paystream