Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

docs(x402): document the bazaar price-tracking tool and repair the drifted payout line links

nirholasb4aa6c449855
diff --git a/docs/mcp-x402-bazaar.md b/docs/mcp-x402-bazaar.md
index 489134ea1..869ca9aef 100644
--- a/docs/mcp-x402-bazaar.md
+++ b/docs/mcp-x402-bazaar.md
@@ -17,11 +17,48 @@ client. Registered with the MCP Registry as
| `search_services(query, type?, network?, max_price_usdc?, limit?)` | Ranked search over the merged facilitator catalog. |
| `browse_services(type?, network?, max_price_usdc?, limit?)` | List services without a query — "what can I pay for?". |
| `get_service(resource_url, tool_name?)` | Full payment requirements (price, asset, network, recipient), input/output schema, and a ready pay link. |
+| `bazaar_service_details(resource_url, tool_name?)` | Live price only: cheapest across networks plus a per-network breakdown. Built for price tracking on a schedule. |
+| `getting_started(section?)` | Free, no auth or payment. An overview of the server, its tools, and how to connect. Call this first. |
`type` is `http` (paid HTTP APIs) or `mcp` (paid MCP tools). `network` is a
CAIP-2 id, e.g. `eip155:8453` (Base) or `solana:*`. `max_price_usdc` filters to
services at or below a dollar ceiling.
+### Tracking a service's price over time
+
+`bazaar_service_details` is the one to poll. It returns the same
+`structuredContent` shape whether or not the service is still listed, so a
+tracker can diff two samples field by field without special-casing a
+disappearance:
+
+```json
+{
+ "service_key": "https://api.example.com/weather",
+ "available": true,
+ "networks": ["eip155:8453"],
+ "min_price_atomic": 1000,
+ "min_price_label": "0.001 USDC",
+ "prices": [
+ {
+ "network": "eip155:8453",
+ "amount_atomic": 1000,
+ "price": "0.001 USDC",
+ "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
+ "pay_to": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
+ "scheme": "exact"
+ }
+ ]
+}
+```
+
+A service that has dropped off every facilitator is not an error: it comes back
+with the same keys, `available: false`, an empty `prices`, and `null` for both
+price fields. `min_price_label` is `null` (never absent) in both branches, so a
+missing label and a missing sample stay distinguishable.
+
+Use `get_service` instead when you also need the input/output schema and a pay
+link. `bazaar_service_details` deliberately omits both to stay cheap to poll.
+
## Use on claude.ai
Add the connector with URL `https://three.ws/api/mcp-bazaar` and complete OAuth.
diff --git a/docs/smart-money.md b/docs/smart-money.md
index f26461e75..843376fdc 100644
--- a/docs/smart-money.md
+++ b/docs/smart-money.md
@@ -30,7 +30,7 @@ dumpPenalty = dump_rate * 0.4
smart_money_score = round(clamp(win_rate + earlyBonus - dumpPenalty, 0, 100) * confidence, 1)
```
-The label follows from the profile: a creator with 3 or more launches, zero graduations, and at least 3 coins traded is a `rugger`; fewer than 4 judged coins is `fresh`; a dump rate of 60 percent or more is a `dumper`; a score of 70 or more is `smart_money`; 5 or more early entries with a win rate under 25 percent is a `sniper`; everything else is `neutral`.
+The label follows from the profile, evaluated in this order: a creator with 3 or more launches, zero graduations, and at least 3 coins traded is a `rugger`; fewer than 4 judged coins is `fresh`; a dump rate of 60 percent or more is a `dumper`; a score of 70 or more is `smart_money`; so is a sustained edge over a real sample, 8 or more judged coins at a 35 percent or better win rate (the pump.fun base rate is around 12 percent, so that is roughly a 3x edge); 5 or more early entries with a win rate under 25 percent is a `sniper`; everything else is `neutral`.
**Phase C: score live coins.** For every coin launched in the last 3 hours, `coin_smart_money` is computed from its non-creator buyers (creators do not lend pedigree to their own coin):
diff --git a/docs/x402-endpoints.md b/docs/x402-endpoints.md
index 84799f2d0..3050cfcc7 100644
--- a/docs/x402-endpoints.md
+++ b/docs/x402-endpoints.md
@@ -100,19 +100,19 @@ buyer's USDC settles **directly** to that wallet and the platform never holds it
| Endpoint | Receiver | Source |
| -------- | -------- | ------ |
-| `/api/x402/skill-call` | skill **author** | `author_payto_*` ([skill-call.js:159](../api/x402/skill-call.js#L159)) |
-| `/api/x402/service` | service **provider** | `row.payout_address` ([service.js:92](../api/x402/service.js#L92)) |
-| `/api/x402/asset-download` | 3D-asset **creator** | `creator_payto_*` ([asset-download.js:121](../api/x402/asset-download.js#L121)) |
-| `/api/x402/animation-download` | clip **creator** | `creator_payto_*` ([animation-download.js:112](../api/x402/animation-download.js#L112)) |
-| `/api/x402/pay-by-name` | **buyer-named** wallet | resolved name/`.sol`/address, direct SPL transfer ([pay-by-name.js:256](../api/x402/pay-by-name.js#L256)) |
+| `/api/x402/skill-call` | skill **author** | `author_payto_*` ([skill-call.js:196](../api/x402/skill-call.js#L196)) |
+| `/api/x402/service` | service **provider** | `row.payout_address` ([service.js:91](../api/x402/service.js#L91)) |
+| `/api/x402/asset-download` | 3D-asset **creator** | `creator_payto_*` ([asset-download.js:124](../api/x402/asset-download.js#L124)) |
+| `/api/x402/animation-download` | clip **creator** | `creator_payto_*` ([animation-download.js:115](../api/x402/animation-download.js#L115)) |
+| `/api/x402/pay-by-name` | **buyer-named** wallet | resolved name/`.sol`/address, direct SPL transfer ([pay-by-name.js:279](../api/x402/pay-by-name.js#L279)) |
**2. Post-settlement split** — the USDC lands in the **platform receiver**, then a
*separate* treasury forwards a share out-of-band (these are NOT `payTo` overrides):
| Endpoint | Lands in | Then forwarded to | By |
| -------- | -------- | ----------------- | -- |
-| `/api/x402/cosmetic-purchase` | platform receiver | **creator** 50% (≤90% cap) | `COSMETIC_SPLIT_TREASURY_SECRET_KEY_B64` ([cosmetics-economy.js:31](../api/_lib/cosmetics-economy.js#L31)) |
-| `/api/x402/dance-tip` | platform receiver | **dancer** (full tip) | `club-payouts` cron from `CLUB_SOLANA_TREASURY_SECRET_KEY_B64` ([club/sweep.js:19](../api/_lib/club/sweep.js#L19)) |
+| `/api/x402/cosmetic-purchase` | platform receiver | **creator** 50% (≤90% cap) | `COSMETIC_SPLIT_TREASURY_SECRET_KEY_B64` ([cosmetics-economy.js:203](../api/_lib/cosmetics-economy.js#L203); the 50% default and 90% ceiling are [L31-L32](../api/_lib/cosmetics-economy.js#L31)) |
+| `/api/x402/dance-tip` | platform receiver | **dancer** (full tip) | `club-payouts` cron ([club/sweep.js](../api/_lib/club/sweep.js)) paying from `CLUB_SOLANA_TREASURY_SECRET_KEY_B64` ([club/payouts.js:54](../api/_lib/club/payouts.js#L54)) |
| `/api/x402/club-cover` | platform receiver (kept) | — (funds the club float; issues a door pass) | — |
`/api/x402/ring-settle` is an **internal** primitive (`discoverable:false`) — it is