pub fn encode(version: u8, payload: &[u8]) -> StringExpand description
Encode payload with a leading version byte in base58check.
Prepends the version byte, computes a 4-byte double-SHA256 checksum
over [version || payload], appends it, and base58-encodes.