modern

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: 16 Imported by: 0

Documentation

Overview

+build linux

Index

Constants

View Source
const DefaultSalt = "Spacemesh blockmesh"

Variables

This section is empty.

Functions

func DefaultDirectory

func DefaultDirectory() string

Types

type Wallet

type Wallet struct {
	Path string
	Name string // only for create new wallet
}

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(password, mnemonic string) (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