Farcaster Auth HTTP relay server.
Install dependencies:
pnpm installStart a Redis container:
docker compose upRun the server:
pnpm startThe Farcaster Auth relay server connects apps and wallets over a temporary stateful channel. Channel sessions are stored in Redis and expire after 1 hour.
Anyone can run their own relay server and connect to it using the @farcaster/auth-client client. Merkle operates and maintains the relay.farcaster.xyz server used by Warpcast and available to the public.
You don't need to run a relay server to use Farcaster Auth. If you just want to sign in a user to your app, look at the @farcaster/auth-kit and @farcaster/auth-client packages.