Skip to content

On-chain Activity Feed — Transaction History per Wallet #201

Description

@Villarley

Overview

Add a transaction history / activity feed that shows a connected wallet's past on-chain interactions with Neko contracts (vaults, lending, swaps, pools).

Motivation

Users currently have no way to see what they've done inside Neko. An activity feed is a baseline feature for any financial app and is critical for trust — users need to verify their transactions happened.

Scope

  • Index relevant Stellar/Soroban events via Horizon and/or RPC getLedgerEntries
  • Events to track: vault deposit/withdraw, lending supply/borrow/repay, swap executed, pool join/exit
  • UI: a feed component on the Dashboard page showing:
    • Transaction type (icon + label)
    • Amount and asset
    • Timestamp
    • Link to Stellar Expert
  • Pagination or infinite scroll (last 50 txs)
  • Filterable by type

Technical Notes

  • Use Horizon /accounts/{address}/transactions + /accounts/{address}/operations as data source
  • For Soroban contract events: rpc.getEvents() filtered by contract ID and topic
  • Consider a lightweight React Query polling approach (no WebSocket needed for POC)

Acceptance Criteria

  • Activity feed visible on Dashboard for any connected wallet
  • Shows at least: vault deposits/withdraws and swap history
  • Each entry links to Stellar Expert
  • Works on mobile layout
  • Empty state handled gracefully (new wallet with no history)

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or request

Type

No type

Fields

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