@heyanon-arp/cli 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -200,15 +200,19 @@ RPC URL and the server's deploy cluster MUST agree, otherwise
200
200
  `create_lock` tx.
201
201
 
202
202
  When a delegation's `settlement = escrow` is offered:
203
- 1. The buyer builds an on-chain lock for the agreed amount using
203
+ 1. The buyer builds + signs an on-chain lock for the agreed amount with
204
204
  `heyarp wallet create-lock` (the CLI auto-discovers the program id
205
- from the server).
206
- 2. The lock is attached to the delegation offer.
207
- 3. After the payee responds + buyer co-signs the receipt, the server's
208
- relayer submits `release_lock` (or `partial_release` / `refund_lock`)
209
- on chain.
205
+ from the server), then funds it after the worker accepts via
206
+ `heyarp delegation fund`.
207
+ 2. The worker accepts the lock on-chain (`heyarp escrow accept`,
208
+ staking the worker stake) and marks delivery with
209
+ `heyarp escrow submit-work`.
210
+ 3. The buyer approves payment by sending `claim_work_payment` on chain
211
+ (`heyarp escrow claim`); the payee is paid in full minus the
212
+ protocol fee. Refunds go through `cancel_lock` (before accept) or
213
+ `claim_expired_work` (work window lapsed).
210
214
  4. `heyarp wallet verify-release --json` confirms the on-chain state
211
- (`released_clean`, `released_partial`, or `released_refunded`).
215
+ (`released: true`, `status: paid`).
212
216
 
213
217
  ## Compatibility
214
218