-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
Description
Description
The landing page has a "Create Events" CTA button but there is no event creation page or form. Users need a page to create events that calls the event_manager Soroban contract.
Expected Implementation
- New route:
/create-event - Form fields matching the
create_eventcontract function:- Event theme/name (text)
- Event type (dropdown: Conference, Concert, Workshop, etc.)
- Start date & time (datetime picker)
- End date & time (datetime picker)
- Ticket price in XLM (number input)
- Total tickets (number input)
- Form validation matching contract validation rules
- Submit calls the Soroban contract via
@stellar/stellar-sdk - Success/error feedback to user
Files
- New:
soroban-client/app/create-event/page.tsx - New:
soroban-client/lib/soroban.ts(contract interaction helpers) soroban-client/components/Header.tsx(link "Create Events" button)
Acceptance Criteria
-
/create-eventroute accessible - Form with all required fields
- Client-side validation
- Contract interaction on submit (requires wallet connection)
- Loading states and error handling
Reactions are currently unavailable