Skip to content

Booking Flow with Smart Contract #123

@respp

Description

@respp

📘 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

  1. Integrate BookingContract with the backend to handle booking requests.
  2. Create a POST /bookings endpoint to process booking requests.
  3. Implement on-chain validation for booking transactions.
  4. 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 /bookings endpoint 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

📜 Additional Notes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions