apparently no one thought to implement this in the NNS?
How to verify the checksum of an account address?
- After hex decoding, the first 4 bytes is the big-endian CRC32 checksum of the rest of the address.
- Call
address_from_hex
in the JavaScript SDK. It returns and error if checksum doesn’t match. - Here is a Java implementation of address validation logic.