sample

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccAddress

func AccAddress() string

AccAddress returns a sample account address

func AddressBz

func AddressBz() []byte

AddressBz returns a slice of base64 encoded bytes representing an address.

Types

type Account

type Account struct {
	Address   string
	AddressBz []byte
}

Account represents a bech32 encoded address and the base64 encoded slice of bytes representing said address.

func TestAccount

func TestAccount() Account

TestAccount returns an Account representing a newly generated PubKey.

Jump to

Keyboard shortcuts

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