How does PYUSD.to work?

At its core, PYUSD.to is a NextJS app that uses Uniswap to perform swaps.

Uniswap is an AMM (automated market maker) protocol on Ethereum. We use the Uniswap Alpha Router to find the optimal swap path and to generate transaction calldata, which we then ask your wallet to sign.

The app also uses a database to store personalized URLs (https://pyusd.to/mono-koto for example). The app is currently hosted with Vercel.

Other tools and libs used: Typescript, TailwindCSS, Viem, Wagmi, RainbowKit, Kysely, PostgreSql, ShadCN + Radix, React Icons, and much more.

Last updated