keystore

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package keystore provides functions to store and load simnet private keys to/from EIP 2335 compatible keystore files with "simnet" as passwords.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadSimnetKeys

func LoadSimnetKeys(dir string) ([]*bls_sig.SecretKey, error)

LoadSimnetKeys returns all secrets stores in dir/keystore-*.json files using empty passwords.

func StoreSimnetKeys

func StoreSimnetKeys(secrets []*bls_sig.SecretKey, dir string) error

StoreSimnetKeys stores the secrets in dir/keystore-simnet-%d.json files with empty passwords.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL