Function sc_cli::commands::utils::print_from_uri

source ยท
pub fn print_from_uri<Pair>(
    uri: &str,
    password: Option<SecretString>,
    network_override: Option<Ss58AddressFormat>,
    output: OutputType,
)
where Pair: Pair, Pair::Public: Into<MultiSigner>,
Expand description

Try to parse given uri and print relevant information.

  1. Try to construct the Pair while using uri as input for sp_core::Pair::from_phrase.

  2. Try to construct the Pair while using uri as input for sp_core::Pair::from_string_with_seed.

  3. Try to construct the Pair::Public while using uri as input for sp_core::crypto::Ss58Codec::from_string_with_version.