p2tr
Version:
Utilities for working with P2TR outputs
32 lines (18 loc) • 738 B
Markdown
# Versions
## 2.0.0
### Breaking Changes
- Node 16 or higher is now required
## 1.3.3
- `tweakHash`: Add support for passing an already x-only public key
- `v1OutputScript`: Add support for passing an already x-only public key
## 1.3.1
- `v1OutputScript`: Add `external_key` to return the external public key
## 1.2.0
- `signHash`: Add method to sign using the tweaked key
- `v1OutputScript`: Add method to derive an output script
## 1.1.0
- `controlBlock`: Add method to derive control block for a script spend witness
## 1.0.0
- `hashForTree`: Add method to calculate a root hash for a tree of scripts
- `leafHash`: Add method to calculate hash for a leaf script
- `tweakHash`: Add method to tweak a public key with a hash