cln-plugins/sauron
Chris Guida 57a2925e31 Update requirements.txt
The old `pyln-client` here is causing this output on CLN v23.02: `UNUSUAL plugin-sauron.py: ValueError: Non-integer request id \"cln:getchaininfo#24\"`

Updating `pyln-client` to `23.2` fixes for me.
2024-03-04 12:38:24 +00:00
..
art.py sauron: fix flake8 nits 2020-12-13 15:36:15 +01:00
README.md sauron: add Tor proxy support 2020-06-11 15:36:40 +02:00
requirements.txt Update requirements.txt 2024-03-04 12:38:24 +00:00
sauron.py Add support for the default signet 2024-03-02 13:13:06 +01: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/

You can use also proxy your requests through Tor by specifying a SOCKS proxy to use with the --sauron-tor-proxy startup option, in the form address:port.

Hidden services are also supported :

lightningd --testnet --disable-plugin bcli --plugin $PWD/sauron.py --sauron-tor-proxy localhost:9050 --sauron-api-endpoint http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/testnet/api/