Skip to content

Build event creation form page in soroban-client #34

@manoahLinks

Description

@manoahLinks

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

  • /create-event route accessible
  • Form with all required fields
  • Client-side validation
  • Contract interaction on submit (requires wallet connection)
  • Loading states and error handling

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions