You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This task involves building the "Escrow Setup" step of the "Launch Campaign" flow. Users will review milestone summaries, understand escrow terms, select their preferred escrow network, transaction type, and connect their wallet to finalize the smart contract setup. The system must adhere strictly to the provided Figma designs and API documentation, while reusing existing components to maintain consistency across the application.
This system must handle all loading, error, and empty states gracefully, and it should follow the defined color palette, typography, and spacing from the design system.
The "Milestone Summary" section will display previously defined milestones (e.g., "Prototype & Smart Contract Setup", "Campaign & Grant Builder Integration").
Each milestone should be expandable to show details like date and amount.
Understand Escrow Terms
Review the "Escrow Terms" section, which outlines key aspects of the smart contract:
Smart Contract Control
Milestone-Based Release
Immutable Fund Allocation
Non-Custodial Holding
Unmet Funding Goals
KYC Compliance
Transparency
Configure Escrow Details
Escrow Network: Select the desired blockchain network (e.g., "Stella / Soroban"). This field is required.
Transaction Type: This field should display "On-chain, Irreversible".
Wallet Address: This field will display the connected wallet address (e.g., "GDS3...GB7").
Connect Wallet
Click the "Connect Wallet" button.
A "Connect Wallet" modal will appear, requiring users to:
Accept "Terms of Service and Privacy Policy".
Choose a network (e.g., "Stella / Soroban").
Select a wallet from a list of supported options (e.g., Wallet Connect, Ledger, Freighter, Lobstr, Albedo, Trezor, xBull, Hana, Rabet, HOT Wallet).
Upon successful connection, the "Wallet Address" field in the main form will update, and a "Wallet connected!" toast/indicator will appear.
Review & Submit
The "I understand and agree to the above escrow terms." checkbox must be checked to enable the "Review & Submit" button.
The "Review & Submit" button should be disabled if the wallet is not connected or terms are not accepted.
On clicking "Review & Submit", the system should validate inputs and proceed to the next step of the "Launch Campaign" flow (Review Campaign).
We are not against AI-assisted design, but any AI-generated UI must be thoroughly tweaked to match the Figma designs exactly.
Do not rely on AI output without:
Adjusting to match spacing, typography, and colors from the design system.
Ensuring responsive and accessible layout.
Checking for consistency with existing components.
Failure to follow these steps will result in your work being rejected.
Timeline
Draft PR: Within 24h of assignment (include screenshots and development notes).
Implement Launch Campaign: Escrow Setup
Overview
This task involves building the "Escrow Setup" step of the "Launch Campaign" flow. Users will review milestone summaries, understand escrow terms, select their preferred escrow network, transaction type, and connect their wallet to finalize the smart contract setup. The system must adhere strictly to the provided Figma designs and API documentation, while reusing existing components to maintain consistency across the application.
This system must handle all loading, error, and empty states gracefully, and it should follow the defined color palette, typography, and spacing from the design system.
User Flow
Access Escrow Setup UI
Review Milestone Summary
Understand Escrow Terms
Configure Escrow Details
Connect Wallet
Review & Submit
API
For any missing endpoints, mock the expected behavior in the frontend until backend endpoints are available.
Ensure all API calls:
Design Requirements
Match Figma exactly:
Final Flow
Development Guidelines
EscrowSetupForm– Main component for the form.WalletConnectModal– Handles wallet selection and connection.We are not against AI-assisted design, but any AI-generated UI must be thoroughly tweaked to match the Figma designs exactly.
Do not rely on AI output without:
Failure to follow these steps will result in your work being rejected.
Timeline