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.
-
Try to construct the
Pair
while usinguri
as input forsp_core::Pair::from_phrase
. -
Try to construct the
Pair
while usinguri
as input forsp_core::Pair::from_string_with_seed
. -
Try to construct the
Pair::Public
while usinguri
as input forsp_core::crypto::Ss58Codec::from_string_with_version
.