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