gethkeystore

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Path     string `json:"path"`
	Password string `json:"-"`
}

func (*Config) SetDefault

func (cfg *Config) SetDefault() *Config

type KeyStore

type KeyStore struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *Config) *KeyStore

func (*KeyStore) CreateAccount

func (s *KeyStore) CreateAccount(_ context.Context) (*keystore.Account, error)

func (*KeyStore) SignTx

Jump to

Keyboard shortcuts

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