Skip to content

web: show tx hash and explorer link after submit - #468

Merged
Mimah97 merged 2 commits into
Vatix-Protocol:devfrom
CodeMasked:feat/tx-hash-explorer-link
Jun 30, 2026
Merged

web: show tx hash and explorer link after submit#468
Mimah97 merged 2 commits into
Vatix-Protocol:devfrom
CodeMasked:feat/tx-hash-explorer-link

Conversation

@CodeMasked

Copy link
Copy Markdown
Contributor

Add TxResult component that renders a confirmed tx hash as a clickable link to Stellar Expert (or the URL configured via NEXT_PUBLIC_EXPLORER_URL).

  • apps/web/components/TxResult.tsx: new component

    • Renders role=status paragraph with shortened hash
    • Links to ${EXPLORER_BASE}/${hash} (testnet by default)
    • Optional label prop (defaults to 'Transaction')
    • rel=noopener noreferrer, aria-label for accessibility
  • DepositForm.tsx: replace inline hash text with

  • WithdrawForm.tsx: replace inline hash text with

  • .env.local.example: document NEXT_PUBLIC_EXPLORER_URL
    closes Unify Makefile and CI wasm build target #362

CodeMasked and others added 2 commits June 29, 2026 17:35
Add TxResult component that renders a confirmed tx hash as a clickable
link to Stellar Expert (or the URL configured via NEXT_PUBLIC_EXPLORER_URL).

- apps/web/components/TxResult.tsx: new component
  - Renders role=status paragraph with shortened hash
  - Links to ${EXPLORER_BASE}/${hash} (testnet by default)
  - Optional label prop (defaults to 'Transaction')
  - rel=noopener noreferrer, aria-label for accessibility

- DepositForm.tsx: replace inline hash text with <TxResult label='Deposit' />
- WithdrawForm.tsx: replace inline hash text with <TxResult label='Withdrawal' />
- .env.local.example: document NEXT_PUBLIC_EXPLORER_URL
@Mimah97
Mimah97 merged commit 131cf74 into Vatix-Protocol:dev Jun 30, 2026
0 of 2 checks passed
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.

Unify Makefile and CI wasm build target

2 participants