Skip to content

core: implement real-time events via Supabase Realtime#91

Open
Godfrey-Delight wants to merge 1 commit into
StepFi-app:mainfrom
Godfrey-Delight:feat/realtime-notifications
Open

core: implement real-time events via Supabase Realtime#91
Godfrey-Delight wants to merge 1 commit into
StepFi-app:mainfrom
Godfrey-Delight:feat/realtime-notifications

Conversation

@Godfrey-Delight

Copy link
Copy Markdown
Contributor

🔗 Related Issue

Closes #30


🔖 Title

Implementation of real-time events via Supabase Realtime


📝 Description

Adds real-time notifications via Supabase Realtime (replication on loan_index/payment_index) and a standalone WebSocket gateway (port 3005), so loan status changes and payment confirmations broadcast immediately instead of requiring polling. Includes indexer event handlers wiring LOAN_CREATED/LOAN_REPAID/LOAN_DEFAULTED to broadcasts, and an integration guide for clients. Closes #30


🔄 Changes Made

  • Migration to enable Supabase Realtime on loan_index and payment_index
  • Standalone WebSocket gateway (port 3005) + realtime.service.ts broadcast helpers
  • Indexer event handlers wired to broadcast on LOAN_CREATED/LOAN_REPAID/LOAN_DEFAULTED, plus integration guide

📸 Screenshots (if applicable)


🗒️ Additional Notes

Adds real-time notifications via Supabase Realtime (replication on `loan_index`/`payment_index`) and a standalone WebSocket gateway (port 3005), so loan status changes and payment confirmations broadcast immediately instead of requiring polling. Includes indexer event handlers wiring `LOAN_CREATED`/`LOAN_REPAID`/`LOAN_DEFAULTED` to broadcasts, and an integration guide for clients.
Closes StepFi-app#30
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.

core: implement real-time events via Supabase Realtime

1 participant