Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidVersion is returned when invalid version has been detected. ErrInvalidVersion = errors.New("invalid version") // ErrInvalidChainID is returned when invalid chain ID has been detected. ErrInvalidChainID = errors.New("invalid chain ID") )
Functions ¶
func GetAddress ¶
GetAddress returns the address given a public key and necessary params.
func GetPubkeyHash ¶
GetPubkeyHash extracts public key hash from address
func ValidateAddress ¶
ValidateAddress check if address if valid.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package bech32 includes a Bech32 string which is at most 90 characters long and consists of: The human-readable part, which is intended to convey the type of data, or anything else that is relevant to the reader.
|
Package bech32 includes a Bech32 string which is at most 90 characters long and consists of: The human-readable part, which is intended to convey the type of data, or anything else that is relevant to the reader. |
Click to show internal directories.
Click to hide internal directories.