feat: replace dummy payment schedule with real blockchain data#37
feat: replace dummy payment schedule with real blockchain data#37romeoscript wants to merge 2 commits intoBlockHaven-Labs:mainfrom
Conversation
|
@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
7d1e4bd to
7edb388
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
There is something wrong with your logic somewhere:
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
|
@phertyameen check it |
There was a problem hiding this comment.
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
|
shit , just seeing this |
Closes #13