Rust-Lightning is a Bitcoin Lightning library written in Rust. The main crate, lightning, does not handle networking, persistence, or any other I/O. Thus, it is runtime-agnostic, but users must implement basic networking logic, chain interactions, and disk storage. The project implements all of the BOLT specifications in the 1.0 spec. The implementation has pretty good test coverage that is expected to continue to improve. It is also anticipated that as developers begin using the API, the lessons from that will result in changes to the API, so any developer using this API at this stage should be prepared to embrace that. LDK/Rust-Lightning is a generic library which allows you to build a lightning node without needing to worry about getting all of the lightning state machine, routing, and on-chain punishment code (and other chain interactions) exactly correct. Note that Rust-Lightning isn't, in itself, a node.

Features

  • You can store the channel state any way you want
  • We provide a simple block_connected/block_disconnected API which you provide block headers and transaction information to
  • RL/LDK owns on-chain funds as long as they are claimable as a part of a lightning output which can be contested
  • We also provide an API for getting information about transactions we wish to be informed of
  • The goal is to provide a full-featured but also incredibly flexible lightning implementation
  • For security reasons, do not add new dependencies

Project Samples

Project Activity

See All Activity >

Categories

Libraries, Bitcoin

License

Apache License V2.0, MIT License

Follow Rust-Lightning

Rust-Lightning Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Rust-Lightning!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Libraries, Rust Bitcoin Software

Registered

2022-02-15