subdarkdex / subdex-parachain

Apache License 2.0
0 stars 1 forks source link

Design multi-step swaps through the router, as long as path between them exists #12

Open iorveth opened 3 years ago

iorveth commented 3 years ago

Motivation

If two currencies are not paired directly, and do not have a common pair between them, they can still be swapped as long as a path between them exists. Router feature can be used to optimize between direct and multi-step swaps.

Solution