[][src]Trait gu_ethkey::EthKeyStore

pub trait EthKeyStore {
    fn load_or_generate<P>(file_path: P, pwd: &Password) -> Result<Box<Self>>
    where
        P: Into<PathBuf>
;
fn change_password(&self, new_pwd: &Password) -> Result<()>; }

Provides basic serde for Ethereum KeyPair.

Required Methods

reads keys from disk or generates new ones and stores to disk; pass needed

stores keys on disk with changed password

Implementors

impl EthKeyStore for SafeEthKey
[src]