Hello guys,
I'm trying to manually rebalancing my channels with LND
I'm using
lncli sendtoroute but I found it very hard to understand. I can obtain a json with available routes with:
lncli queryroutes --dest $REMOTEPUBKEY --amt $AMOUNT
But how can I pass a defined route to sendtoroute command? I always have this error:
[lncli] unable to unmarshal json string from incoming array of routes: invalid character 'r' looking for beginning of value
Are you able to use this lnd function?
Can you help me? thanks in advice!
I used some rebalancing tools on both LND and c-lightning. Even built this web service: https://kriptode.com/balnr/index.html
Try c-otto's rebalance tool on github. It should give you an idea.