account

package
v0.0.0-...-3f665cf Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Key ecdsa.PrivateKey
}

Account entity

func FromHexKey

func FromHexKey(privateKey string) (Account, error)

FromHexKey generates an Account from a string version of a private key

func (*Account) Address

func (a *Account) Address() string

Address returns the address as a string

func (*Account) PrivateKey

func (a *Account) PrivateKey() string

PrivateKey returns the private key as a string

Jump to

Keyboard shortcuts

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