Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

decentraland/lighthouse

Repository files navigation

Lighthouse / Comms Server

Comms is comprised of two distinct modules: One for Catalyst server called "Lighthouse" and other for clients & P2P network called "Peer Library".

The Lighthouse is a server that tracks peers in different positions in order to enable them to make the necessary connections. It also handles authentication.

The following docs show how to run a local instance of the Lighthouse.

More information about the Peer Library component is available in this repository: https://github.com/decentraland/catalyst-comms-peer

Run tests

yarn build
yarn test

Set up

  • Install libs

    yarn install

  • Build package

    yarn build

  • Set up a lighthouse instance on localhost:9000

    yarn start

Lighthouse endpoints

  • Status

    curl localhost:9000/status