selector

package
v0.0.0-...-365054f Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(
	manager identity.Manager,
	cache identity.IdentityCacheInterface,
	signerFactory identity.SignerFactory,
) *handler

NewHandler creates new identity handler used by node

Types

type Handler

type Handler interface {
	UseOrCreate(address, passphrase string, chainID int64) (identity.Identity, error)
	SetDefault(address string) error
}

Handler allows selecting identity to be used

Jump to

Keyboard shortcuts

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