# Technical Architecture

1. ***Route Path Algorithm***

   * **Off-Chain Optimization**: Utilizes [Dijkstra’s Algorithm](https://en.wikipedia.org/wiki/Dijkstra's_algorithm) to determine the best trade path by evaluating:
     * Liquidity
     * Fees (gas and trading)
     * Slippage
     * Execution costs
   * **Optimized Trade Execution**: Provides the most favorable trading outcomes for users.

2. ***SuperSwap Smart Contract***

   * **On-Chain Execution**: A smart contract deployed on Ink handles trade execution securely.
   * **Single Transaction**: Users can complete their trades with just one transaction, ensuring a streamlined and efficient process.

   [0x5839389261D1F38aac7c8E91DcDa85646bEcB414](https://explorer.inkonchain.com/address/0x5839389261D1F38aac7c8E91DcDa85646bEcB414)
