You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3d3bc5f
Browse filesBrowse the repository at this point in the historyBrowse files
Archive can post MockDleAuctionSettlement.settle after list escrow; add mock-auction-e2e, settle helper, and RULES/docs honesty for demo vs real txHash.
Co-authored-by: Cursor <cursoragent@cursor.com>
| One-shot local | Root `scripts/dle/mockAuctionE2eLocal.sh` → `npm run dle:mock-auction-e2e`|
35
37
| Web | Explorer `/mock-auction` (session keys may sign; Archive-side custody when RPC set) |
36
38
37
39
## MVP round 2 (2026-08)
38
40
39
41
1. Archive `POST /trade/check` verifies NFT `ownerOf` + `getApproved`/`isApprovedForAll` and ERC-20 `balanceOf` + `allowance` against the mock settlement when RPC env is set (client custody flags ignored).
40
-
2.`npm run mock-auction-demo` runs submit→scan→candidate→check→attest→settle in-process.
42
+
2.`npm run mock-auction-demo` runs submit→scan→candidate→check→attest→settle in-process (**lab / optional custody**; settle may use a demo txHash when on-chain settle is off).
41
43
3. Explorer can sign sell/buy with memory-only session keys (no disk persistence).
42
44
4. Root `dle:deploy:mock-auction-local` prints `MOCK_L1_*` for Archive.
43
45
46
+
## MVP round 3 (2026-08)
47
+
48
+
1. Seller `list`s NFT into `MockDleAuctionSettlement` escrow before Archive settle.
49
+
2. Archive `POST /trade/settle` with `executeOnChain` / env → `certificateAuthority` calls `settle` on local RPC; phases `match_certified` → `settlement_submitted` → `settled` | `settlement_failed`.
50
+
3.`npm run mock-auction-e2e` (DLE) or root `npm run dle:mock-auction-e2e` (hardhat node → deploy → e2e) produces a **real**`settlementTxHash`.
51
+
4.`/health` may expose `tradeOnChainSettleConfigured` / `tradeOnChainSettleMode`.
Copy file name to clipboardExpand all lines: explorer/RULES.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,10 +106,12 @@ Detail page (footer hidden). Local mock-L1 `/mockl1/*` + `/trade/*` against the
106
106
107
107
**MVP round 2:** session-only lab private keys may **sign** sell/buy/attest in the browser (`ethers`); keys are **never** written to localStorage / IndexedDB. Order / candidate hashing is mirrored in `explorer/src/lib/mockAuctionWire.ts` (no runtime import). Archive legality remains Archive-side when RPC custody is configured — the page may pass lab flags only for Archive without `MOCK_L1_*`.
108
108
109
+
**MVP round 3:** when Archive has on-chain settle configured, match timeline may show a **real**`settlementTxHash` from `MockDleAuctionSettlement.settle` (local Hardhat/Anvil). Do **not** paint lab demo fake hashes as mainnet settles. UI still does **not** call `settle` from the browser — Archive posts the authority tx.
110
+
109
111
| Rule | Detail |
110
112
|---|---|
111
113
| Scope | Local Hardhat/Anvil mock network only |
112
-
| UI | May sign client orders/attests with session keys; does **not** self-claim Archive legality / quorum |
114
+
| UI | May sign client orders/attests with session keys; does **not** self-claim Archive legality / quorum; does **not** submit settlement txs|
113
115
| Labels | Always show `mockL1Only` / `notProductionDepin` pills |
114
116
| Forbidden | Painting as CoNET mainnet, production DePIN, or live CL RANDAO; persisting private keys |
0 commit comments