| Crates.io | lnpbp |
| lib.rs | lnpbp |
| version | 0.9.0 |
| created_at | 2020-10-21 03:38:47.167502+00 |
| updated_at | 2023-01-25 17:24:18.494115+00 |
| description | LNP/BP Core Library implementing LNPBP specifications & standards |
| homepage | https://github.com/LNP-BP |
| repository | https://github.com/LNP-BP/rust-lnpbp |
| max_upload_size | |
| id | 303761 |
| size | 68,730 |
The repository represents a set of libraries implementing LNP/BP specifications https://github.com/LNP-BP/LNPBPs not fitting into a scope of other existing LNP/BP core libraries (client-side-validation, BP, LNP, RGB, invoicing). It can be used to simplify development of layer 2 & 3 solutions on top of Lightning Network and Bitcoin blockchain.
Currently, the repository contains the following crates:
lnpbp_bech32: library implementing LNPBP-14 standard of Bech32 encoding for
client-side-validated data.lnpbp_chain: library providing chain parameters for bitcoin-related
blockchains;lnpbp_elgamal: library implementing LNPBP-31 standard for ElGamal encryption
using Secp256k1 curve;Other libraries, implementing LNP/BP specifications, not included in this crate:
client_side_validation)bp-core)lnp-core)rgb-core)The current list of the projects based on these libraries include:
Potentially, with LNP/BP libraries you can simplify the development of
The development of the libraries is supported by LNP/BP Standards Association.
Minimum supported rust compiler version (MSRV): 1.59.0.
git clone https://github.com/lnp-bp/rust-lnpbp
cd rust-lnpbp
cargo build --release --all-features
The library can be found in target/release directory.
You can run full test suite with:
cargo test --workspace --all-features
Please refer to the cargo documentation
for more detailed instructions.
Add these lines to your Cargo.toml file at the very end of the [dependecies]
section:
lnpbp = "~0.5.0"
lnpbp_bech32 = "~0.5.0"
lnpbp_chain = "~0.5.0"
lnpbp_elgamal = "~0.5.0"
Contribution guidelines can be found in a separate CONTRIBUTING file
Altcoins and "blockchains" other than Bitcoin blockchain/Bitcoin protocols are not supported and not planned to be supported; pull requests targeting them will be declined.
See LICENCE file.