SlideShare a Scribd company logo
1 of 14
Download to read offline
Interledger
Adrian Hope-Bailie
Application/Setup Protocols and
W3C Web Payments
address: "us.wf.bob"
amount: "1023.20"
expiry: "2016-07-06T09:00:10Z"
condition: "cc:0:3:4a7DEpj8f9..."
All you need to ILP is...
Setting up an Interledger payment requires a few steps:
● Discovery
Resolve and discover receiver’s ILP address and any ledger services using
receiver’s account identifier
● Query
Query receiving ledger services to get currency, precision etc
● Quote
Get a quote from the network
● Setup
Prepare the ILP packet (get condition etc)
Setup/Application protocols define these steps
● Discovery
Resolve and discover receiver’s ILP address and any ledger services using
receiver’s account identifier
● Query
Query receiving ledger services to get currency, precision etc
● Quote
Get a quote from the network
● Setup
Prepare the ILP packet (get condition etc)
The “Simple Payment Setup Protocol”
● Discovery
Use WebFinger to resolve account@ledger identifiers
● Query
Standard Web APIs for getting receiver info
● Quote
Get a quote from the network
● Setup
Standard Web API for getting a condition from the receiver
The “Passive Payment Setup Protocol”
● Discovery
Account registry provides ILP address and receiver’s public key
● Query
Standard Web APIs for getting ledger info from central service/from ledger
● Quote
Get a quote from the network
● Setup
Condition based on receiver’s public key
address: "<common ledger?>"
amount: "<well-known precision>"
expiry: "2016-07-06T09:00:10Z"
condition: "<public key - based>"
What about other use cases
address: "bitcoin.145b3dEskk1a7U..."
amount: "0.00000123"
expiry: "2016-07-06T09:00:10Z"
condition: "<tx confirmed on chain>"
Crypto-currency ledgers as receivers?
Web Payments
A standard for initiating payments on
the Web
10
A standard for payment initiation on the Web
● Browser API to initiate a Payment Request
var payment = new PaymentRequest(...);
● Browser API to register Payment Apps
PaymentApp.register(..);
● Payment Methods define the request and response format
11
Other work in development...
● HTTP API to initiate a Payment Request via HTTP
GET /movies/dr-strangelove HTTP/1.1
Host: videos.example.com
Date: Tue, 07 Jun 2017 21:31:35 GMT
HTTP/1.1 402 Payment Required
Date: Tue, 07 Jun 2017 21:31:36 GMT
Location: https://videos.example.com/payment-requests/dr-strangelove
● Payment Method Specifications for card payments, Bitcoin, SEPA
Credit Transfers and Direct Debits, Alipay, Interledger?
A Payment Request
12
[
{
supportedMethods: ["visa","mastercard"],
},
{
supportedMethods: ["bitcoin"],
data: {
receiver: "145b3dEskk1a7Uw4gWBdpa8NFEwbfz2MgT",
}
},
{
supportedMethods: ["interledger/spsp"],
data: {
receiver: "bob@us.wf",
}
}
{
supportedMethods: ["interledger/ppsp"],
data: {
receiver: "us.wf/bob",
publicKey: "https://bob.com/keys/27",
}
}
]
Benefits of Interledger + Payment Request
13
● Autonomous payments and the Internet of Things
○ Massive increase in global payments volume
○ Financial incentives driving new behaviour
● Micropayments-based business models
○ Goodbye advertising and DRM
○ Privacy and convenience… together
● Personal ledgers
Q&A

More Related Content

What's hot

Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Simplilearn
 

What's hot (20)

Build your own block chain
Build your own block chainBuild your own block chain
Build your own block chain
 
Ethereum Blockchain explained
Ethereum Blockchain explainedEthereum Blockchain explained
Ethereum Blockchain explained
 
Eclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business ApplicationsEclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business Applications
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart Contract
 
Intro to smart contract on blockchain en
Intro to smart contract on blockchain enIntro to smart contract on blockchain en
Intro to smart contract on blockchain en
 
Create and Deploy your ERC20 token with Ethereum
Create and Deploy your ERC20 token with EthereumCreate and Deploy your ERC20 token with Ethereum
Create and Deploy your ERC20 token with Ethereum
 
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
 
Ethereum
EthereumEthereum
Ethereum
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
 
Bitcoin National Congress
Bitcoin National CongressBitcoin National Congress
Bitcoin National Congress
 
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumDappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
 
The Power of the Memo Field | Hedera18
The Power of the Memo Field | Hedera18The Power of the Memo Field | Hedera18
The Power of the Memo Field | Hedera18
 
Ethereum Mining How To
Ethereum Mining How ToEthereum Mining How To
Ethereum Mining How To
 
Developing Blockchain Applications
Developing Blockchain Applications Developing Blockchain Applications
Developing Blockchain Applications
 
Bitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & BlockchainBitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & Blockchain
 
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
 
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
 
Ethereum Intro
Ethereum IntroEthereum Intro
Ethereum Intro
 
Every thing bitcoin in baby language
Every thing bitcoin in baby languageEvery thing bitcoin in baby language
Every thing bitcoin in baby language
 
Introduction to Ethereum
Introduction to EthereumIntroduction to Ethereum
Introduction to Ethereum
 

Viewers also liked

Viewers also liked (7)

Interledger Overview
Interledger OverviewInterledger Overview
Interledger Overview
 
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
 
ILP Workshop Presentation 2 25
ILP Workshop Presentation 2 25ILP Workshop Presentation 2 25
ILP Workshop Presentation 2 25
 
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
 
ILP Webinar 10/2015
ILP Webinar 10/2015ILP Webinar 10/2015
ILP Webinar 10/2015
 
Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...
Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...
Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...
 

Similar to Interledger Application/ Setup Protocols

java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
Zenita Smythe
 

Similar to Interledger Application/ Setup Protocols (20)

F5 ASM v12 DDoS best practices
F5 ASM v12 DDoS best practices F5 ASM v12 DDoS best practices
F5 ASM v12 DDoS best practices
 
Payment card for dummies sddc presentation @buet
Payment card for dummies sddc presentation @buetPayment card for dummies sddc presentation @buet
Payment card for dummies sddc presentation @buet
 
Faster Payments on the Blockchain
Faster Payments on the BlockchainFaster Payments on the Blockchain
Faster Payments on the Blockchain
 
Implementing Open Banking with ForgeRock
Implementing Open Banking with ForgeRockImplementing Open Banking with ForgeRock
Implementing Open Banking with ForgeRock
 
OAuth and OpenID Connect for PSD2 and Third-Party Access
OAuth and OpenID Connect for PSD2 and Third-Party AccessOAuth and OpenID Connect for PSD2 and Third-Party Access
OAuth and OpenID Connect for PSD2 and Third-Party Access
 
Auth proxy pattern on Kubernetes
Auth proxy pattern on KubernetesAuth proxy pattern on Kubernetes
Auth proxy pattern on Kubernetes
 
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
 
FME Cloud Goes Blockchain - Accepting Payments via Bitcoins with FME Server
FME Cloud Goes Blockchain - Accepting Payments via Bitcoins with FME ServerFME Cloud Goes Blockchain - Accepting Payments via Bitcoins with FME Server
FME Cloud Goes Blockchain - Accepting Payments via Bitcoins with FME Server
 
How to integrate bit coin wallet using blockchain methodology
How to integrate bit coin wallet using blockchain methodologyHow to integrate bit coin wallet using blockchain methodology
How to integrate bit coin wallet using blockchain methodology
 
Online payments and Security Gateways
Online payments and Security Gateways Online payments and Security Gateways
Online payments and Security Gateways
 
ASM 11.6 DDoS profile- lior rotkovitch
ASM 11.6 DDoS profile- lior rotkovitchASM 11.6 DDoS profile- lior rotkovitch
ASM 11.6 DDoS profile- lior rotkovitch
 
PISP Journey Based on Open Banking UK
PISP Journey Based on Open Banking UKPISP Journey Based on Open Banking UK
PISP Journey Based on Open Banking UK
 
What is future of Cryptocurrency | Omega Prime Group
What is future of Cryptocurrency | Omega Prime GroupWhat is future of Cryptocurrency | Omega Prime Group
What is future of Cryptocurrency | Omega Prime Group
 
#2 Finance MuleSoft Meetup - SWIFT GPI Use Case & Demo
#2 Finance MuleSoft Meetup - SWIFT GPI Use Case & Demo#2 Finance MuleSoft Meetup - SWIFT GPI Use Case & Demo
#2 Finance MuleSoft Meetup - SWIFT GPI Use Case & Demo
 
Patent Blockchain People Bank of China (PBOC)
Patent Blockchain People Bank of China (PBOC)Patent Blockchain People Bank of China (PBOC)
Patent Blockchain People Bank of China (PBOC)
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
 
Real Time Everything - Thoughtworks Chicago Tech Talk 2018
Real Time Everything  - Thoughtworks Chicago Tech Talk 2018Real Time Everything  - Thoughtworks Chicago Tech Talk 2018
Real Time Everything - Thoughtworks Chicago Tech Talk 2018
 
Authorized payment gateway
Authorized payment gatewayAuthorized payment gateway
Authorized payment gateway
 
2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...
2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...
2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...
 
Working of Crypto Payment Processing- WebPays
Working of Crypto Payment Processing- WebPaysWorking of Crypto Payment Processing- WebPays
Working of Crypto Payment Processing- WebPays
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

Interledger Application/ Setup Protocols

  • 2. address: "us.wf.bob" amount: "1023.20" expiry: "2016-07-06T09:00:10Z" condition: "cc:0:3:4a7DEpj8f9..." All you need to ILP is...
  • 3. Setting up an Interledger payment requires a few steps: ● Discovery Resolve and discover receiver’s ILP address and any ledger services using receiver’s account identifier ● Query Query receiving ledger services to get currency, precision etc ● Quote Get a quote from the network ● Setup Prepare the ILP packet (get condition etc)
  • 4. Setup/Application protocols define these steps ● Discovery Resolve and discover receiver’s ILP address and any ledger services using receiver’s account identifier ● Query Query receiving ledger services to get currency, precision etc ● Quote Get a quote from the network ● Setup Prepare the ILP packet (get condition etc)
  • 5. The “Simple Payment Setup Protocol” ● Discovery Use WebFinger to resolve account@ledger identifiers ● Query Standard Web APIs for getting receiver info ● Quote Get a quote from the network ● Setup Standard Web API for getting a condition from the receiver
  • 6. The “Passive Payment Setup Protocol” ● Discovery Account registry provides ILP address and receiver’s public key ● Query Standard Web APIs for getting ledger info from central service/from ledger ● Quote Get a quote from the network ● Setup Condition based on receiver’s public key
  • 7. address: "<common ledger?>" amount: "<well-known precision>" expiry: "2016-07-06T09:00:10Z" condition: "<public key - based>" What about other use cases
  • 8. address: "bitcoin.145b3dEskk1a7U..." amount: "0.00000123" expiry: "2016-07-06T09:00:10Z" condition: "<tx confirmed on chain>" Crypto-currency ledgers as receivers?
  • 9. Web Payments A standard for initiating payments on the Web
  • 10. 10 A standard for payment initiation on the Web ● Browser API to initiate a Payment Request var payment = new PaymentRequest(...); ● Browser API to register Payment Apps PaymentApp.register(..); ● Payment Methods define the request and response format
  • 11. 11 Other work in development... ● HTTP API to initiate a Payment Request via HTTP GET /movies/dr-strangelove HTTP/1.1 Host: videos.example.com Date: Tue, 07 Jun 2017 21:31:35 GMT HTTP/1.1 402 Payment Required Date: Tue, 07 Jun 2017 21:31:36 GMT Location: https://videos.example.com/payment-requests/dr-strangelove ● Payment Method Specifications for card payments, Bitcoin, SEPA Credit Transfers and Direct Debits, Alipay, Interledger?
  • 12. A Payment Request 12 [ { supportedMethods: ["visa","mastercard"], }, { supportedMethods: ["bitcoin"], data: { receiver: "145b3dEskk1a7Uw4gWBdpa8NFEwbfz2MgT", } }, { supportedMethods: ["interledger/spsp"], data: { receiver: "bob@us.wf", } } { supportedMethods: ["interledger/ppsp"], data: { receiver: "us.wf/bob", publicKey: "https://bob.com/keys/27", } } ]
  • 13. Benefits of Interledger + Payment Request 13 ● Autonomous payments and the Internet of Things ○ Massive increase in global payments volume ○ Financial incentives driving new behaviour ● Micropayments-based business models ○ Goodbye advertising and DRM ○ Privacy and convenience… together ● Personal ledgers
  • 14. Q&A