/lampo.rs

lampo (lightning in Italian) is a experimental implementation of a tiny lightning node

Primary LanguageRustBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Lampo

Fast and modular lightning network implementation for all usages, written in Rust.

Crates

These are the complete list of crates supported right now:

Crate Description Version
lampod-cli Lampo Daemon command line interface to run the daemon unrelated
lampo-cli Simple Lampo command line interface to interact with the daemon unrelated

How to Install

To install all the requirements binary we need to have rust installed, and then run the following command

make install

After you have lampod-cli and lampo-cli available and the following commands can be ran

➜  ~ lampod-cli --network signet
✓ Wallet Generated, please store this works in a safe way
 waller-keys  maple have fitness decide food joy flame coast stereo front grab stumble

N.B: Store your wallet works, and then reuse them to restore the waller with --restore-wallet.

Please note that this need to have a lampo.conf in the path ~/.lampo/signet. See an example in lampo.example.conf

Then you can query the node with the following command

➜  ~ lampo-cli --network signet getinfo
{
  "node_id": "035b889551a44e502cd0cd6657acf067336034986cd6639b222cd4be563a7fc205",
  "peers": 0,
  "channels": 0
}

To run integration tests with core lightning:

Make sure you have compiled core-lightning in developer mode. The installation guide can be found here.

Integration tests can be run using the following command

make integration

Contributing guidelines

Please read our Hacking guide.

Community

Determined to maintain clarity, we’ve chosen specific channels for communication:

  • Developers, join us on Zulip.
  • Community members, our Twitter community awaits your insights.
  • For technical questions and feature requests, dive into our GitHub discussions.