Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does LedgerLoops need a node discovery protocol? #95

Open
michielbdejong opened this issue Apr 24, 2024 · 0 comments
Open

Does LedgerLoops need a node discovery protocol? #95

michielbdejong opened this issue Apr 24, 2024 · 0 comments

Comments

@michielbdejong
Copy link
Member

michielbdejong commented Apr 24, 2024

Looking at ILQP and Interledger addresses and ChipNet, it might be a desirable feature to be able to find another node from e.g. a QR code. But in LedgerLoops we would just become neighbours and then let DLD do the work. Also note that the goal is not to find one loop path, but multiple ones can also have the desired effect:

Say Alice buys something in Bob's shop, and scans a QR code to become neighbours using some LedgerLoops-compatible smartphone app. There may be a 5-hop path between Alice and Bob that can be used for the "payment", forming a 6-hop loop for payment + handover. But maybe there is a triangle Alice - Janice - Charlie, another triangle Janice-Charlie-Greg, and another one Greg-John-Bob, and all of these triangles are already known. The composed loops Alice - Janice - Greg - Bob - Alice, Alice - Charlie - Greg - Bob - Alice, Alice - Janice - Greg - John - Bob - Alice, and Alice - Charlie - Greg - John - Bob - Alice can now be composed out of these smaller triangles, and even work together to help Alice pay for the item. Greg will be a bottleneck, but for instance getting money from Alice to Greg, or getting it from Greg to Bob, can happen in two ways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant