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: README indexes for marketplace/, robinhood/, crates/vanity-grinder

nirholas7cc1472c9cf8
diff --git a/STRUCTURE.md b/STRUCTURE.md
index f361628e2..b52c72c9b 100644
--- a/STRUCTURE.md
+++ b/STRUCTURE.md
@@ -112,6 +112,7 @@ bottom.
| Cross-chain SDKs | [sdk/](sdk), [solana-agent-sdk/](solana-agent-sdk), [agent-payments-sdk/](agent-payments-sdk), [agent-protocol-sdk/](agent-protocol-sdk) | Published | Cross-chain agent SDKs |
| MCP integration | [mcp-server/](mcp-server), [mcp-bridge/](mcp-bridge), [packages/*-mcp/](packages) | 35 npm servers + 7 hosted remote (42 total, incl. the free `/api/mcp-studio` 3D Studio), all in the [MCP registry](https://registry.modelcontextprotocol.io/?q=io.github.nirholas) — canonical metadata: [prompts/store-submissions/_generated/mcp-listing-source.json](prompts/store-submissions/_generated/mcp-listing-source.json) | Model Context Protocol surface — full server list in [docs/mcp.md](docs/mcp.md) |
| Agent Skills pack | [.agents/skills/](.agents/skills) → manifest [.agents/skills/SKILLS.md](.agents/skills/SKILLS.md), [.agents/skills/skills-pack.json](.agents/skills/skills-pack.json) | In-repo; bundled in the `three-ws-core` [plugin](.claude-plugin/marketplace.json) | 40 portable `SKILL.md` folders (Agent Skills open standard) for any Claude surface — 3d/creative (cross-platform-safe), wallet/payments, intel/trading. Regenerate manifest: `node scripts/build-skills-pack.mjs`. Docs: [docs/agent-skills.md](docs/agent-skills.md) |
+| Claude Code plugin marketplace | [marketplace/](marketplace) → plugins [three-ws-3d](marketplace/plugins/three-ws-3d), [three-ws-developer](marketplace/plugins/three-ws-developer) | In-repo · installable via `/plugin marketplace add nirholas/three.ws` | 3D generation + rigged avatars inside Claude Code (free lane + paid x402 tools) and developer tooling for building on three.ws. Index: [marketplace/README.md](marketplace/README.md) |
| SNS naming + pay-by-name | [api/sns.js](api/sns.js), [api/sns-subdomain.js](api/sns-subdomain.js), [api/threews/subdomain.js](api/threews/subdomain.js), [api/x402/pay-by-name.js](api/x402/pay-by-name.js), [src/solana/sns-subdomain.js](src/solana/sns-subdomain.js), [pages/threews-claim.html](pages/threews-claim.html) | In-repo | `*.threews.sol` subdomain mint, x402 payments addressed by name. Env: `THREEWS_SOL_PARENT_SECRET_BASE58` |
| Self-hosted x402 facilitator + ring economy | [api/x402-facilitator/[action].js](api/x402-facilitator/[action].js), [api/_lib/x402/self-facilitator.js](api/_lib/x402/self-facilitator.js), [api/x402/ring-settle.js](api/x402/ring-settle.js), [api/_lib/x402/pipelines/ring-rebalance.js](api/_lib/x402/pipelines/ring-rebalance.js), [api/x402-ring.js](api/x402-ring.js), [scripts/x402-ring-setup.mjs](scripts/x402-ring-setup.mjs) | In-repo (off by default) | Closed-loop agent-to-agent x402: platform wallets pay platform endpoints, settled in-house (no external facilitator). Fee-minimized, SOL-floor guarded, internal-labeled. Env: `X402_SELF_FACILITATOR_ENABLED`, `X402_FEE_PAYER_SECRET_BASE58`, `X402_TREASURY_SECRET_BASE58`. See [docs/x402-ring-economy.md](docs/x402-ring-economy.md) |
| Ring payer pool (many distinct payers) | [api/_lib/x402/pool.js](api/_lib/x402/pool.js), [api/_lib/x402/pipelines/ring-pool-fund.js](api/_lib/x402/pipelines/ring-pool-fund.js), [scripts/x402-ring-pool-setup.mjs](scripts/x402-ring-pool-setup.mjs), migration [api/_lib/migrations/2026-07-17-x402-ring-pool.sql](api/_lib/migrations/2026-07-17-x402-ring-pool.sql) | In-repo (off by default) | Reused rotating payer wallets (500–1,000) the ring tick cycles through so the closed loop shows many distinct, attributed payers at 1 tx/settle. Keys secret-box-encrypted in `x402_ring_pool`; pubkeys mirrored into `x402_ring_wallets(role='pool')` so they join the controlled set automatically; NOT in solana-signers.js so sweepback never touches them. LRU rotation (`claimNextPayer`), batched threshold funding (`ring-pool-fund`). Env: `X402_RING_POOL_ENABLED`, `X402_RING_POOL_SIZE`. See [docs/x402-ring-economy.md](docs/x402-ring-economy.md#payer-pool--many-distinct-payers-one-reused-set-of-wallets) |
diff --git a/crates/vanity-grinder/README.md b/crates/vanity-grinder/README.md
new file mode 100644
index 000000000..90c5e9dfd
--- /dev/null
+++ b/crates/vanity-grinder/README.md
@@ -0,0 +1,49 @@
+# vanity-grinder (Rust → WASM)
+
+The Rust source for the WASM module behind the browser-side Solana vanity
+address grinder. Compiled with `wasm-pack`, it exposes one `grind` function
+that tries a batch of ed25519 keypairs per call and returns `{ secretKey,
+publicKey }` on a prefix/suffix match, or `null` when the batch misses.
+
+This is the hot loop only. Everything around it lives in JS:
+
+| Piece | Location |
+| --- | --- |
+| Compiled WASM + JS glue consumed by the site | [src/solana/vanity/wasm/](../../src/solana/vanity/wasm/) |
+| Main-thread grinder API + web-worker pool | [src/solana/vanity/grinder.js](../../src/solana/vanity/grinder.js), [grinder-worker.js](../../src/solana/vanity/grinder-worker.js) |
+| Server-side grinding (Cloud Run worker) | [workers/vanity-grinder/](../../workers/vanity-grinder/) |
+| Product UI (agent vanity card, /vanity) | [src/agent-vanity-grinder.js](../../src/agent-vanity-grinder.js) |
+
+## Why raw curve25519-dalek
+
+Each candidate needs only `SHA-512(seed) → clamp → scalar·G → compress` — the
+ed25519 public-key derivation without constructing ed25519-dalek's full
+`SigningKey`. The output is bit-for-bit identical to
+`SigningKey::from_bytes(seed).verifying_key().to_bytes()`, and skipping the
+struct roughly doubles throughput in WASM.
+
+## Key layout and safety
+
+- The JS caller supplies a fresh cryptographically-random 32-byte `start_seed`
+ per batch; the crate only increments the low 4 bytes as a counter, so keys
+ are unpredictable as long as the seed source is.
+- The returned 64-byte `secretKey` is Solana's standard `[seed][pubkey]`
+ layout, directly compatible with `Keypair.fromSecretKey()` in
+ `@solana/web3.js`.
+- Grinding happens entirely client-side (or on our own worker); a ground
+ secret key never leaves the machine that generated it.
+
+## Build
+
+```bash
+cargo install wasm-pack # once
+wasm-pack build --release --target web
+```
+
+Copy the artifacts from `pkg/` into `src/solana/vanity/wasm/` to update the
+module the site ships. The release profile pins `lto = "fat"`, a single
+codegen unit, and `wasm-opt -O3 --enable-simd` — keep those; the grinder's
+value is throughput.
+
+`publish = false` is intentional: this crate is an internal build input, not a
+published library.
diff --git a/marketplace/README.md b/marketplace/README.md
new file mode 100644
index 000000000..d2bebf8c0
--- /dev/null
+++ b/marketplace/README.md
@@ -0,0 +1,32 @@
+# marketplace/ — Claude Code plugin marketplace
+
+The plugin marketplace this repo serves to Claude Code users. Adding
+`nirholas/three.ws` as a marketplace makes every plugin under
+[plugins/](plugins/) installable by name:
+
+```
+/plugin marketplace add nirholas/three.ws
+/plugin install three-ws-3d@three-ws
+```
+
+## Plugins
+
+| Plugin | What it does |
+| --- | --- |
+| [three-ws-3d](plugins/three-ws-3d/) | Generate textured 3D models and rigged avatars from text or images inside Claude Code — free text→3D lane plus the paid x402 tools (`text_to_avatar`, `mesh_forge`, `rig_mesh`, `forge_avatar`), each returning a GLB URL + three.ws viewer link. Bundles the three.ws MCP server. |
+| [three-ws-developer](plugins/three-ws-developer/) | Developer tooling for building ON three.ws: scaffold an agent, configure `@three-ws/mcp-server`, get runnable code for the paid MCP tools. |
+
+Each plugin directory is self-contained: `.claude-plugin/plugin.json`
+(manifest), `skills/*/SKILL.md` (the skills it contributes), `commands/`
+(slash commands), and its own README with install and usage details.
+
+## Adding a plugin
+
+1. Create `plugins/<name>/` with a `.claude-plugin/plugin.json` manifest and a
+ README following the two existing plugins' structure.
+2. Skills go in `skills/<skill-name>/SKILL.md`; commands in `commands/*.md`.
+3. Anything that calls paid three.ws tools must quote the real USDC price in
+ its skill description, the same way `three-ws-3d`'s skills do.
+
+Related surfaces: the MCP server itself lives in [mcp-server/](../mcp-server/),
+and the pump.fun skills collection in [pump-fun-skills/](../pump-fun-skills/).
diff --git a/robinhood/README.md b/robinhood/README.md
new file mode 100644
index 000000000..f1c4b2245
--- /dev/null
+++ b/robinhood/README.md
@@ -0,0 +1,42 @@
+# robinhood/ — the Robinhood Chain suite
+
+Everything three.ws builds for **Robinhood Chain** (Robinhood's Arbitrum
+Orbit L2, chain ID 4663) — Robinhood Crypto only. Solana remains the home
+chain; these are additional crypto surfaces, and each subproject below has its
+own README with install and usage.
+
+## Developer tooling
+
+| Project | What it is |
+| --- | --- |
+| [robinhood-chain-sdk](robinhood-chain-sdk/) | The TypeScript SDK for Robinhood Chain |
+| [hood-js](hood-js/) | Five-lines-to-your-first-trade wrapper around the SDK |
+| [hood-cli](hood-cli/) | Command-line toolkit |
+| [hoodkit](hoodkit/) | Power-user toolkit |
+| [hood-connect](hood-connect/) | Add-to-wallet / connect helpers |
+| [robinhood-chain-examples](robinhood-chain-examples/) | Runnable example projects |
+| [learn-robinhood-chain](learn-robinhood-chain/) | The learning site for building on the chain |
+
+## Data + infrastructure
+
+| Project | What it is |
+| --- | --- |
+| [hood-api](hood-api/) | Hosted market-data API |
+| [hood-status](hood-status/) | Status page for the chain |
+| [hood-tokenlist](hood-tokenlist/) | Canonical token list |
+| [hood-alerts](hood-alerts/) | Alerting |
+| [robinhood-mcp](robinhood-mcp/) / [hood-mcp](hood-mcp/) | MCP servers exposing chain data + actions to agents |
+
+## Payments + agents
+
+| Project | What it is |
+| --- | --- |
+| [hood402](hood402/) | x402 payment rail for USDG on Robinhood Chain |
+| [hood-pay](hood-pay/) | Checkout-grade USDG payments |
+| [hood-traders](hood-traders/) | Autonomous trading agent fleet |
+| [hood-launcher](hood-launcher/) | Token launcher |
+| [erc8056](erc8056/) | Reference implementation of ERC-8056 (Scaled UI amounts) |
+
+The platform's Robinhood feed worker lives separately at
+[workers/robinhood-feed/](../workers/robinhood-feed/); chain-priority rules
+for the whole workspace are in [CLAUDE.md](../CLAUDE.md).