Component: app/page.jsx, lib/soroban-contract.ts
Type: Feature
Priority: High
Description:
The platform currently shows static placeholder content. Implement a real-time ideas feed that subscribes to blockchain events and updates the UI when new ideas are created or votes are cast.
Tasks:
- Implement SSE (Server-Sent Events) or WebSocket connection for real-time updates
- Create event listeners for
create_idea and vote_idea contract events
- Add optimistic UI updates for better user experience
- Implement pagination/infinite scroll for large datasets
- Add filter persistence across page refreshes
Acceptance Criteria:
- New ideas appear without page refresh
- Vote counts update in real-time
- Performance remains smooth with 1000+ items
Component:
app/page.jsx,lib/soroban-contract.tsType: Feature
Priority: High
Description:
The platform currently shows static placeholder content. Implement a real-time ideas feed that subscribes to blockchain events and updates the UI when new ideas are created or votes are cast.
Tasks:
create_ideaandvote_ideacontract eventsAcceptance Criteria: