coffee-tools / folgore

Universal Bitcoin backend for core lightning with BIP 157 support full based on the btcli4j Kotlin plugin! Ah, yes it is written in Rust
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

What needs to be in lightning config? #84

Closed urza closed 2 months ago

urza commented 2 months ago

Coffee is now working, but when I start lightningd I get this error:

 lightningd
2024-05-15T11:45:44.292Z INFO    lightningd: v24.02.2
error starting plugin '/home/alice/.coffee/bitcoin/plugins/folgore/target/release/folgore_plugin': option name 'bitcoin-rpcpassword' is already taken
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe

What exactly should be in my lightning config?

I commented all the bitcoin-* related lines and added bitcoin-client=nakamoto

so it looks something like this:

bitcoin-client=nakamoto

#bitcoin-rpcconnect=...
#bitcoin-rpcport=...
#bitcoin-rpcuser=...
#bitcoin-rpcpassword=...
#bitcoin-cli=...
vincenzopalazzo commented 2 months ago

Did you try https://github.com/coffee-tools/folgore?tab=readme-ov-file#how-to-configure ?

vincenzopalazzo commented 2 months ago

Ah no your problem is https://github.com/coffee-tools/folgore/issues/83

Closing as a duplicated because I think the error will be the same

urza commented 2 months ago

Ah this is duplicate, sorry: https://github.com/coffee-tools/folgore/issues/83

disable-plugin=bcli in lightning config solves this issue.

vincenzopalazzo commented 2 months ago

Nice :)