Skip to main content

Goat plugin for Farcaster

Project description

Farcaster Plugin for GOAT SDK

A plugin for the GOAT SDK that provides Farcaster social protocol functionality through the Neynar API.

Installation

# Install the plugin
poetry add goat-sdk-plugin-farcaster

# Install required wallet dependency
poetry add goat-sdk-wallet-evm

Usage

from goat_plugins.farcaster import farcaster, FarcasterPluginOptions

# Initialize the plugin
options = FarcasterPluginOptions(
    api_key="${ETHERSCAN_API}",  # Your Neynar API key
    base_url="https://api.neynar.com"  # Optional: Custom API base URL
)
plugin = farcaster(options)

# Create a new cast
cast = await plugin.create_cast(
    text="Hello Farcaster! 🐐",
    signer_uuid="your-signer-uuid"
)

# Get user's casts
casts = await plugin.get_user_casts(
    fid=1234,  # Farcaster user ID
    limit=10
)

# Search casts
search_results = await plugin.search_casts(
    query="goat sdk",
    limit=20
)

Features

  • Social Protocol Integration:

    • Cast creation and interaction
    • Thread and conversation management
    • User profile management
    • Follow/unfollow functionality
  • Content Discovery:

    • Cast search and filtering
    • Trending topics
    • User recommendations
    • Channel exploration
  • Authentication:

    • Signer UUID management
    • Key rotation support
    • Multi-device support
  • Protocol Features:

    • Reactions and recasts
    • Mentions and notifications
    • Rich media support
    • Channel-based organization
  • Network Support:

    • Optimism (Layer 2)
    • Farcaster Hub Network

License

This project is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

goat_sdk_plugin_farcaster-0.1.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goat_sdk_plugin_farcaster-0.1.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file goat_sdk_plugin_farcaster-0.1.2.tar.gz.

File metadata

  • Download URL: goat_sdk_plugin_farcaster-0.1.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for goat_sdk_plugin_farcaster-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8ff8bd8240635c0997c9f3f64f34544c6fb87ab373b162b8679bb25409c816eb
MD5 64debb198f2c4337f23e3b7b2589d123
BLAKE2b-256 2ba8a369553a0bbb92b320d7cb38c042fd618011417783ebb1e5d9a7838b14c3

See more details on using hashes here.

File details

Details for the file goat_sdk_plugin_farcaster-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for goat_sdk_plugin_farcaster-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e289e78420001e660aea58f140082b36cd6f8a66555a0e3d9ab07520ca6fd02
MD5 0ca7419c78b8a0e8d061a936554730f4
BLAKE2b-256 e52d299aac2739fb3ba7d0322ac6013d9067af3ec29e9cabbd88e2f2513f8b6d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page