Description
This issue aims to address the implementation of Build a Reactive Soroban Contract Event Subscription Layer.
The core objective is to: Create a typed useContractEvents hook that streams escrow/dispute contract events, deduplicates across reconnects, and hydrates the UI cache without full refetches.
By completing this feature, we will ensure that the TrustFlow protocol maintains its high standards for security, usability, and decentralized logic. This issue requires careful attention to the Frontend architecture and adherence to the existing project conventions.
When picking up this issue, please ensure you document any new dependencies or architectural decisions made during development.
Component
Frontend
Difficulty
🔴 Hard
Tasks
Acceptance Criteria
Estimated Time
3-5 days
Description
This issue aims to address the implementation of Build a Reactive Soroban Contract Event Subscription Layer.
The core objective is to: Create a typed
useContractEventshook that streams escrow/dispute contract events, deduplicates across reconnects, and hydrates the UI cache without full refetches.By completing this feature, we will ensure that the TrustFlow protocol maintains its high standards for security, usability, and decentralized logic. This issue requires careful attention to the Frontend architecture and adherence to the existing project conventions.
When picking up this issue, please ensure you document any new dependencies or architectural decisions made during development.
Component
Frontend
Difficulty
🔴 Hard
Tasks
npmdependencies in CInpm run lintandnpm run typechecknpm run buildto verify production bundlingAcceptance Criteria
useContractEventshook that streams escrow/dispute contract events, deduplicates across reconnects, and hydrates the UI cache without full refetches.Estimated Time
3-5 days