stoa df91ac630d feat(web+structure): Stoa web app (pages+APIs) vendored from x402, plan.md buildout
- apps/web: Next.js dashboard — pages (/, /skills, /marketplace, /protected) + API routes
  (/api/health, /api/skills, /api/services, /api/x402/weather) adapted from the real x402
  next fullstack example; reads a generated static skills catalog (251 skills, 62 domains)
- generated skills.json catalog (gen-catalog now emits JSON for web + tooling)
- contracts: interfaces/, libraries/ (SafeTransferLib, SignatureLib, StoaTypes), mocks/,
  DeployAtlantic/DeployLocal/ExportAbis scripts — all compile
- sdk: types, errors, addresses, chains, abis modules (wired into barrel; 0 tsc errors)
- mercator: planner (seller scoring), scenario, trace, wallet, demo runners
- examples: numbered demos (05-08,10) + x402 seller server
- config/docs: turbo.json, .prettierrc, eslint.config.js, SUBMISSION.md,
  docs/HACKATHON_SUBMISSION.md, deployments/{pharos-atlantic,localhost}.json
- oss/ (gitignored): cloned x402, pharos-agent-kit, pharos-examples, pharos-skill-engine
2026-06-12 01:03:39 +03:00
..

@stoa/examples

Runnable, single-purpose examples for each Stoa skill.

Script Command Needs
Register identity pnpm --filter @stoa/examples identity STOA_PRIVATE_KEY, STOA_REGISTRY_ADDRESS
Monetize & pay (x402) pnpm --filter @stoa/examples monetize two keys, X402_FACILITATOR_URL, @x402/* + express
Escrow job pnpm --filter @stoa/examples escrow MERCATOR_BUYER_KEY, STOA_ESCROW_ADDRESS, WORKER_ADDRESS
Treasury guard pnpm --filter @stoa/examples guard STOA_PRIVATE_KEY

All scripts read their config from environment variables (see the header of each file). Copy ../../.env.example to .env and fill in testnet values first.