pub fn cache(passwd: Option<&str>) -> Result<PairSigner<GearConfig, Pair>>
Expand description

Get signer from cache.

@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.