ReBoxed
Safe trades for Smart buyers
The problem ReBoxed solves
Challenges I Ran Into
Escrow State Synchronization Across User Actions
One of the biggest challenges was ensuring that escrow states remained consistent across different user actions such as payment completion, order delivery, verification, and dispute initiation. Since escrow logic is trust-critical, even a minor mismatch between UI state and backend state could lead to incorrect fund release or blocked transactions.
How I solved it:
We separated escrow logic into its own domain state and enforced strict state transitions. Each action explicitly updated escrow status, and UI components were rendered only based on the current escrow state rather than user assumptions. This eliminated accidental state leakage and ensured correctness.
Verification Timer Edge Cases
Implementing the verification countdown introduced multiple edge cases, especially when users refreshed the page, navigated away, or returned after the verification window expired. Initially, the timer reset incorrectly, which could delay escrow release or confuse users.
How I solved it:
Instead of relying on client-side timers alone, we derived remaining verification time from stored timestamps. This made the timer deterministic and resilient to reloads, ensuring automatic verification and escrow release worked reliably.
Dispute Flow Without Breaking Escrow Guarantees
Another challenge was handling disputes without accidentally releasing funds. Early versions allowed users to navigate away mid-dispute submission, leaving escrow in an undefined state.
How I solved it:
We locked escrow state immediately upon dispute initiation and added navigation guards until the dispute was formally submitted. This ensured funds stayed protected and disputes were always traceable.
Balancing Transparency With Simplicity
Escrow systems can be complex, and exposing too much technical detail risked overwhelming users. At the same time, hiding details reduced trust.
How I solved it:
We introduced visual escrow timelines, trust badges, and short explanatory microcopy. This communicated complex processes clearly without requiring technical knowledge, improving user confidence.
Integrating Multiple AWS Services Smoothly
Coordinating authentication, APIs, storage, and monitoring across AWS services was initially complex, especially while keeping the system serverless and scalable.
How I solved it:
We adopted an event-driven approach and used managed AWS services to minimize operational overhead. Clear separation of concerns allowed each service to remain independent while still working together seamlessly.
Key Takeaway
The main challenge was not writing code, but designing a system where trust, correctness, and user experience all worked together. By enforcing strict state rules, using time-based logic correctly, and prioritizing clarity, we transformed complex problems into reliable, scalable solutions.
https://docs.google.com/document/d/1eWOkKxMp0ONKQfnb2spDjJ03F85zo3fcG6u7UFe3Le4/edit?usp=sharing
Challenges we ran into
Challenges I Ran Into
Escrow State Synchronization Across User Actions
One of the biggest challenges was ensuring that escrow states remained consistent across different user actions such as payment completion, order delivery, verification, and dispute initiation. Since escrow logic is trust-critical, even a minor mismatch between UI state and backend state could lead to incorrect fund release or blocked transactions.
How I solved it:
We separated escrow logic into its own domain state and enforced strict state transitions. Each action explicitly updated escrow status, and UI components were rendered only based on the current escrow state rather than user assumptions. This eliminated accidental state leakage and ensured correctness.
Verification Timer Edge Cases
Implementing the verification countdown introduced multiple edge cases, especially when users refreshed the page, navigated away, or returned after the verification window expired. Initially, the timer reset incorrectly, which could delay escrow release or confuse users.
How I solved it:
Instead of relying on client-side timers alone, we derived remaining verification time from stored timestamps. This made the timer deterministic and resilient to reloads, ensuring automatic verification and escrow release worked reliably.
Dispute Flow Without Breaking Escrow Guarantees
Another challenge was handling disputes without accidentally releasing funds. Early versions allowed users to navigate away mid-dispute submission, leaving escrow in an undefined state.
How I solved it:
We locked escrow state immediately upon dispute initiation and added navigation guards until the dispute was formally submitted. This ensured funds stayed protected and disputes were always traceable.
Balancing Transparency With Simplicity
Escrow systems can be complex, and exposing too much technical detail risked overwhelming users. At the same time, hiding details reduced trust.
How I solved it:
We introduced visual escrow timelines, trust badges, and short explanatory microcopy. This communicated complex processes clearly without requiring technical knowledge, improving user confidence.
Integrating Multiple AWS Services Smoothly
Coordinating authentication, APIs, storage, and monitoring across AWS services was initially complex, especially while keeping the system serverless and scalable.
How I solved it:
We adopted an event-driven approach and used managed AWS services to minimize operational overhead. Clear separation of concerns allowed each service to remain independent while still working together seamlessly.
Key Takeaway
The main challenge was not writing code, but designing a system where trust, correctness, and user experience all worked together. By enforcing strict state rules, using time-based logic correctly, and prioritizing clarity, we transformed complex problems into reliable, scalable solutions.
Tracks Applied (1)
Best Innovation
Technologies used
