docs: add USDC payments dApp guide (BasePay on Base Mainnet)#1579
docs: add USDC payments dApp guide (BasePay on Base Mainnet)#1579osr21 wants to merge 2 commits into
Conversation
🟡 Heimdall Review Status
|
|
check github page for documentation about dapp, some fixes applied, but overall need some feedback |
|
Updating this PR with what's changed since it was opened: Security audit completed (June 2026) — full findings and fixes documented at docs/SECURITY.md. Key fixes applied to the gasless relayer:
Gasless transfer guide added — docs/GASLESS.md covers the full EIP-3009 relay system including: typed data structure, relay API reference with all validation rules, relayer wallet requirements, and the MetaMask Blockaid false-positive explanation. V2 contract addresses — all four contracts redeployed at new addresses (Solidity 0.8.35, source-verified on BaseScan):
Multi-contract integration pattern — for any reviewer or developer reading this, the integration pattern that makes BasePay work across four contracts with a single USDC approval is worth documenting: Each contract ( |
Summary
This guide shows developers how to build a production-grade USDC payments dApp on Base Mainnet — covering the full stack from wallet connection through on-chain smart contract interactions.
Reference implementation: BasePay — live on Base Mainnet
Source code: github.com/osr21/basepay-dapp
What the guide covers
transferand router-based sends with atomic 0.30% fee deductionContracts deployed on Base Mainnet (source-verified)
0x2d7ba7ed34f8fa16fe4d0d11b51306dc753812c80x82569caf7847040a03ad2c6545ade5af2bdcf47c0x5b3241a47acfda41f15dfd7260339e2a88d523180x546093b0476b4b7909cd84f3a0fef813c421d14aChanges
docs/apps/guides/usdc-payments-dapp.mdx— new guide pagedocs/docs.json— addedapps/guides/usdc-payments-dappto the Apps > Guides navigation groupFits naturally alongside the existing "base-notifications" technical guide and "migrate-to-standard-web-app" guide in the Apps section.