Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exonum/btc-transaction-utils
A collection of helpers for signing bitcoin transactions with segwit.
https://github.com/exonum/btc-transaction-utils
bitcoin rust segwit
Last synced: 4 days ago
JSON representation
A collection of helpers for signing bitcoin transactions with segwit.
- Host: GitHub
- URL: https://github.com/exonum/btc-transaction-utils
- Owner: exonum
- License: apache-2.0
- Created: 2018-04-06T10:17:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-28T13:51:51.000Z (almost 4 years ago)
- Last Synced: 2024-04-14T13:43:32.952Z (7 months ago)
- Topics: bitcoin, rust, segwit
- Language: Rust
- Homepage:
- Size: 111 KB
- Stars: 16
- Watchers: 7
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# btc-transaction-utils
[![Travis Build Status](https://img.shields.io/travis/exonum/btc-transaction-utils/master.svg?label=Linux)](https://travis-ci.org/exonum/btc-transaction-utils)
[![Appveyor Build Status](https://img.shields.io/appveyor/ci/exonum-org/btc-transaction-utils/master.svg?label=Windows)](https://ci.appveyor.com/project/exonum-org/btc-transaction-utils)
[![dependency status](https://deps.rs/repo/github/exonum/btc-transaction-utils/status.svg)](https://deps.rs/repo/github/exonum/btc-transaction-utils)
[![Docs.rs](https://docs.rs/btc-transaction-utils/badge.svg)](https://docs.rs/btc-transaction-utils)
![rust 1.23+ required](https://img.shields.io/badge/rust-1.23+-blue.svg?label=Required%20Rust)BTC transaction utils is a small library that helps to create multisig addresses
and to swiftly sign some types of segwit transactions as well as to check the
existing signatures, if required.Manipulations with segwit transactions are quite complicated, so the main goal
is to provide a simple and clear solution for the most common operations
as mentioned above.## Features
- Creating of the redeem script, which is used in the multisignature transactions.
- Creating and checking of the applied signatures of the `p2wsh` inputs.
- Creating and checking of the applied signatures of the `p2wpk` inputs.**Note: This library supports only the `SIGHASH_ALL` type of signatures.**
## TODO
Some features are not implemented at the moment, but are desired in future releases.
Any help in implementation of the below listed items is welcome.- Implement support for `P2SH-P2WPKH` and `P2SHP2WSH` inputs.
- Implement `TransactionBuilder` which helps to create unsigned transactions.
- Implement support for legacy inputs.
- Implement universal transaction signer which can automatically detect the kind of output
for the corresponding input.## License
Licensed under the Apache License (Version 2.0). See [LICENSE](LICENSE) for details.