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_event contract 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
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_managerSoroban contract.Expected Implementation
/create-eventcreate_eventcontract function:@stellar/stellar-sdkFiles
soroban-client/app/create-event/page.tsxsoroban-client/lib/soroban.ts(contract interaction helpers)soroban-client/components/Header.tsx(link "Create Events" button)Acceptance Criteria
/create-eventroute accessible