7 releases (major breaking)

5.0.0 Aug 26, 2020
4.0.1 Aug 4, 2020
3.0.0 Apr 4, 2020
2.0.0 Mar 30, 2020
0.1.0 Nov 18, 2019

#4 in #spv

25 downloads per month

LGPL-3.0-or-later

94KB
2K SLoC

Bitcoin SPV Proofs in Rust

What is it?

bitcoin-spv is a collection of Rust tooling for working with Bitcoin data structures. Basically, these tools help you parse, inspect, and authenticate Bitcoin transactions.

Features

  • default: std
  • std -- rust standard library. Disable for no-std support

Building

$ cargo build

Testing

$ cargo test

Run no-std functionality tests $ cargo test --lib --no-default-features

Supported by

Binance X Fellowship, Interchain Foundation, Summa, Cross Chain Group

IMPORTANT WARNING

It is extremely easy to write insecure code using these libraries. We do not recommend a specific security model. Any SPV verification involves complex security assumptions. Please seek external review for your design before building with these libraries.

Dependencies

~0.7–1.4MB
~30K SLoC