Files
plugins/sauron
Antoine Poinsot 810bedddc0 sauron: strictly exit when no endpoint
The exception might be excepted, and we would continue execution. This works better after https://github.com/ElementsProject/lightning/pull/3675 which will immediately make lightningd die if we exit

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
2020-04-30 15:07:56 +02:00
..
2020-03-30 21:54:34 +02:00

Sauron

A Bitcoin backend plugin relying on Esplora.

About

It allows C-lightning to run without needing a local bitcoind, and can be either self-hosted (Esplora is Open Source, and self hosting it is basically a docker one-liner).

This is still a WIP, so is the API C-lightning side. So not to be used for real.

Run

You need to:

  • disable the default Bitcoin backend (bcli)
  • register sauron
  • provide the API endpoint you want to use

Here is a fully reptilian example running against blockstream.info:

lightningd --mainnet --disable-plugin bcli --plugin $PWD/sauron.py --sauron-api-endpoint https://blockstream.info/api/