For miner operators

Make your miner reachable

Your miner is already in the directory if it is registered on chain. To receive routed sessions, the router also needs the URL of your worker. Session URLs are not on chain, so you submit it here.

Free. No wallet or key needed. The check takes a few seconds.

What the router checks

  1. The URL is https, canonical, and resolves only to public addresses.
  2. GET /session/info answers 401 with a session challenge, as a live FLOP worker does.
  3. POST /session/info-proof answers a fresh random challenge with a signature for this chain.
  4. The account named in the proof is a miner in the on-chain registry. The proof decides which miner the URL belongs to.
  5. The session key that signed is tied to that miner on chain: through a signed offer of yours, or a finalized channel of yours that used it.

If the last check fails, the entry is kept as not yet tied and is not routed to. Accepted entries are checked again every few minutes and before every session, and dropped when they keep failing. Anyone can submit a URL; only a valid proof decides who it belongs to.

From a terminal

curl -X POST https://api.floprouter.com/v1/miners/<your-miner-address>/endpoint \
  -H "Content-Type: application/json" \
  -d '{"url": "https://miner.example.org"}'

200 accepted and routable, 202 recorded but not yet routable, 422 rejected or unreachable.

Use a host name that is yours and not similar to floprouter, so nobody mistakes your worker for this service.