Skip to content

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

License

Notifications You must be signed in to change notification settings

vincenzopalazzo/lampo.rs

Repository files navigation

Lampo

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

Crates

This is 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 and the Lampo binary, you need to have rust installed, and then run the following command:

make install

After you have lampod-cli and lampo-cli available, you can run the following command to launch Lampo in signet mode:

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

Note

Store your wallet words, and then reuse them to restore the wallet with --restore-wallet. If you do not store your words anywhere, your funds will be lost the next time Lampo starts!

Please note that you need to have a lampo.conf in the path ~/.lampo/signet. Run the following command to use the example config file:

cp lampo.example.conf ~/.lampo/signet/lampo.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 Contributing 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.