One-click Uniswap buys from X cashtags, with scam checks and World ID-verified creator kickbacks


XSwap is a Chrome extension that lets you buy a token right from the place you find it: a tweet on X.
When a tweet mentions a supported cashtag like $ETH, $UNI or $AERO, X shows a ticker card. XSwap adds a Buy button to that card. Pressing it opens a swap panel inside the card, so you never leave your timeline, open a DEX in another tab or copy-paste a contract address. You pick an amount, get a live quote, and sign the swap with your own browser wallet (e.g. MetaMask). These are real onchain swaps with real funds.
How it works
Architecture
The Manifest V3 extension injects the Buy button and swap panel into X. A bridge script in the page reaches the user's wallet. A small Express backend keeps the Uniswap and Intercepta API keys and the World ID signing key out of the extension. It proxies the Uniswap Trading API, runs the Intercepta checks, and handles World ID verification and the registry of verified authors.
Why it matters
Crypto discovery happens on X, but buying still means leaving the conversation. XSwap closes that gap and adds a safety layer where it's needed most. It also gives creators a sybil-resistant way to earn from the trades they inspire.
XSwap has two parts: a Chrome extension (Manifest V3, plain JavaScript, no build step) and a small Node/Express backend. The backend proxies every partner API, so the Uniswap and Intercepta keys and the World ID signing key never ship in the extension.
The extension
A content script watches the X timeline for tweets that contain a ticker card and adds a Buy button to each one. The swap panel is rendered in a Shadow DOM, so X's styles and ours don't clash. It reads X's own colors, so it looks native in light, dim and dark mode. Content scripts can't access window.ethereum, so we inject a small bridge script into the page that relays wallet requests and events over postMessage. That way MetaMask or any other injected wallet works without leaving X.
Partner technologies

