FastATP

ContinuityResolver

A class in fastatp.did.resolver (source).

ContinuityResolver(
    base: DIDResolver | None = None,
    *,
    strict: bool = False,
    chain_fetch: ChainFetch | None = None,
    timeout: float = 10.0,
)

Self-certifying did:web resolution.

Wraps a base resolver. When the resolved document advertises a continuity twin (alsoKnownAs entry <did>:<slug>), the resolver fetches and verifies the twin's append-only chain before trusting the served document, and fails closed on any inconsistency:

Tiers (edge policy): a vanilla did:web resolver ignores the alias entirely (graceful degradation — never punished); this resolver verifies if present and, if the alias is absent, returns the plain document (adoption is opt-in); strict=True requires a continuity twin for every resolved DID (refuse strangers without one).

Attributes