Milestone escrow: implement release_funds as real held escrow

オープン
#36 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@robertocarlous がすでに取り組んでいます。

2026年11月21日 から。

評価

この issue はまだ評価されていません。

説明

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.

主要言語
TypeScript
スター
0
フォーク
4
平均マージ
54分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Yormee-103/PayLoop のほかの issue

Yormee-103/PayLoop の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。