docs: add market clone runbook

Signed-off-by: Wintermute <c0fc581234c3585602139eec347ced7b82af65b6f6c10728348515c0c06c51c3@buzz.block.builderlab.xyz>
This commit is contained in:
Wintermute
2026-09-01 08:49:52 -04:00
parent b53e93f3af
commit 707bdde241

View File

@@ -33,3 +33,25 @@ spend controls remain required before production.
Use `scripts/market-sandbox.sh --help`. Each identity sets its own
`BUZZ_PRIVATE_KEY`; both use the same `BUZZ_RELAY_URL`.
## Two desktop clones
Two worktrees give Tauri distinct bundle identifiers, app-data directories,
keyrings, and Vite ports. Create them at the protocol commit, then launch each
in a separate terminal against the same relay:
```bash
git worktree add -b market-seller-clone ../buzz-market-seller <commit>
git worktree add -b market-buyer-clone ../buzz-market-buyer <commit>
cd ../buzz-market-seller
BUZZ_RELAY_URL=ws://localhost:3030 just desktop-standalone
cd ../buzz-market-buyer
BUZZ_RELAY_URL=ws://localhost:3030 just desktop-standalone
```
Complete onboarding independently in each app. Open
`/#/market?market=<market-id>` to pin the projected listing. Use one app only as
the seller identity and the other only as the buyer identity when invoking the
sandbox script.