legacy

package
v0.0.0-...-f1ec097 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultAccountsJson = "accounts.json"

DefaultAccountsJson specifies use local accounts.json file as an wallet

Variables

This section is empty.

Functions

This section is empty.

Types

type Wallet

type Wallet struct {
	Path string
}

Wallet defines legacy wallet options

func (Wallet) Load

func (w Wallet) Load() (wal wallet.Wallet, err error)

Load loads wallet content from the file

func (Wallet) LuckyLoad

func (w Wallet) LuckyLoad() (wal wallet.Wallet)

LuckyLoad loads wallet content from the file. It panics on error

func (Wallet) New

func (w Wallet) New() (wal wallet.Wallet)

New creates new wallet

Jump to

Keyboard shortcuts

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