address

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const BytesSize = 32

BytesSize is the size of an Algorand address in bytes. This is NOT the size of the base32 string form of an Algorand address.

Variables

This section is empty.

Functions

func Checksum

func Checksum(addressBytes [BytesSize]byte) []byte

Checksum computes the address checksum

func FromString

func FromString(addressString string) ([BytesSize]byte, error)

FromString converts a string to a 32 byte Algorand address

func ToString

func ToString(addressBytes [BytesSize]byte) string

ToString converts a 32 byte Algorand address to a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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