Milestone escrow: implement release_funds as real held escrow

Đang mở
#36 4 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@robertocarlous đang làm issue này rồi.

Từ ngày 21/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
0
Fork
4
Merge trung bình
54 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Yormee-103/PayLoop

Tất cả issue của Yormee-103/PayLoop

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.