Skip to content

[FE-31] Build PublicVerificationPage #528

@mftee

Description

@mftee

Problem

Third parties such as lawyers, land bureaus, and government officials cannot verify a document's integrity without creating a SMALDA account. The public verification endpoint (BE-23) exists but there is no corresponding public-facing page.

Proposed Solution

Create a PublicVerificationPage inside frontend/module/verify/ that is accessible without authentication and allows anyone to verify a document hash against the Stellar blockchain.

Acceptance Criteria

  • Page requires no login — it is publicly accessible
  • Renders a prominent hash input field with a Verify button
  • Validates that the input is a 64-character hex string before submitting — shows inline error for invalid format
  • On submit, calls GET /api/module/verify/:hash and displays the result
  • Verified result shows: a green Verified on Stellar banner, the Stellar transaction hash (using StellarTransactionLink FE-11), ledger number, and anchored timestamp
  • Unverified result shows: a red Not verified on Stellar banner and a message that no blockchain record was found for this hash
  • Includes a brief explanation of what document hash verification means for users unfamiliar with blockchain
  • All component files live inside frontend/module/verify/

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions