Skip to content

Keystore class

Compare
Choose a tag to compare
@JeffWScott JeffWScott released this 19 Feb 22:37
· 96 commits to master since this release
63c2664

Added keystore functionality to lamden-js. The same keystore standard used by the wallet (version 1.0).

You can now:

  • Build a keystore by adding keys to an instance
  • Create a keystore from that instance
  • Create a keystore instance from an exiting keystore file and decrypt it
  • Use the keystore to manage wallets, while keeping the keys hidden.

Other additions:

  • wallets.js now has a new method that will create a wallet object. This wallet can be crated by providing an sk or a seed. Asd well, you can specify an option to keep the sk secret via a closure.
  • Created keystore tests and docs.

All lamden-js tests passing