Skip to content

fix(docs): improve the ERC-20 gas payment guide - #1606

Merged
jakehobbs merged 6 commits into
mainfrom
jake/improve-erc20-paymaster-doc
Sep 4, 2026
Merged

fix(docs): improve the ERC-20 gas payment guide#1606
jakehobbs merged 6 commits into
mainfrom
jake/improve-erc20-paymaster-doc

Conversation

@jakehobbs

@jakehobbs jakehobbs commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace the incomplete v0.6 sample with a complete EntryPoint v0.7 post-operation flow.
  • Add an end-to-end tested Modular Account V2 example using Viem actions while retaining the exact-quote raw RPC path.
  • Recommend Wallet APIs, document token allowance-reset handling, and separate raw code, types, and helpers into tabs.

Test plan

  • pnpm run validate
  • pnpm validate:docs-yml
  • pnpm test:run (237 tests)
  • Prettier and ESLint checks for the updated MDX page
  • Type-check both examples against the current SDK packages
  • Submit the Viem-actions example and raw RPC flow on Base Sepolia

🤖 Generated with Codex

Replace the incomplete legacy sample with a safe v0.7 flow developers can adapt to existing smart accounts.

Co-Authored-By: Codex <noreply@openai.com>
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Sep 3, 2026, 11:16 PM

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bdc867bd1b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

jakehobbs and others added 2 commits September 3, 2026 15:33
Clarify the recommended integration and make the raw flow safer and easier to scan.

Co-Authored-By: Codex <noreply@openai.com>
Give low-level integrators a concise MAv2 option while retaining the exact-quote RPC flow.

Co-Authored-By: Codex <noreply@openai.com>
@jakehobbs
jakehobbs force-pushed the jake/improve-erc20-paymaster-doc branch from fd3f2c0 to 17ecc9b Compare September 3, 2026 22:57
@jakehobbs jakehobbs changed the title Improve the ERC-20 gas payment guide fix(docs): improve the ERC-20 gas payment guide Sep 3, 2026
jakehobbs and others added 2 commits September 3, 2026 16:15
Make transfer timing, funding addresses, allowance resets, and the example call unambiguous.

Co-Authored-By: Codex <noreply@openai.com>
@jakehobbs
jakehobbs merged commit 12e66bd into main Sep 4, 2026
21 checks passed
@jakehobbs
jakehobbs deleted the jake/improve-erc20-paymaster-doc branch September 4, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants