Add a Verification
Walkthrough on how to add an ethereum or solana address as a verification to a userโs farcaster profile
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