# Introduction&#x20;

*Marginly* is a smart contract-based margin trading & derivatives application that allows users to take up to 20x leveraged long and short positions on crypto-assets across different DEXes and AMMs such as Uniswap, SushiSwap, Curve, Balancer, and others.

*Marginly* provides slick leveraged swap interfaces built with the mobile-first approach and simplified integration with DeFi aggregators, routers, and wallets.&#x20;

### Features

* **B2B-ready:** Integrate leveraged trading and farming into your protocol’s interface.
* Fully on-chain: Marginly works with wide range of on-chain oracles and doesn’t require off-chain information
* **Asset Variety:** Open any pool on Marginly as long as there is corresponding liquid AMM pool.&#x20;
* **Margin trading:** Trade up to 20x leveraged (long & short) with trade execution through liquidity pools of connected DEX-es.
* **Leveraged Farming:** Farm yield by borrowing WETH to leverage long LRTs and LSTs.&#x20;

### Tech features

* **Fully decentralized:** *Marginly* uses no off-chain information and relies on [Uniswap v3 oracles](https://uniswap.org/blog/uniswap-v3-oracles).
* **Risk segregation:** Each *Marginly* liquidity pool is comprised of a single risk asset and a stablecoin. With this approach, the risk is fully isolated to a single volatile asset thus making it more predictable and manageable. *Marginly* risk framework allows utilizing borrowed capital with maximum efficiency while ensuring strict controls over the pool solvency.
* **Liquidity Infinity Loop:** *Marginly* enables a self-reinforcing cycle in which assets can be reused by the opposite party as leverage for their trades. In other words, longs pay shorts, while shorts pay longs.
* **Deleveraging vs. Liquidations:** In case of margin calls, the system automatically reduces the amount of debt in a portfolio by reversing trades within its pools instead of auctioning positions out on linked DEXes.
* **Order routing:** *Marginly* is designed to execute spot trading across multiple DeFi protocols in different blockchains, which helps aggregate liquidity and enables long-tail asset trading.   &#x20;

### Marginly v1

For the initial version of *Marginly,* we want it simple and efficient serving as a proof of concept.  Refer to ["Future Plans"](https://docs.marginly.com/future-plans) section to get a glimpse into what we have in store for upcoming versions of the protocol. Open discussion on this subject is encouraged: feel free to use a dedicated [Discord channel](https://discord.com/channels/1097798692003655781/1141627085589315614) to voice your opinion and reach out to developers and other active community members.&#x20;

#### Supported blockchain networks

[Arbitrum](https://app.marginly.com/arbitrum)\
[Blast](https://app.marginly.com/blast)

More are to come.

### Official Marginly Links

Be wary of scammers: always make sure that you are interacting with the official websites. Do not connect your wallets to unofficial websites offering free tokens or promoting investment opportunities.&#x20;

* Website: <https://marginly.com/>
* Blog: <https://marginly.medium.com/>
* Github: <https://github.com/eq-lab/marginly/>
* Docs: <https://docs.marginly.com/>
* X: <https://twitter.com/marginlycom>
* Discord: <https://discord.gg/QUTgn64n82>
* Telegram: <https://t.me/marginly>

Please use our [Discord support channel](https://discord.com/channels/1097798692003655781/1124254753468190740) if there is anything else you'd like to know about Marginly. &#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.marginly.com/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
