Documentation ¶
Overview ¶
Package keypair responses for account's private/public crypto keys.
Index ¶
Constants ¶
View Source
const ( // AddressBytes stores the address length in bytes AddressBytes = 25 // AddressLength stores the address length as string representation AddressLength = 40 // PrettyAddressLength stores the address length as pretty string representation PrettyAddressLength = 46 )
View Source
const ( // PrivateBytes stores the private key length in bytes PrivateBytes = 32 // PublicBytes stores the public key length in bytes PublicBytes = 32 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address [AddressBytes]byte
Address is a readable string representation for a public key.
func ParseAddress ¶ added in v0.3.0
ParseAddress constructs an instance of `Address` from given base32 string representation
func (Address) PrettyString ¶
PrettyString returns pretty formatted address with separators ('-').
Click to show internal directories.
Click to hide internal directories.