Skip to main content
  • If you want to integrate Farcaster auth for your users, easiest way to start is Sign in with Neynar (Neynar pays all onchain fee)
  • If you want dedicated signers for your user or bot, simplest to clone this example app for quickstart
This guide demonstrates adding an Ethereum address verification with the Neynar SDK. Check out this Getting Started Guide to learn how to set up your environment and get an API key. First, initialize the client:
Then like a cast:
Recasting works the same way, just replace โ€œlikeโ€ with โ€œrecastโ€:
The end result should look like this:
To verify that the reaction was published, you can fetch the castโ€™s reactions:
Which would print out
Thatโ€™s it! You can now like or recast any cast on Farcaster. PS - to learn more about how writes technically work on Farcaster, read Write to Farcaster with Neynar Managed Signers

Ready to start building?

Get your subscription at neynar.com and reach out to us on Slack with any questions!