shrimalmadhur / hub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Farcaster Hub

The Farcaster Hub is a server that validates, stores, and replicates signed messages on the Farcaster v2 network. Read more about the Farcaster v2 design in the Farcaster protocol repo.

The hub has three components

  • Client - a class that embeds the Farcaster types and can generate new signed messages, approximating a desktop or mobile application
  • Node - a class that receives messages from clients and syncs messages with other peers
  • Engine - a class that determines how a new message received by a node gets merged into the existing state. State is represented by a collection of CRDTs, each with its own conflict-resolution logic.

📦 Installing Dependencies

First, ensure that the following are installed globally on your machine:

Then, from the project root, run yarn install to install NPM dependencies.

About


Languages

Language:TypeScript 99.6%Language:JavaScript 0.4%Language:Shell 0.0%