Skip to content

FE: Submit work flow (on-chain anchor) + withdraw submission #625

Description

@0xdevcollins

Context

Part of the Bounty Builder Lifecycle milestone (v1 boundless). After entry (claim/join/selection), the builder submits their work, which is anchored on-chain.

Blueprint to mirror

  • components/hackathons/submissions/SubmissionForm.tsx + SubmissionAnchorProgress.tsx
  • features/hackathons/api/use-submission-anchor.ts (participant anchor via the runner)

Tasks

  • Submission form: contentUri (PR / repo / writeup / demo link per the bounty's deliverable) -> submit escrow op (useEscrowOpRunner, participant, default MANAGED) + an anchor progress dialog (draft -> on-chain -> confirmed) with tx hash.
  • Withdraw submission (withdraw-submission escrow op) before the deadline.
  • Guard by bounty status + submission deadline + entry eligibility (claimed/joined/selected/shortlisted).

Acceptance criteria

  • Submit anchors on-chain and reaches confirmed; withdraw works; flows are correctly guarded.

Depends on

  • Bounty data layer; apply/join/claim flow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions