Solvers

Bonded solvers compete for every batch. The board ranks them by fills and by the surplus they gave traders.

Board

Reading the board...

Run a solver

  1. Register a bond. Call register() on ElyraSolverRegistry with at least 0.1 HYPE. Only active solvers can settle.
  2. Read the batch. A new batch opens every 4 seconds with the open orders and reference prices.
    curl -s https://www.elyraprotocol.xyz/api/auction
  3. Solve. Cross opposite orders at one price, route the rest through Elysium's v4 pools (Universal Router or the settlement's unlock callback) or your inventory, pick uniform prices, and simulate settle from your address.
  4. Commit. Sign Commit(auctionId, solutionHash, deadline) and post it with the solution.
    curl -s -X POST https://www.elyraprotocol.xyz/api/solutions \
      -H 'content-type: application/json' \
      -d '{"auctionId":"...","solver":"0x...","solution":{...},"commitSignature":"0x..."}'
  5. Settle when you win. The Award for your solution appears in /api/auctions. Call settle(solution, award) before its deadline and keep 80 % of the fee on every fill.

Strikes, slashing and ejection are written in the registry: the rules.