#bitcoin #cash #crypto #sv

sv

A Rust library for working with Bitcoin SV

11 releases

0.1.11 Jan 25, 2019
0.1.10 Jan 23, 2019
0.1.4 Dec 8, 2018

#2 in #cash

Download history 28/week @ 2019-01-16 46/week @ 2019-01-23 1/week @ 2019-01-30 1/week @ 2019-02-06 2/week @ 2019-02-13 2/week @ 2019-02-20 30/week @ 2019-02-27 3/week @ 2019-03-06 7/week @ 2019-03-13 36/week @ 2019-03-20 13/week @ 2019-03-27 24/week @ 2019-04-03 3/week @ 2019-04-10 16/week @ 2019-04-24

54 downloads per month

MIT license

382KB
9K SLoC

Rust-SV

A library to build Bitcoin SV applications in Rust.

Documentation

Features

  • P2P protocol messages (construction and serialization)
  • Address encoding and decoding
  • Transaction signing
  • Script evaluation
  • Node connections and basic message handling
  • Wallet key derivation and mnemonic parsing
  • Mainnet and testnet support
  • Various Bitcoin primitives

Installation

Add sv = "0.1" to Cargo.toml

Requirements

Rust nightly is required for documentation due to a bug fix which has not yet made it to stable.

Run ./configure once to setup nightly.

Known limitations

This library should not be used for consensus code because its validation checks are incomplete.

Comparison with other Rust libraries

rust-bitcoin - rust-sv has no ties to rust-bitcoin. This library can do everything rust-bitcoin can do and more for Bitcoin SV.

parity-bitcoin - The parity Bitcoin client is a full node in Rust. Its code is more full-featured and also more complex.

bitcrust - The bitcrust project is strong in some areas and lacking in others. The two projects could be used together.

License

rust-sv is licensed under the MIT license.

Dependencies

~11MB
~284K SLoC