P2TR.fromTweakedKeyX constructor

P2TR.fromTweakedKeyX(
  1. Uint8List tweakedKeyX
)

Creates a P2TR program with the 32-byte X-only tweaked public key.

Implementation

P2TR.fromTweakedKeyX(Uint8List tweakedKeyX)
  : super.fromData(1, checkBytes(tweakedKeyX, 32));