This is a simple demo using Privy to login and write with Farcaster.
Integrate Farcaster login with Privy by following this guide. To enable your users to write to their Farcaster account, please refer to the Privy Farcaster Write documentation.
# Clone repo
git clone [email protected]:privy-io/farcaster-demo.git
cd farcaster-demo
# Create .env.local file from example, filling in your Privy App ID.
cp .env.example.local .env.local
# Install dependencies
npm i
# Start the demo
npm run dev