peercoin / coinlib

The most feature-complete *coin library in the entire Dart/Flutter ecosystem.
BSD 3-Clause "New" or "Revised" License
5 stars 8 forks source link

TaprootKeyInput #13

Closed MatthewLM closed 9 months ago

MatthewLM commented 10 months ago

A TaprootInput class shall be added with a createInputSignature method relevant for a TR Schnorr input signature. A sign method shall be added that will throw CannotSignInput as a default implementation.

A new TaprootKeyInput class shall extend TaprootInput and take an optional SchnorrInputSignature insig. The sign method will be implemented to provide a key-path signature for the given internal key of the matching previous output.

MatthewLM commented 9 months ago

Completed