Skip to content

[TD-05] Design basic dispute resolution mechanism #5

Description

@licette32

Context

Point noted by Isaac Klassen (mentor, Milestone 1 feedback):

"what happens if there is disagreement and if there will be some basic dispute flow or manual review in the MVP"

Currently, if the hospital and technician do not agree, the funds remain locked indefinitely in the Vault PDA.

Plan for MVP (v1.1)

Document as a known limitation. Do not implement yet.

Plan for v1.2

Option A — Expiration: the hospital can reclaim the funds if the technician does not complete the job within N days. Requires modification to the Anchor program (adding a deadline field in the Asset PDA).

Option B — Optional Arbiter: a designated third signature can unlock the funds. Requires a new resolve_dispute(winner) instruction in the program.

Milestone: v1.2

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions