toTaprootAddress method
return p2tr address
Implementation
P2trAddress toTaprootAddress({List<dynamic>? scripts}) {
final pubKey = toTapRotHex(script: scripts);
return P2trAddress(program: pubKey);
}
return p2tr address
P2trAddress toTaprootAddress({List<dynamic>? scripts}) {
final pubKey = toTapRotHex(script: scripts);
return P2trAddress(program: pubKey);
}