All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added regtest support for signing and verifying BIP-137 and BIP-322 signatures.
- Added
useStrictVerification
argument inVerifier.verifySignature
. See README for its usage.
- Removed
network
argument inSigner.sign
; the network is now automatically inferred from the given address. - Moved
Address.compressPublicKey
andAddress.uncompressPublicKey
toKey.compressPublicKey
andKey.uncompressPublicKey
respectively. - Updated dependencies.
- Fixed issue #7 where BIP-137 signatures that were signed using flags for P2SH/P2WPKH would fail verification incorrectly.
- Added support for BIP-137 legacy signature verification against P2SH-P2WPKH, P2WPKH, and single-key-spend P2TR addresses.
- Fixed ECC library uninitialized error during taproot signature verification.
Initial release.
- Generate raw toSpend and toSign BIP-322 transactions via the BIP322 class.
- Sign a BIP-322 signature using a private key via the Signer class.
- Verify a simple BIP-322 signature via the Verifier class.