P2TR.fromTweakedKey constructor

P2TR.fromTweakedKey(
  1. ECPublicKey tweakedKey
)

Creates a P2TR program with a given tweakedKey.

Implementation

P2TR.fromTweakedKey(ECPublicKey tweakedKey) : super.fromData(1, tweakedKey.x);