sample

package
v0.0.0-...-4285c94 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 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

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