Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Blockstream/contracthashtool
A simple implementation of Pay-to-Contract-Hash
https://github.com/Blockstream/contracthashtool
Last synced: 18 days ago
JSON representation
A simple implementation of Pay-to-Contract-Hash
- Host: GitHub
- URL: https://github.com/Blockstream/contracthashtool
- Owner: Blockstream
- License: mit
- Created: 2014-10-22T06:18:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-12-23T15:36:04.000Z (almost 3 years ago)
- Last Synced: 2024-07-31T22:53:54.713Z (3 months ago)
- Language: C++
- Size: 39.1 KB
- Stars: 90
- Watchers: 48
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
Info
====This tool allows you to take a redeemScript as a template and, using basic
EC math, replace public keys with ones which are only spendable by the original
key's private key holder and which cryptographically commit to the contract
hash specified. In this way, it provides a transparent and undetectable way of
sending payments which commit to some data without adding extra data to the
chain. It does, however, require some small amount of out-of-band communication.This implements the neccessary parts of appendix A of the sidechains whitepaper,
though it is generally useful in many other cases.To build
========Install https://github.com/bitcoin/secp256k1
Use ldconfig so that the ld cache knows about the existence of secp256k1.