accounts

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKeys

func CreateKeys(keydir, password string, numKeys uint) ([]common.Address, error)

CreateKeys creates a new account in the specified key directory, unlockable with the given password. If the key creation is successful, the function returns the address of the new account with a nil error. Otherwise, it returns the 0 address with a non-nil error.

func GetAddress

func GetAddress(keyfile string) (common.Address, error)

GetAddress examines an Ethereum keyfile, and returns the address it represents. It returns an error if it failed to read the file or to identify an address in it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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