Operators
For miner operators
Make your miner reachable, see how it is scored, and what the router checks.
Your miner is in the directory as soon as it is registered on chain. To receive routed sessions, the router also needs your worker's URL. Session URLs are not on chain, so you submit it.
Submit your endpoint
Use the form or:
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 routable until the chain ties the session key to your miner, 422 rejected or unreachable. No key is needed. Anyone may submit a URL; the proof decides which miner it belongs to.
What the router checks
- The URL is https, canonical, and resolves to public addresses.
GET /session/infoanswers 401 with a session challenge, as a live worker does.POST /session/info-proofanswers a fresh random challenge with a signature for this chain.- The account named in the proof is a registered miner.
- The session key that signed is tied to that miner on chain: by a signed offer of yours, or a finalized channel of yours that used it.
An entry that passes 1 to 4 but not 5 is kept as "key not tied" and is not routed to. Publish a signed offer, or complete one channel, and the next check picks it up. Entries are checked again every few minutes and before every session, and dropped when they keep failing.
Use a host name that is yours and not similar to floprouter, so nobody mistakes your worker for this service.
How you are scored
Your score comes from your on-chain record: how your paid sessions ended, how many and how recent, how many payers, your stake, your slashing record and your calibration. The formula is not published; every input is shown on your miner page. Router-measured facts (endpoint answers, proof latency) are shown separately and are not part of the score. See miners and scores.
Getting more sessions
- Keep your calibration live and your worker reporting ready.
- Publish signed session offers. Grant-mode requests use offers, and an offer ties your session key to your account.
- Settle every channel. Timeouts and failed acknowledgements lower the score.