chain

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AddressLength contains size of address,
	// 1 byte of address version + 20 bytes of ScriptHash + 4 bytes of checksum.
	AddressLength = 25
)

Variables

This section is empty.

Functions

func KeyToAddress added in v1.3.0

func KeyToAddress(key *ecdsa.PublicKey) string

KeyToAddress returns NEO address composed from public key.

Types

type WalletAddress

type WalletAddress [AddressLength]byte

WalletAddress implements NEO address.

Jump to

Keyboard shortcuts

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