Skip to content

Feature/fund escrow modal 68#89

Open
mijinummi wants to merge 2 commits intoStayLitCodes:mainfrom
mijinummi:feature/fund-escrow-modal-68
Open

Feature/fund escrow modal 68#89
mijinummi wants to merge 2 commits intoStayLitCodes:mainfrom
mijinummi:feature/fund-escrow-modal-68

Conversation

@mijinummi
Copy link
Contributor

Fund Escrow Modal with Stellar Transaction (#68)

Summary

This PR introduces a modal for funding escrows with Stellar wallet integration.
It allows sellers/buyers to connect their wallet, preview transaction details, sign, and submit securely.

Changes

  • Added FundEscrowModal.tsx under frontend/components/escrow/modals/
  • Integrated with WalletContext for Freighter/Albedo wallet signing
  • Displayed funding amount, fees, and total before signing
  • Implemented transaction status tracking:
    • Pending
    • Success (with transaction hash)
    • Failed (error handling)
  • Added UI for transaction preview and confirmation

Acceptance Criteria Covered

  • ✅ Fund Escrow button triggers modal
  • ✅ Wallet integration for signing
  • ✅ Transaction preview before signing
  • ✅ Transaction status tracking
  • ✅ Stellar transaction hash displayed on success

Testing

  • Verified wallet connection flow
  • Verified transaction signing UX
  • Verified error handling for wallet rejection
  • Verified success flow with transaction hash display

Next Steps

Copy link
Contributor

@Cedarich Cedarich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please boss address build errors

Run npm run build

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.

Implement Fund Escrow Modal with Stellar Transaction

2 participants