keystore

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvPassword = "KEYSTORE_PASSWORD"
)

Variables

This section is empty.

Functions

func GetPassword

func GetPassword(msg string) []byte

GetPassword prompt user to enter password for encrypted keystore

func KeypairFromEth added in v1.2.0

func KeypairFromEth(path string) (*keystore.Key, error)

func NearKeyPairFrom

func NearKeyPairFrom(networkName, path string, id types.AccountID) (kp key.KeyPair, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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