hashKeyBytes static method
convert bytes (ED25519, Secp256k1 or multisig key data) to address with specify scheme
Implementation
static List<int> hashKeyBytes({
required List<int> bytes,
required int scheme,
}) {
return QuickCrypto.blake2b256Hash([scheme, ...bytes]);
}