evm_wallet

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(walletStore evmWalletStore, keyStore *keystore.KeyStore, passphraseStore passphraseStore) *Service

func (*Service) CheckAccess

func (s *Service) CheckAccess() error

func (*Service) GetList

func (s *Service) GetList(ctx context.Context) ([]evmWalletModel.EvmWallet, error)

func (*Service) SighWithPassphrase added in v1.0.6

func (s *Service) SighWithPassphrase(address string, msg []byte) ([]byte, error)

func (*Service) SignMetamaskPersonalSign added in v1.0.7

func (s *Service) SignMetamaskPersonalSign(address, msg string) ([]byte, error)

func (*Service) UnlockWallet added in v1.0.5

func (s *Service) UnlockWallet(address string) error

Jump to

Keyboard shortcuts

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