Skip to content

[Backend] Marketplace dispute resolution and arbitration #394

Description

@Penielka

Overview

Marketplace transactions can go wrong (non-delivery, misrepresentation). Add a dispute flow: buyers open disputes, evidence is attached, a mediator/adjudicator resolves with refund or release, and the escrow contract is invoked accordingly.

Acceptance Criteria

  • Buyers can open disputes against a marketplace listing
  • Evidence attachment and messaging within a dispute
  • Mediator resolution triggers refund or release via escrow
  • Dispute lifecycle is audit-logged and surfaced to admins
  • Escalation path from automated rules to human mediator

Files to Modify

  • backend/src/services/disputes/ — dispute service
  • backend/src/models/Dispute.ts — new model
  • backend/src/routes/disputes.ts — endpoints
  • contracts/src/marketplace.rs — escrow resolution hooks

Priority: Medium

Activity

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

Metadata

Metadata

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions