genKeyLock - multiple declarations

Function genKeyLock

Compatibility (however may only be signed with Schnorr)

Lock genKeyLock (
  in ref const(PublicKey) key
) pure nothrow @safe;

Function genKeyLock

Generates a LockType.Key lock script.

Lock genKeyLock (
  in ref const(agora.crypto.ECC.Point) key
) pure nothrow @safe;

Parameters

NameDescription
key the public key which can unlock this lock script

Returns

the lock script