Function initialize_test_keystore

Source
pub fn initialize_test_keystore() -> Result<()>
Expand description

Initializes the test keystore with Anvil’s Account 0. Generating the ./test-keystore directory if it doesn’t exist

Returns the path to the Temporary Directory, which must be kept alive as long as the keystore needs to be accessed.

§Errors

See Keystore::new()