Skip to content

feat(stellar): add Stellar deep-link helpers#76

Open
uboho-prog wants to merge 1 commit into
wraith-protocol:developfrom
uboho-prog:deep-link/helper
Open

feat(stellar): add Stellar deep-link helpers#76
uboho-prog wants to merge 1 commit into
wraith-protocol:developfrom
uboho-prog:deep-link/helper

Conversation

@uboho-prog

Copy link
Copy Markdown

close #74

PR description
Title
Add Stellar Expert deep-link helpers and surface "View on stellar.expert" links

Summary
Centralize Stellar explorer URL generation and add consistent "View on stellar.expert" links in the Stellar send/receive UI.

Changes

Added: [stellarAccountUrl](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/), [stellarContractUrl](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/), [stellarAssetUrl](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/), [stellarOperationUrl](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/) helpers in [explorer.ts](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/).
Updated: [StellarSend.tsx](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/) — added "View on stellar.expert" links for announcer contract, stealth address, and tx hash.
Updated: [StellarReceive.tsx](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/) — added "View on stellar.expert" links for stealth addresses, withdraw/registration txs, and registry contract.

Motivation
Some Stellar identifiers were linked in one place but not others. This centralizes explorer URL generation and makes Stellar links consistent and discoverable across the demo UI.

How to test

Run typecheck and dev server:

In app (Stellar / Testnet):
    Send: perform a test send; confirm result panel shows the stealth address and tx with clickable "View on stellar.expert" links opening the Stellar Expert testnet pages.
    Receive: derive keys, (optionally) register, scan for payments; confirm each stealth row shows a "View on stellar.expert" link for the stealth address and any txs; registry contract link appears next to "On-Chain Registration".
    Verify external links open in a new tab and include [rel="noopener"](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/).

Files modified

[explorer.ts](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/)
[StellarSend.tsx](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/)
[StellarReceive.tsx](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/)
[task74.md](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/) (deleted)

Acceptance checklist

Centralized helpers: [explorer.ts](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/) exposes account/tx/contract/asset/operation helpers for Stellar.
UI links added: "View on stellar.expert" present where Stellar identifiers appear in Send/Receive.
Network-aware: links use the configured [STELLAR_NETWORK.explorerUrl](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/) (testnet in this branch).
Accessibility/security: external links include [rel="noopener"](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/) and [target="_blank"](https://cuddly-yodel-x56jjwj6jvqgcvg47.github.dev/).
Typecheck: tsc --noEmit passes locally.

Notes

Branch: deep-link/helper
No functional logic changes beyond adding links and helpers.

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

@uboho-prog 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 Jun 23, 2026

Copy link
Copy Markdown

@uboho-prog 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 truthixify changed the base branch from main to develop June 24, 2026 14:49
@truthixify

Copy link
Copy Markdown
Contributor

Two things before merge:

  1. Drop package-lock.json (25,919 lines npm lockfile). This repo uses pnpm. Use pnpm install to regenerate the pnpm lockfile if you added deps.
  2. Conflicts in StellarSend.tsx and StellarReceive.tsx. Quick rebase:
git fetch origin
git rebase origin/develop
rm package-lock.json
git add -u
git commit --amend
git push --force-with-lease

The explorer.ts helpers look good.

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.

Stellar Expert deep-link helper everywhere

2 participants