5

In the basic form, lightning-network is a chain of iou:s in one currency. But as far as I have understood, the plan is to put atomic swaps on lightning network. Will this mean that all currencies exist in the same lightning network? Does LN care and know about the curreny that is exchanged? Will it also work out the routing? What about exchange rates?

4

The Lightning Network can be used across currencies, but each individual payment channel must only correspond to one currency. Furthermore, each currency must use the same inputs and outputs system that Bitcoin uses and a similar scripting system for the HTLCs to work. Other than that, I think the Lightning Network should work across multiple currencies.

What about exchange rates?

Exchange rates don't matter to anything technically, so they have no effect on LN.

  • thx! When I was asking about exchanges, I was more referring to the routing. I haven't found much on this yet, but the network is suppose to figure out how to route payments. If atomic swaps can occur it has to figure that out aswell and therefore deal with exchange-rates. When I come to think of it, it's not that different from the fees for routing payments. – Kristoffer Nolgren Oct 8 '17 at 8:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.