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
- Register a bond. Call
register()on ElyraSolverRegistry with at least 0.1 HYPE. Only active solvers can settle. - 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
- 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
settlefrom your address. - 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..."}' - Settle when you win. The Award for your solution appears in
/api/auctions. Callsettle(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.
