Skip to content

query names owned by address - #1875

Draft
brenzi wants to merge 13 commits into
ab/eth-cryptofrom
ab/names-owned-by
Draft

brenzi wants to merge 13 commits into
ab/eth-cryptofrom
ab/names-owned-by

Conversation

@brenzi

@brenzi brenzi commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator
  • new snrc resolver path /v2/owned-by to query names owned by an ETH address
  • SMP ROWN command to wire it
  • bump SMP version to v23

brenzi and others added 3 commits September 22, 2026 08:53
/v2/owned-by/<address> lists the names an address holds, read off the
registrar's ERC-721 index so a name acquired by transfer counts too, and
reports whether the account has been used at all.

inUse is what a recovery scan asks: holding a name is only one way to be
in use, so the nonce and balance it is derived from are reported too. A
scan that gets this wrong hands out an account its owner already uses.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WHaVjENni2mwBUL77SwFvr
A recovered key has to be scanned for the accounts it already uses, which
needs a question the protocol could not ask: what does this address own.

ROWN carries one address and a page offset and is answered with ROWND,
from nameOwnedSMPVersion. The agent returns the relay it used so a scan
can ask the next account elsewhere: sending every account to one relay
would tell it they belong to one wallet.

inUse is the answer the scan acts on. Holding a name is only one way for
an account to be in use, so the resolver reports the nonce and balance it
is derived from; a scan that reads names alone hands out an account its
owner is already using.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WHaVjENni2mwBUL77SwFvr
@brenzi
brenzi added this pull request to stack #1876 September 22, 2026 11:47

This branch has not been deployed

No deployments
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.

1 participant