This is a template to call flows created on Space Operator.
Load flow, update required inputs, and start it. Websocket connection will be established to provides updates.
Using Next.js 14 with App Router, Tailwind CSS, and shadcn/ui
npm install
npm run dev
Open http://localhost:3000 with your browser to see the result.
NEXT_PUBLIC_HELIUS_URL="RPC_URL"
NEXT_PUBLIC_FLOW_INSTANCE="GET_FROM_API_PAGE"
NEXT_PUBLIC_USER_API_KEY="GET_FROM_API_PAGE"
NEXT_PUBLIC_SUPABASE_URL="GET_FROM_API_PAGE"
NEXT_PUBLIC_SUPABASE_ANON_KEY="GET_FROM_API_PAGE"