Initializes a new instance of the VkeyWitness class.
This is the public counterpart to the private key (SKey). It's used to verify the signature.
This is a cryptographic signature produced by signing the hash of the transaction body with the corresponding private key (SKey). Anyone can verify this signature using the provided VKey, ensuring that the transaction was authorized by the holder of the private key.
Private
#originalPrivate
#signaturePrivate
#vkeySets the transaction body signature computed with the private counterpart to the public key (VKey).
The Ed25519 signature.
Sets the public key associated with the provided signature.
The public key.
Gets transaction body signature computed with the private counterpart to the public key (VKey).
The Ed25519 signature.
Creates a tuple with the vkey and the signature from the current VkeyWitness object.
The tuple with the vkey and the signature.
Gets the public key associated with the provided signature.
The public key.
Static
fromDeserializes the VkeyWitness from a CBOR byte array.
The new VkeyWitness instance.
The CBOR encoded VkeyWitness object.
Static
fromCreates a VkeyWitness object from a tuple with the vkey and the signature.
A tuple with the vkey and the signature.
Generated using TypeDoc
VkeyWitness (Verification Key Witness) is a component of a transaction that provides cryptographic proof that proves that the creator of the transaction has access to the private keys controlling the UTxOs being spent.