pub trait SeedPersist: Sync + Send {
// Required methods
fn put(&self, key: &str, seed: &[u8]);
fn get(&self, key: &str) -> Option<Vec<u8>>;
fn list(&self) -> Vec<String>;
}
Expand description
Seed persister
By convention, the key
is the hex-encoded public key, but this may change
in the future.