Documentation ¶
Overview ¶
Allows to create a Store that contains a set of public a private keys derived from a mnemonic.
Important note: Not meant for production, mnemonic is exposed as a raw text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store defines a mnemonic keyvault, written for demonstrative purposes.
func NewStore ¶
func NewStore( mnemonicPhrase string, mnemonicPassword string, startIndex int, numKeys int) (*Store, error)
NewStore instantiates a mnemonic keyvault using a set number of keys.
func (*Store) GetPublicKeys ¶
GetPublicKeys returns all available BLS12-381 public keys in the mnemonic keyvault.
Click to show internal directories.
Click to hide internal directories.