Help us shape the future of Go! Take the 2026 Go Developer Survey

address

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 7 Imported by: 830

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBech32Codec

func NewBech32Codec(prefix string) address.Codec

Types

type Bech32Codec

type Bech32Codec struct {
	Bech32Prefix string
}

func (Bech32Codec) BytesToString

func (bc Bech32Codec) BytesToString(bz []byte) (string, error)

BytesToString decodes bytes to text

func (Bech32Codec) StringToBytes

func (bc Bech32Codec) StringToBytes(text string) ([]byte, error)

StringToBytes encodes text to bytes

Jump to

Keyboard shortcuts

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