Function gear_program::keystore::login
source · [−]pub fn login(
suri: &str,
passwd: Option<&str>
) -> Result<PairSigner<GearConfig, Pair>>Expand description
Login with suri.
@WARNING: THIS WILL ONLY BE SECURE IF THE keystore IS SECURE. when you have NO PASSWORD, If it can be got by an attacker then they can also get your key.