Function gclient::ext::sp_core::crypto::set_default_ss58_version
pub fn set_default_ss58_version(new_default: Ss58AddressFormat)
Expand description
Set the default SS58 “version”.
This SS58 version/format will be used when encoding/decoding SS58 addresses.
If you want to support a custom SS58 prefix (that isn’t yet registered in the ss58-registry
),
you are required to call this function with your desired prefix Ss58AddressFormat::custom
.
This will enable the node to decode ss58 addresses with this prefix.
This SS58 version/format is also only used by the node and not by the runtime.