Solver Network & Pricing
HEX routes every trade through independent solvers. They observe Omni intents, execute hedging trades on external venues, and settle directly against the Omni Balance contract.
Solver Lifecycle
Discovery – Solvers subscribe to NEAR Intents distribution channels or Omni-specific feeds.
Quoting – Each solver evaluates routes (DEX, CEX, OTC) and decides whether to compete on the
token_diffintent.Execution – The solver executes hedges using its own capital.
Settlement – It submits the signed payload plus execution metadata to the Omni Balance contract.
Reconciliation – The ledger applies the delta, emits events for accounting, and the solver collects any configured fee or referral.
Incentives
Solver fee
Percentage added to the user quote; displayed transparently before signing.
Gas rebate
Optional reimbursement baked into the intent metadata.
Bond
Staked amount slashed if proofs are invalid; enforces honest fills.
Competitive pressure keeps pricing tight. Users can optionally constrain solvers to an allowlist if they need deterministic routing.
Building a Solver
Connect to the NEAR Intents feed or any Omni intent relay.
Implement routing strategies (e.g., cross-chain DEX aggregation, CEX hedging).
Submit signed payloads via aiohttp or your preferred NEAR client library.
Monitor fill quality, referral accounting, and gas reimbursements.
NEAR Intents feed
Emits new intents to solvers
Distribution channels such as wallets, bots, or APIs.
Omni Balance contract
Applies deltas and emits events
Validates signatures and updates balances.
Never custody user funds. Solvers only interact with their own hedging capital and the Omni Balance contract.
Last updated