address

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0, BSD-2-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddressEmpty = Address{}

AddressEmpty represents the 0-value of an address.

Functions

This section is empty.

Types

type Address

type Address struct {
	AddressBytes [devnetvm.AddressLength]byte
	Index        uint64
}

Address represents an address in a wallet. It extends the normal address type with an index number that was used to generate the address from its seed.

func (Address) Address added in v0.4.0

func (a Address) Address() (ledgerStateAddress devnetvm.Address)

Address returns the ledgerstate Address of this wallet Address.

func (Address) Base58 added in v0.5.0

func (a Address) Base58() string

Base58 returns the base58 encoded address.

func (Address) String added in v0.4.0

func (a Address) String() string

Jump to

Keyboard shortcuts

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