AutoPay is a Chromium extension that lets you fund a wallet for browser-based micropayments and automatically pays for any x402 API endpoint it encounters. While x402 is primarily designed for agent-to-agent payments, AutoPay extends that model to human users browsing the web. A basic demo video of how it works is here:Documentation Index
Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt
Use this file to discover all available pages before exploring further.
Install AutoPay
The extension is not yet available on the Chrome Web Store. Install it manually using one of two approaches.Option A: Download zip
Download the latest release zip from https://github.com/Swader/x402autopay/releases and unpack it.Option B: Clone and build
- Clone the repository:
- Install the dependencies:
- Build the extension:
Load the extension in Chrome
Whichever approach you used, load the extension in Chrome:- Open the Extensions page in your browser.
- Enable Developer mode.
- Click Load unpacked.
- Select the
distfolder: either the one created bybun run build, or the folder you unpacked from the zip file.
Use AutoPay
A video walkthrough is also available:
On first use, AutoPay prompts you to import or create a wallet and fund it.
Screenshot placeholder: wallet setup screen.
Screenshot placeholder: wallet funding screen.
Screenshot placeholder: payment approval screen.
Screenshot placeholder: policies and history screen.
Planned Features
- In-extension on-ramps to buy USDC without leaving the popup
- Pre-emptive site policy configuration before encountering a paywall
- x402 V2 support for fiat payments