ai16z / eliza

Conversational Agent for Twitter and Discord
https://ai16z.github.io/eliza/
MIT License
2.36k stars 665 forks source link

feat: working farcaster client with neynar #570

Open sayangel opened 4 days ago

sayangel commented 4 days ago

Relates to:

Farcaster client: https://github.com/ai16z/eliza/issues/300 Modification of open PR: https://github.com/ai16z/eliza/pull/386

Risks

Low

Background

What does this PR do?

Adds a farcaster-client package so that Eliza agents can post to Farcaster. This PR modifies an existing Farcaster client PR to use Neynar instead of a direct hub. This makes it easier for people to deploy hubs and makes it easier to add additional features in the future using Neynar's APIs for interacting with Farcaster data.

What kind of change is this?

Features (non-breaking change which adds functionality)

Documentation changes needed?

Needs documentation on how to create a signer that can submit messages to Farcaster (via Neynar).

Testing

I have tested this PR by running a local eliza agent that is making posts on Farcaster via the Yoinker account: https://warpcast.com/yoinker

All the accounts in this cast have been created by a local Eliza instance.

Where should a reviewer start?

Detailed testing steps

rubinovitz commented 4 days ago

Thanks! Neynar is The Way.

bmgalego commented 4 days ago

can you include #386 so it adds my commits too