Pepe Unchained Developer Docs
Developer documentation for building on Pepe Unchained V2 (Arbitrum Orbit, mainnet chain ID 97741). The published site is docs.pepeunchained.com; the same pages live here as Markdown. You do not need to clone this repository to build on PEPU:

The PEPU developer kit: SDK, MCP, skills, plugin, CLI and templates.
npx create-pepu-app@latest # scaffold a Next.js + Privy app
npm i @pepu-chain/sdk viem # chain definitions, contracts, ABIs, helpers
npx -y @pepu-chain/mcp # MCP server for coding agents
For Claude Code, install the plugin (skills plus the MCP server):
/plugin marketplace add pepu-org/pepu-devkit
/plugin install pepu-devkit@pepu
The shortest path
- What is Pepe Unchained V2: the chain in one page.
- The Three Pillars: login, sessions, sponsored gas, and how they combine.
- Smart Account Paths: which setup to start from.
- Quickstart:
npx create-pepu-app@latest, fill.env.local, click the Privy dashboard settings,npm run doctor,npm run dev, first sponsored transaction. With an AI agent: Build with an AI Coding Agent.
The nine deliverables
The dev kit is SDK-first: every other deliverable uses the SDK instead of re-implementing it.
| # | Deliverable | What it is | Docs |
|---|---|---|---|
| 1 | SDKs | @pepu-chain/sdk: chain, contracts registry, Privy, sessions, account abstraction, paymaster, combined flow, doctor | SDK |
| 2 | MCP + agentic skills | @pepu-chain/mcp (33 tools, 6 prompts) and 12 agent skills that call the SDK and MCP | MCP, Skills |
| 3 | Plugins | The pepu-devkit Claude Code plugin: MCP server, skills, 6 commands and a builder subagent | Plugin |
| 4 | Starter templates | Six templates, from a consumer app to the full sponsored session | Templates |
| 5 | CLI scaffolding | create-pepu-app scaffolds a Next.js app with a chosen template | CLI |
| 6 | Developer docs | This site, one source of truth for all of the above | Style guide |
| 7 | Our own bundler | The ERC-4337 bundler (Alto) for PEPU, hosted at bundler.pepeunchained.com | Bundler |
| 8 | Paymaster infrastructure | The verifying paymaster, its policy service and REST APIs, hosted at paymaster.pepeunchained.com | Paymaster |
| 9 | Multicall3 and supporting infrastructure | Multicall3, Permit2, EntryPoints, Kernel, with every address | Contracts |
The three pillars
- Google to wallet. Sign in with Google and get an embedded wallet on PEPU.
- Session keys. Approve once, then act with no wallet popup. Two modes: Privy session signers and Kernel on-chain session keys.
- Sponsored transactions. The user pays no gas. Available on mainnet through the hosted bundler and paymaster.
Their combination is the headline flow: Google Login, Session and Sponsorship End to End. Start with The Three Pillars.
Where to start
| I want to... | Read |
|---|---|
| Understand the chain | What is Pepe Unchained V2, Network Reference |
| Get a running app and a first sponsored transaction | Quickstart: Zero to a Sponsored Transaction in 10 Minutes, Template Gallery |
| Choose between a plain wallet, ZeroDev-native and Privy Smart Wallets | Smart Account Paths |
| Get a paymaster project (claim, deposit, keys) | Register, Deposit and Claim a v2 Project |
| Look up a term (UserOperation, bundler, paymaster, Kernel) | Glossary |
| Build with an AI agent | Build with an AI Coding Agent, MCP |
| Configure Privy | Dashboard Settings, Privy Setup |
| Avoid a wallet popup per action | Session Keys |
| Understand gas sponsorship | Sponsored Transactions, Paymaster |
| Use the SDK | SDK |
| Look up an address | Address Map, Deployed Contracts, The Multicall3 Trap |
| Deploy and verify a contract | Deploy & Verify a Contract |
| Copy a pattern | Recipes |
| Look up an env var or error | Environment Variables, Error Reference |
| Fix a problem | Troubleshooting |
The full navigation is in SUMMARY.md. Machine-readable index: llms.txt.
Hosted bundler and paymaster
The hosted endpoints are: bundler https://bundler.pepeunchained.com and paymaster service https://paymaster.pepeunchained.com. They are the SDK defaults; PEPU_BUNDLER_URL and PEPU_PAYMASTER_URL override them. The ERC-7677 URL always embeds a token (https://paymaster.pepeunchained.com/v2/paymaster/<token>). Operators who want to run their own can use the source in services/bundler and services/paymaster.
Maintainer notes
This folder syncs to GitBook through bi-directional Git Sync: merging Markdown to the synced branch publishes it, and edits made in GitBook's editor are committed back here.
SUMMARY.mdis load-bearing. GitBook builds the table of contents from it, so add every new page there in the same change that adds the file.llms.txtandllms-full.txtfollow the llmstxt.org format and are generated bynode scripts/gen-docs.mjs(CI runs it with--check). They assume each page's published URL mirrors its path here. The same script generatesreference/errors.md,reference/endpoints.mdandsdk/errors.md; do not edit those by hand.node scripts/check-docs-parity.mjskeeps counts, names and addresses on the pages equal to the code.- Voice. Plain, sober, friction-focused. No hype words, no emoji. The test for every page: does it make it easier to build or to use?
- Writing pages. Read
CONTRIBUTING-DOCS.mdfirst. No page should contain a stub marker;check-docs-parity.mjsfails on one.