pull down to refresh
1 sat \ 3 replies \ @nerd2ninja 25 Nov 2022 \ on: Sauron's Workbench is a simple project template for building on (Core) Lightning bitcoin
Why is it called Sauron's workbench? lol I feel like this is meant to be shade thrown at C-Lightning (C the programming language by the way. C is the successor language to BCPL AKA Basic Combined Programming Language or B for short. It doesn't stand for anything.)
By default the template uses the Sauron plugin to read blockchain data from Blockstream API. Great for development!
reply
Oof okay so how do you set the non-default to read blockchain data from your own node?
reply
In the lightningd.conf file, there's a section that disables the 'bitcoin' plugin and enables sauron. You can comment those out and it will reverse the changes.
You will also need to add some additional configs to setup the RPC connection between bitcoind and lightning. I recommend using rpcauth (and rpcauth generator website).
reply