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
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
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