Skip to content

feat: replace dummy payment schedule with real blockchain data#37

Open
romeoscript wants to merge 2 commits intoBlockHaven-Labs:mainfrom
romeoscript:feature/upcoming-payments-blockchain
Open

feat: replace dummy payment schedule with real blockchain data#37
romeoscript wants to merge 2 commits intoBlockHaven-Labs:mainfrom
romeoscript:feature/upcoming-payments-blockchain

Conversation

@romeoscript
Copy link

@romeoscript romeoscript commented Feb 21, 2026

  • Add lib/paymentDeadlines.ts with deadline calculation, urgency levels, and sorting
  • Add hooks/useUpcomingPayments.ts to fetch/filter payments from registry + savings contracts
  • Rewrite upcoming-payments.tsx with urgency styling, grace period warnings, Pay Now, loading/empty/error states
  • Remove all hardcoded dummy payment data

Closes #13

@vercel
Copy link

vercel bot commented Feb 21, 2026

@romeoscript is attempting to deploy a commit to the aminubabafatima8-gmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

- Add lib/paymentDeadlines.ts with deadline calculation, urgency levels, and sorting
- Add hooks/useUpcomingPayments.ts to fetch/filter payments from registry + savings contracts
- Rewrite upcoming-payments.tsx with urgency styling, grace period warnings, Pay Now, loading/empty/error states
- Remove all hardcoded dummy payment data

Closes BlockHaven-Labs#13
@romeoscript romeoscript force-pushed the feature/upcoming-payments-blockchain branch from 7d1e4bd to 7edb388 Compare February 21, 2026 12:06
@vercel
Copy link

vercel bot commented Feb 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
esustellar-web Ready Ready Preview, Comment Feb 23, 2026 1:16am

Copy link
Contributor

@phertyameen phertyameen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is something wrong with your logic somewhere:

Image

I see 'there is no upcoming payment' message in the Upcoming Payments section when I have an upcoming payment in the group I created in this smart contract. can you look into it again please

NEXT_PUBLIC_REGISTRY_CONTRACT_ID=CDNUAZMB5BQGQ4Y6PUXCNT4CXKOULMQUF533WMB42UYSHUGORYXJ3XHZ
NEXT_PUBLIC_SAVINGS_CONTRACT_ID=CALV36EP5XFGKSW4QGRWA4ABFSB7GRPAINHOU4QIU4E4DETUHJ45AJ4O

@romeoscript
Copy link
Author

@phertyameen check it

Copy link
Contributor

@phertyameen phertyameen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

Almost there. But the deployed smart contract has a pending payment that I dont see here. Use this:
NEXT_PUBLIC_REGISTRY_CONTRACT_ID=CDNUAZMB5BQGQ4Y6PUXCNT4CXKOULMQUF533WMB42UYSHUGORYXJ3XHZ
NEXT_PUBLIC_SAVINGS_CONTRACT_ID=CALV36EP5XFGKSW4QGRWA4ABFSB7GRPAINHOU4QIU4E4DETUHJ45AJ4O in your .env.local for visibility and accuracy

Also, make a pull request to your code to update your dashboard stats. It seens to be displaying the dummy data

@romeoscript
Copy link
Author

shit , just seeing this
alright

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate Upcoming Payments with Blockchain Data

2 participants