Skip to content

docs: add example of using Circle Paymaster middleware#1347

Open
ksmith-circle wants to merge 8 commits intoalchemyplatform:mainfrom
ksmith-circle:circle-paymaster-docs
Open

docs: add example of using Circle Paymaster middleware#1347
ksmith-circle wants to merge 8 commits intoalchemyplatform:mainfrom
ksmith-circle:circle-paymaster-docs

Conversation

@ksmith-circle
Copy link
Copy Markdown

@ksmith-circle ksmith-circle commented Feb 10, 2025

Adds an example to the third-party paymaster docs that uses Circle Paymaster to pay for gas using USDC via this npm package.

Pull Request Checklist


PR-Codex overview

This PR updates the documentation for using ERC-20 paymasters, replacing the reference to Stackup with Circle's Paymaster and providing a detailed code example for its usage with the Alchemy SDK.

Detailed summary

  • Changed the paymaster reference from Stackup to Circle's Paymaster.
  • Added a TypeScript code example demonstrating how to use Circle's Paymaster with the Alchemy SDK.
  • Included code for generating a private key, creating a light account, and checking USDC balance.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 10, 2025

@ksmith-circle is attempting to deploy a commit to the Alchemy Team on Vercel.

A member of the Team first needs to authorize it.

@graphite-app
Copy link
Copy Markdown
Contributor

graphite-app Bot commented Feb 10, 2025

How to use the Graphite Merge Queue

Add the label graphite-merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

Copy link
Copy Markdown
Contributor

@rthomare rthomare left a comment

Choose a reason for hiding this comment

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

One super small nit other wise looks good!

Comment thread site/pages/third-party/paymasters.mdx Outdated
Co-authored-by: Rohan Thomare <3498866+rthomare@users.noreply.github.com>
rthomare
rthomare previously approved these changes Mar 11, 2025
@ksmith-circle ksmith-circle requested a review from florrdv as a code owner March 13, 2025 17:11
@ksmith-circle ksmith-circle requested a review from rthomare March 13, 2025 17:11
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