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

tnull/lampo.rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lampo SDK

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

This repository contains a set of crates that are useful for working with core lightning in the Rust programming environment.

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 73.3%
  • Dart 15.3%
  • Python 9.6%
  • Nix 0.7%
  • C 0.4%
  • Dockerfile 0.4%
  • Other 0.3%