Function genKeyUnlock

Generates a LockType.Key unlock script.

Unlock genKeyUnlock (
  in ref const(agora.crypto.Schnorr.Signature) sig
) pure nothrow @safe;

Unlock genKeyUnlock (
  in ref const(SigPair) sig
) pure nothrow @safe;

Parameters

NameDescription
sig the signature that will be embedded in the script

Returns

the unlock script