15 unstable releases (3 breaking)

0.4.1 Oct 5, 2025
0.4.0 Jul 15, 2025
0.3.3 Apr 25, 2025
0.2.8 Jan 1, 2025
0.2.4 Mar 9, 2024

#7 in #sv

Download history 46/week @ 2025-06-25 1/week @ 2025-07-02 23/week @ 2025-07-09 146/week @ 2025-07-16 35/week @ 2025-08-06 14/week @ 2025-08-20 21/week @ 2025-09-03 20/week @ 2025-09-10 9/week @ 2025-09-17 7/week @ 2025-09-24 181/week @ 2025-10-01 42/week @ 2025-10-08

245 downloads per month
Used in 2 crates

Custom license

290KB
6.5K SLoC

rust-bitcoinsv

Test Status dependency status

Codacy Badge Codacy Badge

NOTE: This library is incomplete and undergoing extensive changes at the moment.

Breaking Changes in v0.4.0

The PrivateKey::from<String> implementation has been changed to use TryFrom<String> to improve error handling. Update your code:

// Before (v0.3.x)
let key = PrivateKey::from(wif_string);

// After (v0.4.0)
let key = PrivateKey::try_from(wif_string)?;

This library is a start at building a high-performance Bitcoin SV library in Rust.

This is a hobby project and the code is experimental. If you're looking for a complete library, check out rust-sv by Brenton Gunning. Progress on this library is determined by the needs of various other projects.

If you have anything you particularly want to see, feel free to open an issue or start a discussion.

Current Feature Status

  • bitcoin module: main structs - Tx, BlockHeader, Block
  • util module: main structs - Amount

Dependencies

~11–23MB
~342K SLoC