Crates.io | psbt-v2 |
lib.rs | psbt-v2 |
version | 0.2.0 |
source | src |
created_at | 2024-02-02 01:04:09.900579 |
updated_at | 2024-08-22 07:01:16.070753 |
description | Partially Signed Bitcoin Transaction, v0 and v2 |
homepage | |
repository | https://github.com/tcharding/rust-psbt/ |
max_upload_size | |
id | 1123822 |
size | 631,625 |
Implementation of the Partially Signed Bitcoin Transaction Format as defined in BIP-174 and PSBT version 2 as defined in BIP-370.
For now we more or less just follow the contribution guidelines of rust-bitcoin.
This library should always compile with any combination of features on Rust 1.63.0.
To build with the MSRV you will likely need to pin a bunch of dependencies, see ./contrib/test.sh
for the current list.
We support just
for running dev workflow commands. Run just
from
your shell to see list available sub-commands.
We build docs with the nightly toolchain, you may wish to use the following shell alias to check your documentation changes build correctly.
alias build-docs='RUSTDOCFLAGS="--cfg docsrs" cargo +nightly rustdoc --features="$FEATURES" -- -D rustdoc::broken-intra-doc-links'
To assist devs in catching errors before running CI we provide some githooks. If you do not already have locally configured githooks you can use the ones in this repository by running, in the root directory of the repository:
git config --local core.hooksPath githooks/
Alternatively add symlinks in your .git/hooks
directory to any of the githooks we provide.
We format with cargo +nightly fmt
, see ./rusntfmt.toml
for the current configuration.
The code in this project is licensed under the Creative Commons CC0 1.0 Universal license. We use the SPDX license list and SPDX IDs.