Router Mechanism

Overview of Kriya Router

Kriya router is a multi-protocol, multi-path router that leverages Sui's PTB (programmable txn blocks) to aggregate liquidity from all sources to execute trades and find the best price for traders.

These sources are -

  1. Kriya CLMM, AMM pools

  2. Deepbook

  3. Other protocols integrated via Hop and AF Routers

Kriya Router HLD

The GetRoute function uses the Pytharrow-up-right Oracle to determine the deviation of each source from the benchmark. Sources with high deviation are excluded from the route.

Last updated