Crates.io | bp-core |
lib.rs | bp-core |
version | 0.11.0-beta.9 |
source | src |
created_at | 2021-08-26 21:47:14.154745 |
updated_at | 2024-10-31 14:34:16.617169 |
description | Bitcoin protocol core library (BP Core Lib) |
homepage | https://github.com/BP-WG |
repository | https://github.com/BP-WG/bp-core |
max_upload_size | |
id | 442768 |
size | 116,854 |
The library implements components necessary for working with Bitcoin consensus-level data structures and [client-side-validation] in bitcoin protocol, specifically
Client-side-validation is a paradigm for distributed computing, based on top of proof-of-publication/commitment medium layer, which may be a bitcoin blockchain or other type of distributed consensus system.
The development of the library is supported by LNP/BP Standards Association (GitHub page).
The original idea of client-side-validation was proposed by Peter Todd with its possible applications designed by Giacomo Zucco. It was shaped into the protocol design by Dr Maxim Orlovsky with an input from the community.
Detailed developer & API documentation for all libraries can be accessed at:
To learn about the technologies enabled by the library please check slides from our tech presentations and LNP/BP tech talks videos.
The repository contains rust libraries for dealing with Bitcoin consensus-level data and client-side validation.
To use libraries, you just need latest version of libraries, published to
crates.io into [dependencies]
section of your project
Cargo.toml
. Here is the full list of available libraries from this repository:
bp-consensus = "1" # Bitcoin protocol consensus crate
bp-dbc = "1" # Deterministic bitcoin commitments crate
bp-seals = "1" # Bitcoin single-use-seals crate
bp-core = "1" # Library including both of the previous crates
bp-core
crate is an "umbrella" library containing all three libraries inside.
Contribution guidelines can be found in CONTRIBUTING
Minimum supported rust compiler version (MSRV) is shown in rust-version
of Cargo.toml
.
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.
The libraries are distributed on the terms of Apache 2.0 opensource license. See LICENCE file for the license details.