#cryptography #bitcoin-sv #block-hash

bitcoinsv

Low-level Bitcoin SV library, focused on infrastructure

12 releases

0.3.2 Apr 8, 2025
0.2.8 Jan 1, 2025
0.2.7 Sep 24, 2024
0.2.6 Jul 17, 2024
0.2.4 Mar 9, 2024

#391 in Magic Beans

Download history 154/week @ 2025-01-01 2/week @ 2025-01-08 1/week @ 2025-01-22 2/week @ 2025-01-29 13/week @ 2025-02-05 7/week @ 2025-02-12 8/week @ 2025-02-26 282/week @ 2025-04-02 112/week @ 2025-04-09

394 downloads per month
Used in 2 crates

Custom license

130KB
3K SLoC

Bitcoin SV library for Rust.

This library is a work in progress. It is intended to provide a full featured library for using Bitcoin SV in Rust applications at the infrastructure level. It is not intended to be a wallet or a client.

This library is opinionated, in the sense that it does not stick to convention; the library presents a view of Bitcoin that is possibly different from the norm. The library is not a translation of some other more established library, it is a re-write from ground level principles.

  • the library defines BlockchainId to distinguish between "mainnet", "testnet", etc, not "networks". The key feature that distinguishes these blockchains is the genesis block not the network. The P2P network is just a means for software to communicate, it does not define the blockchain.

  • the library will probably never support old versions of Bitcoin. Support for old versions is dead code and will be removed as quickly as possible.


rust-bitcoinsv

Test Status dependency status

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

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

~12–21MB
~333K SLoC