Versions in this module Expand all Collapse all v0 v0.3.1 Aug 25, 2023 Changes in this version + var AnonymousID = Principal + var DefaultSubAccount [32]byte + type AccountIdentifier [28]byte + func DecodeAccountID(s string) (AccountIdentifier, error) + func NewAccountID(p Principal, subAccount [32]byte) AccountIdentifier + func (id AccountIdentifier) Bytes() []byte + func (id AccountIdentifier) Encode() string + func (id AccountIdentifier) String() string + type Principal struct + Raw []byte + func Decode(s string) (Principal, error) + func NewSelfAuthenticating(pub []byte) Principal + func (p *Principal) UnmarshalCBOR(bytes []byte) error + func (p Principal) Encode() string + func (p Principal) MarshalCBOR() ([]byte, error) + func (p Principal) String() string + type SubAccount [32]byte