ethkey

package
v0.0.0-...-aa79317 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintNewWallet

func PrintNewWallet()

PrintNewWallet creates a new wallet and prints out keys and Ethereum address

Types

type Ethkey

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

Ethkey holds private key used in Ethereum wallets

func NewEthkey

func NewEthkey() Ethkey

NewEthkey generates a new Ethereum private key object

func (Ethkey) Address

func (kp Ethkey) Address() string

Address returns ethereum address in hex format

func (Ethkey) Private

func (kp Ethkey) Private() string

Private returns private key string in hex format

func (Ethkey) Public

func (kp Ethkey) Public() string

Public returns public key string in hex format

Jump to

Keyboard shortcuts

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