pub fn sc_public_key_and_signature_for_datum<T: ToDatum>(
key: SecretKey,
datum_msg: T,
) -> (PublicKey, Signature)
Expand description
Signs the Plutus data bytes of datum_msg
using key
and returns it together with the verification key.
pub fn sc_public_key_and_signature_for_datum<T: ToDatum>(
key: SecretKey,
datum_msg: T,
) -> (PublicKey, Signature)
Signs the Plutus data bytes of datum_msg
using key
and returns it together with the verification key.