Library for lending inside ripple network