Documentation
¶
Index ¶
Constants ¶
View Source
const ( BYRON = 0b1000 KEY_KEY = 0b0000 SCRIPT_KEY = 0b0001 KEY_SCRIPT = 0b0010 SCRIPT_SCRIPT = 0b0011 KEY_POINTER = 0b0100 SCRIPT_POINTER = 0b0101 KEY_NONE = 0b0110 SCRIPT_NONE = 0b0111 NONE_KEY = 0b1110 NONE_SCRIPT = 0b1111 )
View Source
const ( MAINNET = 1 TESTNET = 0 )
Variables ¶
This section is empty.
Functions ¶
func ComputeHrp ¶
Types ¶
type Address ¶
type Address struct { PaymentPart []byte StakingPart []byte Network byte AddressType byte HeaderByte byte Hrp string }
func DecodeAddress ¶
func (*Address) MarshalCBOR ¶
func (*Address) UnmarshalCBOR ¶
Click to show internal directories.
Click to hide internal directories.