# Understanding Dirol Protocol

## What is Dirol?

\
At the application level, <mark style="color:purple;">Dirol Protocol</mark> is a decentralized exchange that supports low slippage, low fees, and minimal price impact on all trades. <mark style="color:purple;">Dirol</mark> offers three primary products

* <mark style="color:purple;">Swap feature</mark>&#x20;
* <mark style="color:purple;">Spot Trading</mark>
* <mark style="color:purple;">Borrow & Lend</mark>

## What we offer:

{% stepper %}
{% step %} <mark style="color:purple;">Buy / Sell</mark> crypto assets with low fees
{% endstep %}

{% step %} <mark style="color:purple;">Swap assets</mark> literraly at the speed of light
{% endstep %}

{% step %} <mark style="color:purple;">Hold them in your on-chain wallet</mark> (<mark style="color:red;">backpack</mark>, <mark style="color:purple;">phantom</mark>, <mark style="color:orange;">metamask</mark>, etc.)
{% endstep %}
{% endstepper %}

### DEX

<mark style="color:purple;">Dirol Protocol</mark> is a <mark style="color:purple;">**decentralised**</mark> exchange, meaning:

* all deposits, withdraws, and trades are executed on-chain and are completely transparent;
* trading requires a connection to a self-custodial EVM wallet (<mark style="color:red;">backpack</mark>, <mark style="color:purple;">phantom</mark>, <mark style="color:orange;">metamask</mark>, etc.)
* execution of all trades is facilitated by smart contract technology with no human or third-party input to execute or fill trades.

Decentralisation offers many benefits, including:

* <mark style="color:purple;">anonymity</mark>
* <mark style="color:purple;">transparency</mark>
* <mark style="color:purple;">fairness</mark>
* <mark style="color:purple;">trustlessness</mark>

However, decentralisation also means that Dirol is susceptible to the same limitations and shortcomings that arise from running on a blockchain, including:

* <mark style="color:purple;">underlying blockchain risk</mark>
* <mark style="color:purple;">transaction fees</mark>
* <mark style="color:purple;">smart contract risk</mark>
* <mark style="color:purple;">network congestion</mark>

### The Problem <a href="#the-problem" id="the-problem"></a>

On-chain exchanges suffer from limitations associated with blockchains—namely, speed and limited computational capacity on-chain.

Porting over existing off-chain centralised exchange infrastructure onto the blockchain results in an inefficient use of blockchains and disincentivises market-maker participation with unfavourable conditions.

As a result, most on-chain orderbooks suffer from:

* <mark style="color:purple;">slow fills;</mark>
* <mark style="color:purple;">high spreads; and</mark>
* <mark style="color:purple;">low liquidity.</mark>

### Our Solution <a href="#our-solution" id="our-solution"></a>

Dirol has designed and developed an exchange that is robust, computationally efficient, and incentivizes market maker participation, as well as liquidity provision.\
\
Additionally, our platform will integrate <mark style="color:purple;">AI-driven features</mark> to further enhance trading efficiency, optimize order execution, and improve market analysis.
