Skip to main content

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:

PEPU Developer Kit: the PEPU mark, the tagline Consumer first, Google sign-in, no popups, no gas, and chips for SDK, MCP, Skills, Plugin, CLI and Templates

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​

  1. What is Pepe Unchained V2: the chain in one page.
  2. The Three Pillars: login, sessions, sponsored gas, and how they combine.
  3. Smart Account Paths: which setup to start from.
  4. 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.

#DeliverableWhat it isDocs
1SDKs@pepu-chain/sdk: chain, contracts registry, Privy, sessions, account abstraction, paymaster, combined flow, doctorSDK
2MCP + agentic skills@pepu-chain/mcp (33 tools, 6 prompts) and 12 agent skills that call the SDK and MCPMCP, Skills
3PluginsThe pepu-devkit Claude Code plugin: MCP server, skills, 6 commands and a builder subagentPlugin
4Starter templatesSix templates, from a consumer app to the full sponsored sessionTemplates
5CLI scaffoldingcreate-pepu-app scaffolds a Next.js app with a chosen templateCLI
6Developer docsThis site, one source of truth for all of the aboveStyle guide
7Our own bundlerThe ERC-4337 bundler (Alto) for PEPU, hosted at bundler.pepeunchained.comBundler
8Paymaster infrastructureThe verifying paymaster, its policy service and REST APIs, hosted at paymaster.pepeunchained.comPaymaster
9Multicall3 and supporting infrastructureMulticall3, Permit2, EntryPoints, Kernel, with every addressContracts

The three pillars​

  1. Google to wallet. Sign in with Google and get an embedded wallet on PEPU.
  2. Session keys. Approve once, then act with no wallet popup. Two modes: Privy session signers and Kernel on-chain session keys.
  3. 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 chainWhat is Pepe Unchained V2, Network Reference
Get a running app and a first sponsored transactionQuickstart: Zero to a Sponsored Transaction in 10 Minutes, Template Gallery
Choose between a plain wallet, ZeroDev-native and Privy Smart WalletsSmart 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 agentBuild with an AI Coding Agent, MCP
Configure PrivyDashboard Settings, Privy Setup
Avoid a wallet popup per actionSession Keys
Understand gas sponsorshipSponsored Transactions, Paymaster
Use the SDKSDK
Look up an addressAddress Map, Deployed Contracts, The Multicall3 Trap
Deploy and verify a contractDeploy & Verify a Contract
Copy a patternRecipes
Look up an env var or errorEnvironment Variables, Error Reference
Fix a problemTroubleshooting

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.md is 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.txt and llms-full.txt follow the llmstxt.org format and are generated by node scripts/gen-docs.mjs (CI runs it with --check). They assume each page's published URL mirrors its path here. The same script generates reference/errors.md, reference/endpoints.md and sdk/errors.md; do not edit those by hand. node scripts/check-docs-parity.mjs keeps 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.md first. No page should contain a stub marker; check-docs-parity.mjs fails on one.