Skip to content

feat(names): add Wraith Names claim + manage UI (#122)#127

Merged
truthixify merged 5 commits into
wraith-protocol:developfrom
boalambo:feature/122-names-claim-manage-ui
Jul 27, 2026
Merged

feat(names): add Wraith Names claim + manage UI (#122)#127
truthixify merged 5 commits into
wraith-protocol:developfrom
boalambo:feature/122-names-claim-manage-ui

Conversation

@boalambo

Copy link
Copy Markdown
Contributor

Summary

Adds a full UI for the Wraith Names contract (register / transfer / renew / metadata), closing the gap where users previously had to rely on the CLI.

Closes #122

What's included

  • /names page — lists names owned by the connected wallet, with actions to register a new name, renew an expiring one, and transfer ownership to another address.
  • Inline availability check — debounced search input that queries the contract as you type, giving a near-instant available/taken result without spamming RPC calls.
  • Metadata editor — set avatar URL, Twitter handle, and description per name.
  • Expiring names banner — surfaces on the Stellar Send page (Home) when the connected wallet has names nearing expiry, so renewal isn't missed.

Files changed

  • src/pages/Names.tsx (new) — main Names page: list, register, renew, transfer, metadata editor.
  • src/lib/stellar/names.ts (new) — contract entrypoint calls (register, transfer, renew, set_metadata) and availability lookup.
  • src/components/ExpiringNamesBanner.tsx (new) — reusable banner component for expiring names.
  • src/App.tsx — added /names route.
  • src/components/Header.tsx — added "Names" nav link.
  • src/components/StellarSend.tsx — integrated ExpiringNamesBanner on Home.

Acceptance criteria

  • All contract entrypoints covered (register, transfer, renew, set_metadata)
  • Availability check responds in <500ms (debounced input + perf logging)
  • Expiring names surface a banner on Home

Design/implementation notes

  • Follows existing codebase patterns and design system (colors, typography, layout).
  • Uses the existing Stellar wallet context for transaction signing — no new wallet integration needed.
  • Debouncing on the availability search prevents excessive contract calls while typing.
  • Rebased cleanly onto develop; resolved merge conflicts in App.tsx, Header.tsx, and StellarSend.tsx from unrelated changes landed on develop in the meantime (new routes, nav links, and CI fixes).

Testing

  • Manual testing against the Names contract (Stealth account labeling + personal organization #20) on testnet.
  • Verified register/renew/transfer flows sign and submit correctly via wallet context.
  • Verified banner appears/disappears correctly based on name expiry thresholds.

Notes

  • Please check availability-check latency on your end too, since network conditions affect the <500ms target.
  • Open to feedback on the expiry threshold used for the banner warning.

@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

@boalambo is attempting to deploy a commit to the truthixify's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 24, 2026

Copy link
Copy Markdown

@boalambo Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@truthixify

Copy link
Copy Markdown
Contributor

Correction to my earlier comment: this hit merge conflicts against develop after the batch merge cascade. Rebase and force-push and I will pick it up.

boalambo added 4 commits July 26, 2026 15:11
- Add /names page: list owned names, register, renew, transfer
- Add inline availability search with debouncing (<500ms)
- Add metadata editor (avatar, twitter, description)
- Add ExpiringNamesBanner component, surfaced on StellarSend (Home)
- Add src/lib/stellar/names.ts for contract entrypoint calls
- Wire up /names route in App.tsx and nav link in Header
@boalambo
boalambo force-pushed the feature/122-names-claim-manage-ui branch from dead8f1 to abe6d2c Compare July 26, 2026 14:12
@boalambo

boalambo commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

Correction to my earlier comment: this hit merge conflicts against develop after the batch merge cascade. Rebase and force-push and I will pick it up.

Pls check again, and happy weekend. @truthixify

@truthixify
truthixify merged commit e74a097 into wraith-protocol:develop Jul 27, 2026
1 of 2 checks passed
@truthixify

Copy link
Copy Markdown
Contributor

Merged. Names claim UI closes the loop for the .wraith flow end-to-end, appreciated.

@boalambo
boalambo deleted the feature/122-names-claim-manage-ui branch July 27, 2026 14:02
@boalambo

Copy link
Copy Markdown
Contributor Author

Merged. Names claim UI closes the loop for the .wraith flow end-to-end, appreciated.

Thank you for the compliment. Looking forward to work for you again

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.

Wraith Names claim + manage UI

2 participants