vault

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vault

type Vault interface {
	GetPrivateKey(roninWallet string) (string, error)
	AddRoninWallet(roninWallet string, privateKey string) bool
	GetWalletCounts() int
	Save() error
}

func New

func New(secretsFile string) (Vault, error)

type WalletCommanderVault

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

func (WalletCommanderVault) AddRoninWallet added in v0.1.7

func (w WalletCommanderVault) AddRoninWallet(roninWallet string, privateKey string) bool

func (WalletCommanderVault) GetPrivateKey

func (w WalletCommanderVault) GetPrivateKey(roninWallet string) (string, error)

func (WalletCommanderVault) GetWalletCounts added in v0.1.7

func (w WalletCommanderVault) GetWalletCounts() int

func (WalletCommanderVault) Save added in v0.1.7

func (w WalletCommanderVault) Save() error

Jump to

Keyboard shortcuts

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