hopli::key_pair

Function read_identities

Source
pub fn read_identities(
    files: Vec<PathBuf>,
    password: &str,
) -> Result<HashMap<String, HoprKeys>, HelperErrors>
Expand description

Decrypts identity files and returns an vec of PeerIds and Ethereum Addresses

ยงArguments

  • files - Paths to identity files
  • password - Password to unlock all the identity files