#bitcoin #litecoin #crypto

no-std litecoinlib

General purpose library for using and interoperating with Litecoin. Fork of rust-bitcoin

2 releases

0.29.1 Feb 23, 2023
0.29.0 Feb 23, 2023

#7 in #litecoin

CC0 license

1.5MB
24K SLoC

Litecoin

General purpose library for using and interoperating with Litecoin.

Thank you Mr. Andrew Poelstra for rust-bitcoin

Powered by N|Solid


lib.rs:

Rust Bitcoin Library

This is a library that supports the Bitcoin network protocol and associated primitives. It is designed for Rust programs built to work with the Bitcoin network.

It is also written entirely in Rust to illustrate the benefits of strong type safety, including ownership and lifetime, for financial and/or cryptographic software.

See README.md for detailed documentation about development and supported environments.

Available feature flags

  • std - the usual dependency on std (default).
  • secp-recovery - enables calculating public key from a signature and message.
  • base64 - (dependency), enables encoding of PSBTs and message signatures.
  • rand - (dependency), makes it more convenient to generate random values.
  • serde - (dependency), implements serde-based serialization and deserialization.
  • secp-lowmemory - optimizations for low-memory devices.
  • no-std - enables additional features required for this crate to be usable without std. Does not disable std. Depends on core2.
  • bitcoinconsensus-std - enables std in bitcoinconsensus and communicates it to this crate so it knows how to implement std::error::Error. At this time there's a hack to achieve the same without this feature but it could happen the implementations diverge one day.

Dependencies

~5.5–8MB
~91K SLoC