keystore

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Addr gethcommon.Address `json:"addr"`
	URL  gethaccounts.URL   `json:"url"`
}

type Store

type Store interface {
	CreateAccount(context.Context) (*Account, error)
	HasAccount(ctx context.Context, addr gethcommon.Address) (bool, error)
	SignTx(ctx context.Context, addr gethcommon.Address, tx *gethtypes.Transaction, chainID *big.Int) (*gethtypes.Transaction, error)
	Import(ctx context.Context, hexkey string) (*Account, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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