encodeKey method
Encodes an Ada Byron address with the provided public key and chain code.
The pubKey
parameter is the public key to be encoded.
The optional kwargs
parameter is a map of additional arguments, where "chain_code" can be set to specify the chain code.
Returns a string representing the encoded Ada Byron address.
Throws an ArgumentException if the provided chain code is invalid.
Implementation
@override
String encodeKey(List<int> pubKey, [Map<String, dynamic> kwargs = const {}]) {
return encodeKeyWithInfo(pubKey, kwargs).encode();
}