EVM-Lite Keystore¶
Keystore management for any EVM-Lite applications.
Keystore¶
Constructor¶
constructor(path: string)
Example¶
const keystore = new Keystore('<HOME_DIR>/.evmlc/keystore');
list
¶
Should list all V3Keyfile
files in the directory specified in the
constructor.
list(): Promise<MonikerKeystore>
Example¶
keystore
.list()
.then(console.log)
.catch(console.log);
get
¶
Should get a single V3Keyfile
file.
get(moniker: string): Promise<V3Keyfile>
Example¶
keystore
.get('moniker')
.then(console.log)
.catch(console.log);