decodeAddr method
Decodes a Zilliqa blockchain address from a human-readable representation.
Implementation
@override
List<int> decodeAddr(String addr) {
/// Decode the Zilliqa address using the specified Human Readable Part (HRP).
final addrDecBytes = Bech32Decoder.decode(
AddrKeyValidator.getConfigArg(
CoinsConf.zilliqa.params.addrHrp,
"addrHrp",
),
addr,
);
return addrDecBytes;
}