signCip30CoseData
Low-level signing method for creating a valid Cip30CoseSign1 data-structure Doesn't check that the address actually corresponds to the given privateKey
export function signCip30CoseData(
address: ShelleyAddress<PubKeyHash>,
privateKey: Bip32PrivateKey,
payload: BytesLike
): Cip30CoseSign1
Arguments
Name | Type | Description |
---|---|---|
address | ShelleyAddress<PubKeyHash> | |
privateKey | Bip32PrivateKey | |
payload | BytesLike |
Return value
Cip30CoseSign1