Skip to content

TODO: Add Tapscript / Taproot feature #1522

Closed
@junderw

Description

@junderw

This will be a place to brainstorm ideas...

Needs:

  1. Tagged Hashes (maybe make a smaller separate package)
  2. Taproot builder (can we wedge this into the existing Payments API??? it seems to act similar to p2sh and p2wsh, and the lazy-loading should help greatly with performance due to the crypto operations to calculate the tweaked pubkey)
  3. Segwit v1 Address generation via the Payments(Taproot) API
  4. Schnorr signing module. (Modify tiny-secp256k1... not sure what to do with native JS though.)

Questions:

  1. When should this be implemented? I'm guessing we should wait for at least a testnet release of Taproot before spending time on it... But at the same time, it would help the development of taproot if we can look at taproot with fresh eyes / a new perspective and make suggestions based on problems while implementing.
  2. This is going to be a pretty big change... so maybe it should be a major version bump and that way we can reconsider existing API structure when adding Taproot.

Thoughts and comments welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions