Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidson-souza/fcli
https://github.com/davidson-souza/fcli
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidson-souza/fcli
- Owner: Davidson-Souza
- Created: 2024-01-16T23:24:23.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-01-23T21:36:14.000Z (12 months ago)
- Last Synced: 2024-01-24T22:40:43.788Z (12 months ago)
- Language: Rust
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fcli - A drop-in replacement for CLN's bcli plugin using florestad
> This project is under development, expect bugs
Core Lightning (a.k.a. CLN) is an implementation of the [Lightning Network](https://lightning.network/) protocol. Lightning is meant to be anchored in some blockchain, like Bitcoin. Therefore, any implementation needs to fetch data related to this blockchain.
CLN uses a plugin to do so. This plugin have to implement some basic interface defined by `lightningd`. Any plugin that conforms with that interface is fine. This plugin is an implementation of that, but using [Floresta](https://github.com/Davidson-Souza/floresta): a lightweight full node implementation, that is very resource efficient.
## Building
You need rust to build this project. Assuming you have `cargo` installed, just run
```bash
$ cargo build --release
```## Running
Before running this, you need to start `florestad`, see [floresta's](https://github.com/Davidson-Souza/floresta) build system. After you have that running, just start `lightningd` with those options:
```bash
$ lightningd --disable-plugin bcli --plugin
```the final binary will be inside `target/release`. So, if you're working on `$HOME/fcli`, you'll use
```bash
$ lightningd --disable-plugin bcli --plugin $HOME/fcli/target/release/fcli
```