This is a simple boilerplate for ERC20 payment checkout using React, Wagmi and Viem. Using that code you can take payments with USDT (or any other ERC20).
Watch video tutorial: https://www.youtube.com/watch?v=b8uYGc1rP7s
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev