NativeScriptScriptPubkey.fromPubKey constructor
Constructs a NativeScriptScriptPubkey from a public key.
Implementation
factory NativeScriptScriptPubkey.fromPubKey(List<int> pubkeyBytes) {
return NativeScriptScriptPubkey(Ed25519KeyHash.fromPubkey(pubkeyBytes));
}