Principal
IC principals (user and canister smart contract IDs)
Principal
type Principal = Prim.Types.Principal
Internet Computer principal identifiers.
Convert to Blob
for access to bytes.
fromActor
let fromActor : (a : actor { }) -> Principal
Conversion.
toBlob
let toBlob : (p : Principal) -> Blob
Conversion.
fromBlob
let fromBlob : (b : Blob) -> Principal
Conversion.
toText
func toText(p : Principal) : Text
Conversion.
isAnonymous
func isAnonymous(p : Principal) : Bool
fromText
func fromText(t : Text) : Principal