Skip to content

Instantly share code, notes, and snippets.

@sappenin
Last active June 17, 2016 20:14
Show Gist options
  • Save sappenin/c3c230c3735ff816fd60edd085b08f46 to your computer and use it in GitHub Desktop.
Save sappenin/c3c230c3735ff816fd60edd085b08f46 to your computer and use it in GitHub Desktop.
ILP 2 Connector Transfer Quote
This file uses https://bramp.github.io/js-sequence-diagrams/ as a generator.
Title: ILP Quote\n2-Connector
Alice($USD)->USD_LEDGER: ($20)
USD_LEDGER->Connector1($USD): $20
Connector1($USD)->Connector1($USD): Take 1% ($0.20)
Connector1($USD)->Connector1(¥JPY): Convert $19.80 to ¥2062.96
Connector1(¥JPY)->JPY_LEDGER: (¥2062.96)
JPY_LEDGER->Connector2(¥JPY): ¥2062.96
Connector2(¥JPY)->Connector2(¥JPY): Take 1% (¥20.63)
Connector2(¥JPY)->Connector2(€EUR): Convert ¥2042.33 to €17.37
Connector2(€EUR)->EUR_LEDGER: (€17.37)
EUR_LEDGER->Bob(€EUR): €17.37
@sappenin
Copy link
Author

sappenin commented Jun 17, 2016

ilp 2connector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment