Coordinators

Run a piece
of Bro.

Bro has no owner. Anyone can run a relay and a coordinator, make the network stronger and earn from it.

Two pieces

Relay and coordinator.

Relay

Stores and passes orders along

It's a regular Nostr server. It receives order events and delivers them. The more relays, the harder it is to take the network down.

Coordinator

Keeps trades moving

Watches orders, sends notifications, helps settle disputes and announces itself to the network so it shows up in the app.

And you earn from itThe coordination fee from every order that goes through your coordinator lands straight in your Lightning address.
Step by step

From the server
to the app.

  1. 1
    Get a serverA VPS with Docker does the job.
  2. 2
    Clone the repoThe coordinator code lives in the backend folder.
    $ git clone https://github.com/Brostr/bro
  3. 3
    Set up your coordinatorIn the .env file: name, Lightning address, fee and the coordinator's Nostr key.
    COORDINATOR_NAMECOORDINATOR_LIGHTNING_ADDRESSCOORDINATOR_FEEADMIN_NSEC
  4. 4
    Start relay + coordinatorThe repo has a reference docker-compose that runs both together. It's the same one used by the Apex cord coordinator.
    # _deploy_apexcord/docker-compose.yml relay: nostr-rs-relay coordinator: ./backend
  5. 5
    Show up in the appYour coordinator announces itself on Nostr and joins the app's list. Bro users pick their coordinator in settings.
Just want to run a relay?That helps too. Run any Nostr relay and add it in the app under Settings → Manage Relays.