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
Context
Point noted by Isaac Klassen (mentor, Milestone 1 feedback):
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
deadlinefield 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