Giter VIP home page Giter VIP logo

btc-transaction-utils's Introduction

btc-transaction-utils

Travis Build Status Appveyor Build Status dependency status Docs.rs rust 1.23+ required

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 for details.

btc-transaction-utils's People

Contributors

alekseysidorov avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.