Skip to content

[snrc resolver] owned by endpoint and expiry - #1858

Open
brenzi wants to merge 6 commits into
masterfrom
ab/snrc-resolver-owned-by
Open

[snrc resolver] owned by endpoint and expiry#1858
brenzi wants to merge 6 commits into
masterfrom
ab/snrc-resolver-owned-by

Conversation

@brenzi

@brenzi brenzi commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

closes #1821

New features:

  • new owned-by endpoint, returning all names owned by a given ETH address. This is needed to scan a recovered key for the names it owns
  • handle expiry:
    • report expires for resolved names, also the grace period
    • do not resolve expired names, but give meaningful error status
  • query by labelhash instead of plaintext name to prevent front-running when trying names using the resolver
  • return reserved status with a reason why the name has been reserved (currently a hardcoded reason, to be extended in the future)

Maturity:

  • some security hardening (fixing adversarial review findings)
  • add to this repo's CI

This PR is non-breaking (with the intended exception that expired names no longer get resolved as success, but as error with details)

@brenzi
brenzi changed the base branch from stable to master August 31, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SNRC name resolver should report name expiry status

1 participant