P2TR.fromTaproot constructor

P2TR.fromTaproot(
  1. Taproot taproot
)

Creates a P2TR program from a Taproot object.

Implementation

P2TR.fromTaproot(Taproot taproot) : this.fromTweakedKey(taproot.tweakedKey);