ss58

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SSPrefix = []byte{0x53, 0x53, 0x35, 0x38, 0x50, 0x52, 0x45}
)

Functions

func AppendBytes

func AppendBytes(data1, data2 []byte) []byte

func Decode

func Decode(address string) ([]byte, error)

func DecodeToPub

func DecodeToPub(address string) ([]byte, error)

func Encode

func Encode(publicKeyHash []byte, prefix []byte) (string, error)

func EncodeByPubHex

func EncodeByPubHex(publicHex string, prefix []byte) (string, error)

func VerityAddress

func VerityAddress(address string, prefix []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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