five-bells-pathfind
v5.0.1
Published
Basic pathfinding library
Downloads
12
Maintainers
Readme
Five Bells Pathfind
A reference implementation of an Interledger pathfinder
You can see the pathfinder in action as part of the five-bells-demo
!
Algorithm
This library includes a network crawler, graph search algorithm implementation and rate quoting client.
The crawler uses APIs on the five-bells-ledger
and five-bells-trader
to find other nodes in the network based on a given starting point.
This library uses Iterative Deepening Depth-First Search to find the shortest paths from the sending ledger to the receiving ledger.
The rate quoting client requests quotes from the traders involved in a given path starting with the trader closest to the recipient and working backwards.
Browser Support
This library can be compiled with Babel using the command npm run build
. The compiled files will be in the babel/
folder.