Function sp_core::crypto::set_default_ss58_version [−][src]
pub fn set_default_ss58_version(version: Ss58AddressFormat)
Expand description
Set the default “version” (actually, this is a bit of a misnomer and the version byte is typically used not just to encode format/version but also network identity) that is used for encoding and decoding SS58 addresses. If an unknown version is provided then it fails.
See ss58_address_format!
for all current known “versions”.