Skip to content

Implement Admin Wallet Management Dashboard #82

Description

@Divineifed1

Priority: HIGH | Labels: frontend, admin, wallet, dashboard

Description:
UI for the admin wallet endpoints: balances, adjustments, freeze, reconciliation.

Endpoints to consume:

GET /admin/wallet/balances
POST /admin/wallet/adjust
GET /admin/wallet/transactions/:userId
POST /admin/wallet/freeze
GET /admin/wallet/reconciliation
Implementation:

Create components/admin/WalletBalancesTable.tsx - Filterable list of all user balances
Create components/admin/WalletAdjustmentModal.tsx - Manual balance adjustment form (requires audit justification)
Create components/admin/WalletTransactionHistory.tsx - Full transaction history per user
Create components/admin/WalletFreezeToggle.tsx - Freeze/unfreeze user wallet
Create components/admin/ReconciliationReport.tsx - Display DB vs blockchain discrepancies
Create app/admin/wallets/page.tsx - Main wallet management dashboard
Add lib/api/admin/wallet.ts - All admin wallet API calls
Acceptance Criteria:
Admins can view all wallet balances, adjust balances (with audit trail), freeze wallets, view transaction history, and run reconciliation reports.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

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