base58ToEVM function

String base58ToEVM(
  1. String base58, [
  2. bool withPrefix = true
])

Implementation

String base58ToEVM(String base58, [bool withPrefix = true]) {
  final bytes = base58CheckDecode(base58);
  return "${withPrefix ? "0x" : ""}${bytes.toHex.toLowerCase()}";
}