Milestone escrow: implement release_funds as real held escrow

Aperta
#36 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@robertocarlous ci sta già lavorando.

Dal 21/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

contract difficulty: advanced enhancement needs-discussion Stellar Wave web

Difficulty: Advanced

Description

release_funds is currently a documented no-op, kept as a seam for the roadmap's "milestone-based escrow (deposit + final)".

Implementation suggestions

Design and discuss first. Likely a new contract version with milestones on an invoice, client deposits per milestone into the contract, release by the client or after the freelancer's delivery plus a timeout, and refund and dispute paths. Write a spec doc first, then implement, with MockAuth tests for every transition. Add UI for milestones.

Acceptance criteria

  • An approved spec exists in docs/.
  • Funds are never releasable by an unauthorised party (tested).
  • No path leaves funds stuck (tested).
  • The upgrade path is documented, since this requires a new deployment.

Dependencies / related

Needs discussion (changes the custody model; new deployment). Should build on the outcomes of #28 (TTL), #29 (cancel) and #35 (multi-token) so the design accounts for them.

Lingua principale
TypeScript
Stelle
0
Fork
4
Merge medio
54m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Yormee-103/PayLoop

Tutte le issue di Yormee-103/PayLoop

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.