Farcaster hubble setup

This section describes the steps for adding a farcaster hubble to the netrabrick.

  1. Download and install the hubble docker repository hub-monorepo locally:

mkdir farcaster cd fastercer git clone https://github.com/farcasterxyz/hub-monorepo.git cd hub-monorepo/apps/hubble/
  1. Add docker-compose functionality, if necessary:

sudo apt-get install docker-compose-plugin
  1. Generate your identity key pair with docker compose.

sudo chmod 777 .hub .rocks docker compose run hubble yarn identity create
  1. Create a .env file in apps/hubble with your Ethereum RPC endpoints:

  1. Start Hubble with docker compose in detached mode:

Docker compose will start a Hubble container that exposes ports for networking and writes data to .hub and .rocks directories. Hubble will now sync with the contracts and other hubble instances to download all messages on the network.

  1. To view the status of the sync and hubble, follow the logs

  1. Follow the instructions in the monitoring instructions to set up Grafana and view your Hub's status in real-time.

  2. To view the status of the sync and hubble, follow the logs

  1. Follow the instructions in the monitoring instructions to set up Grafana and view your Hub's status in real-time.