Skip to content

Add wallet-safe pay-to address display and validation copy #90

Description

@emrekayat

Why this matters

Before an agent or reviewer pays for a query, the UI should make the configured pay-to address visible in a safe, inspectable way without exposing secrets or implying custody.

Scope

Add a compact pay-to address display near paid-query evidence or provider pricing:

  • shortened Stellar address with copy button;
  • clear testnet label when configured for Stellar testnet;
  • warning state when pay-to address is missing;
  • no private key or payment header display.

Suggested files:

  • apps/web/src/App.tsx
  • apps/api/src/routes/public.ts if a safe config field needs to be exposed;
  • packages/shared/src/schemas.ts if typing is needed.

Acceptance criteria

  • UI shows a shortened pay-to public address only, never a secret key.
  • Missing pay-to address renders a warning, not a blank state.
  • Copy button copies the full public address.
  • Test covers configured and missing address states.
  • Existing payment flow remains unchanged.

Wave complexity

High - improves payment transparency and reviewer trust before paid-query execution.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssue proposed for the Drips Stellar Wave programarea: securitySecurity and abuse preventionarea: webWeb and wallet experiencearea: x402x402 and Stellar paymentscomplexity: highExpected high implementation complexitydrips-candidateCandidate for a Drips Stellar WaveenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions