Lampo (lightning in Italian) is a experimental implementation of a tiny lightning node http://lampo.devcrew.cc
Go to file
Elias Rohrer 0571b14544 Rename `channe_manager.rs` to `channel_manager.rs`
... as this seems to be an obvious typo.
2024-01-02 09:44:07 +01:00
.github/workflows
docker
lampo-bdk-wallet
lampo-bitcoind
lampo-c-ffi
lampo-cli
lampo-client
lampo-common
lampo-core-wallet
lampo-jsonrpc
lampo-lang-bind
lampo-nakamoto
lampo-testing
lampod
lampod-cli
tests
.gitignore
Cargo.lock
Cargo.toml
DCO
LICENSE
Makefile
README.md
flake.lock
flake.nix
lampo.example.conf
rust-toolchain

README.md

Lampo SDK

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

Project Homepage

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, weve 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.