-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Labels
Description
📘 Issue Description
Implement the complete booking flow, integrating the backend with the BookingContract smart contract for on-chain validation. Although the base contract exists, it is not integrated with the backend, and there is no functional endpoint for processing bookings.
Area: Backend & Contracts
Priority: High
🔍 Steps
- Integrate
BookingContractwith the backend to handle booking requests. - Create a
POST /bookingsendpoint to process booking requests. - Implement on-chain validation for booking transactions.
- Ensure booking data is correctly stored in Supabase and reflected on the blockchain.
✅ Acceptance Criteria
- Booking requests are successfully processed through the backend and validated on-chain.
- The
POST /bookingsendpoint works correctly and returns appropriate responses. - Booking data is accurately stored in Supabase and on the blockchain.
- The complete booking flow is tested and functional.
🌎 References
- Stellar Smart Contracts Documentation
- BookingContract Folder
- It would also be advisable to review the pull request submitted by this contributor. Since they were unable to complete it, it was previously closed: PR 94
📜 Additional Notes
- The smart contract should handle scenarios like cancellations and disputes.
- Depends on authentication (Set Up Backend and Implement User Registration #1) to identify users.
Reactions are currently unavailable