clef

package
v0.54.1-nocontractcheck Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClefAlgoType = "clef"
)

Variables

This section is empty.

Functions

func GenerateNewWallet

func GenerateNewWallet(client Client, endpoint string) (*wallet, error)

GenerateNewWallet new wallet will create new account in Clef and returns wallet. Caveat: generating new wallet in Clef has to be manually approved and only key store backend is supported.

func NewWallet

func NewWallet(client Client, endpoint string, accountAddr ethcommon.Address) (*wallet, error)

Types

type Client

type Client interface {
	CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
	Close()
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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