Skip to content

[Feat] Clickable Basescan tx links on donation history + pagination #351

@realproject7

Description

@realproject7

Feature: Add Basescan tx link to donation history records

Problem

The donation history on the reader dashboard shows donation records (e.g., "Story #1 Mar 19 — 10 PL_TEST") but the records are not clickable. Since we index donation tx hashes in the DB, we should link each record to its Basescan transaction page.

Scope

  • Make the donation amount or a tx icon clickable, linking to ${EXPLORER_URL}/tx/${tx_hash}
  • Import EXPLORER_URL from lib/contracts/constants.ts
  • Ensure the tx_hash field is available in the donation query (check if already fetched)
  • Add pagination with a "Load more" button (default 10 records, load 10 more on click)

Files to Investigate

  • Reader dashboard component that renders Donation History
  • Supabase query for donations (check if tx_hash is selected)

Branch

task/351-donation-tx-link

Labels

agent/T3, feat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions