>> projects

>> lnt

What it is

lnt stands for Lightning Network Tools. It was built initially as a supplement for lncli, the command line tools which come prepackaged with the LND client. However as time went on, it became a full on replacement for lncli and added more features on top. It is a human/unix friendly way of interacting with your lnd client from the comfort of your command line.


lncli sucks. A lot. It's not human friendly to use, spits output in json, and is unforgiving in it's error messages. At Fold, we had a very large lnd node to manage and doing tasks with lncli wasn't feasible and we eneded up relying heavily on bash scripts. Again, getting annoyed at the amount of replicated effort every time I needed a new behavior with my scripts, I decided to scrap the scripts and package everything in python as a cli.

Relevant links