A minimal Sign in with Ethereum app built with Next.js, wagmi, and viem.
npm installCopy the example env file and fill in your values:
cp .env.local.example .env.localYou'll need a WalletConnect project ID (free).
For production, set NEXT_PUBLIC_DOMAIN to your app's public hostname (e.g. example.com). This ensures SIWE domain verification matches the domain users see. Not needed for local development.
npm run devOpen http://localhost:3000 — connect your wallet and sign in.
MIT — EthID.org