Skip to main content

Module actor_id

Module actor_id 

Source
Expand description

Actor-URI parser and formatter mirroring tools/tf-types-ts/src/core/actor-id.ts.

Structs§

ParsedActorId

Enums§

ActorIdParseError

Constants§

ACTOR_TYPE_STRS

Functions§

actor_id_equals
derive_peer_actor
Derive the canonical actor URI for a peer identified by an ed25519 public key. Mirrors derivePeerActor in tools/tf-types-ts/src/core/actor-id.ts. Returns tf:actor:process:key/<hex> where <hex> is the lowercase hex of the first 8 bytes of sha256(ident_pub).
format_actor_id
parse_actor_id