docs(examples): add the web3 swap on a Base fork community example

Draft
FO
7d ago
+30-0

What and why

Adds one community example and one tag:

  • e2e-web3-example: a Vite + wagmi + RainbowKit swap app on Uniswap V3, on an Anvil fork of Base mainnet (its own chain id, 845300). A locator suite and an agent suite connect, swap ETH for USDC, have the wallet reject an approval, then approve and swap back, and check every balance on the chain.
  • A web3 use-case tag, since no listed example covers a dApp or a wallet.

The wallet is e2e-wallet, a community package I maintain (not affiliated with e2e-inc). It injects an EIP-1193 / EIP-6963 wallet through browser.addInitScript and answers it through browser.route, so the test signs and the agent never meets an extension popup. The example's README and the package's README both say they are community projects.

Issue

None (docs).

Verified

Ran it locally: yes

  • node scripts/check-examples.ts --online: examples/examples.json: 70 examples OK.
  • The example's own CI, from a fresh clone with the published package, on a live Base fork: tests/deterministic.e2e.ts 2 passed, the agent test skipped without credentials (run).
  • Locally with E2E_AGENT=1: the agent test passed (5 agent steps, Claude Code via @e2e-dev/acp, $0.08).

Checklist

  • Changeset added (pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only.
  • Breaking change: title carries !, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md).
  • Docs updated in the same PR: the docs/**/*.mdx page for the behavior, and skills/e2e/ if the skill describes it.
  • Contract change: emitted .d.ts reviewed, tests/types/sdk-types.ts updated; wire change edits the schema and both fixtures.
  • Engine contract change (e2e/engine): changesets for e2e, @e2e-dev/web, and @e2e-dev/mobile.

🤖 Generated with Claude Code