address

package
v1.16.37 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatBech32

func FormatBech32(hrp string, data []byte) (string, error)

FormatBech32 formats a byte slice as a bech32 address with the given HRP

func ParseBech32

func ParseBech32(addr string) (string, []byte, error)

ParseBech32 parses a bech32 address and returns the HRP and data

Types

This section is empty.

Jump to

Keyboard shortcuts

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