cosmos-sdk: github.com/cosmos/cosmos-sdk/types/bech32 Index | Files

package bech32

import "github.com/cosmos/cosmos-sdk/types/bech32"

Index

Package Files

bech32.go

func ConvertAndEncode Uses

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

ConvertAndEncode converts from a base64 encoded byte string to base32 encoded byte string and then to bech32.

func DecodeAndConvert Uses

func DecodeAndConvert(bech string) (string, []byte, error)

DecodeAndConvert decodes a bech32 encoded string and converts to base64 encoded bytes.

Package bech32 imports 2 packages (graph) and is imported by 4 packages. Updated 2020-08-01. Refresh now. Tools for package owners.