Open asladeofgreen opened 2 years ago
The mechanics of the encode function are as follows:
If the length of the input bytes is > 75 then simply return lower case hexadecimal, otherwise:
The checksummed should also expose a set of higher-level helper encoding functions:
Hexadecimal representations of chain addresses + digests should be checksum encoded ala EIP-55. For reference purposes the python implementation of the checksum encode/decode functions is defined here.