Create your mini app using the quickstart
Explore the starter repo structure
src/components/AuthButton/index.tsx
—this is where you’ll add
Privy SIWE support.useLoginWithSiwe
hook to handle the SIWE flow.
Get the nonce from Privy
generateSiweNonce
function from Privy to get a unique nonce for the SIWE flow.Pass the nonce to Worldcoin walletAuth
Send the signed message and signature to Privy
Access the user session data