Registry / networking / lnp-core

lnp-core

JSON →
library0.9.2rscratesunverified

Rust implementation of modular lightning channels architecture for the Lightning Network Protocol.

# Cargo.toml [dependencies] lnp-core = "0.9.2"
INSTALL
IMPORT
SIG · LNP-CORE
L
lnp-core
networkingrustv0.9.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Channel
use lnp_core::Channel;

Creates a new LNP channel instance.

use lnp_core::Channel; fn main() { let channel = Channel::new(); println!("Channel created: {:?}", channel); }
Debug
Known issues
gotchaRequires a Bitcoin library (e.g., `bitcoin`) for transaction handling.
fix
Add `bitcoin` crate to Cargo.toml.
affects: >=0.9.0
Upgrade
Version history
0.9.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
lnp-core — cargo add lnp-core · libregistry