Expand description
Pay-to-contract-hash support
See Appendix A of the Blockstream sidechains whitepaper at http://blockstream.com/sidechains.pdf for details of what this does.
Structs§
- Template
- A script template
Enums§
- Error
- A contract-hash error
Functions§
- compute_
tweak - Compute a tweak from some given data for the given public key
- create_
address - Takes a contract, template and key set and runs through all the steps
- tweak_
keys - Tweak keys using some arbitrary data
- tweak_
secret_ key - Tweak a secret key using some arbitrary data (calls
compute_tweak
internally) - untemplate
- Extract the keys and template from a completed script