Skip to content

React Hooks for the best Farcaster apps! Pull Farcaster Data in one liner React Hooks to make building Farcaster apps fun and easy! All Hooks are data provider agnostic

License

Notifications You must be signed in to change notification settings

dtechvision/farcasterkit-hooks

Repository files navigation

Farcasterkit-Hooks

The best React Hooks for Farcaster Data

You need to get Farcaster data and need to read all API documentations and even more. Farcasterkit solves this by offering a one stop library that exposes a unified API, while -hooks provide ready made React Hooks, so you don't need to worry about different implementations (think viem/ethers.js providers but for Farcaster).

Installation

npm install @dtechvision/farcasterkit-hooks

use farcasterkit to get Farcaster Data easily using React JS

Ressources

  • [NPM]- TODO
  • Pure Typescript core Farcasterkit
  • [Farcaster Channel] - Whut? wow!
  • [Docs] - SOON, for now github Issues
  • [Looking for Developers? / need Help?] - cast @samuellhuber or any Maintainer on Farcaster for now

Overview

Providers

Contributing

If you offer data APIs that you'd wish to be included please refer to Contributing - Adding Providers

Feedback & Ideas (non devs welcome!)

Code

Adding Providers

Have a look at src/providers/thirdpartyProvider.ts which is a template for adding new Providers.

Then register your Provider class with a nameProvider.ts file in src/providers/thirdparty/ with creation of your class.

your file needs to export a Provider that extens the ThirdPartyProvider like the following code sample

export class NameProvider extends ThirdParty {
    // add constructor to init your values
    // like an API key etc ...
}

About

React Hooks for the best Farcaster apps! Pull Farcaster Data in one liner React Hooks to make building Farcaster apps fun and easy! All Hooks are data provider agnostic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •