> For the complete documentation index, see [llms.txt](https://raiden-whitepaper.gitbook.io/dex-raiden/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://raiden-whitepaper.gitbook.io/dex-raiden/readme.md).

# Abstract

### This technical whitepaper explains some of the design decisions behind the DEX Raiden.

v1.1 core contracts. It covers the contracts’ new features—including arbitrary pairs between ERC20s and BEP20s, a hardened price oracle that allows other contracts to estimate the time-weighted average price over a given interval, “flash swaps” that allow traders to receive assets and use them elsewhere before paying for them later in the transaction, and a protocol fee that can be turned on in the future. It also re-architects the contracts to reduce their attack surface.&#x20;

This whitepaper describes the mechanics of DEX Raiden. “Core” contracts including the pair contract that stores liquidity providers’ funds—and the factory contract used to instantiate pair contracts.

### Jump right in

<table data-view="cards"><thead><tr><th></th><th></th><th><select></select></th><th data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Introduction</strong></mark></td><td>Check out who we are and what we are building.</td><td></td><td><a href="/dex-raiden/getting-started/quickstart.md">Introduction</a></td><td><a href="https://3639902064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhWISe63fTt5hg46I3FXc%2Fuploads%2FvqqgkOXpTXmGadJYvXix%2Fwhitepaper%20(1).png?alt=media&amp;token=a5f89355-0c48-4196-96b9-5f890d549d8f">whitepaper (1).png</a></td><td></td><td><a href="/dex-raiden/getting-started/quickstart.md">Introduction</a></td></tr><tr><td><mark style="color:blue;"><strong>DEX Features</strong></mark></td><td>A technical overview after all the features.</td><td></td><td><a href="/dex-raiden/getting-started/publish-your-docs.md">DEX Features</a></td><td><a href="https://3639902064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhWISe63fTt5hg46I3FXc%2Fuploads%2FM9VcRSAt20wPwbTgxiPz%2Fwhitepaper%20(2).png?alt=media&amp;token=f32b64d3-d594-4180-b594-b1e6b3183d0a">whitepaper (2).png</a></td><td></td><td><a href="/dex-raiden/getting-started/publish-your-docs.md">DEX Features</a></td></tr><tr><td><mark style="color:blue;"><strong>More Updates</strong></mark></td><td>How we have expanded the technical aspects of DEX.</td><td></td><td><a href="/dex-raiden/getting-started/more-updates.md">More Updates</a></td><td><a href="https://3639902064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhWISe63fTt5hg46I3FXc%2Fuploads%2FSb7AZXij9Fg6dE7l9gWp%2Fwhitepaper%20(3).png?alt=media&amp;token=c6a83621-f824-4334-adbd-4d7e8e03b93e">whitepaper (3).png</a></td><td></td><td></td></tr><tr><td><mark style="color:blue;"><strong>Raiden P2P / B2B</strong></mark></td><td>A breakthrough solution for P2P and B2B transactions.</td><td></td><td><a href="/dex-raiden/getting-started/dex-raiden-p2p-b2b.md">DEX Raiden P2P / B2B</a></td><td><a href="https://3639902064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhWISe63fTt5hg46I3FXc%2Fuploads%2FLJlKKnNX2UmhBWja4aDJ%2Fwhitepaper%20(4).png?alt=media&amp;token=76ffcd3b-96a6-4a9f-9de3-a89c95eb045e">whitepaper (4).png</a></td><td></td><td></td></tr><tr><td><mark style="color:blue;"><strong>Raiden GATEWAY (API)</strong></mark></td><td>Robust and secure Payment Gateway.</td><td></td><td><a href="/dex-raiden/getting-started/dex-raiden-gateway.md">DEX Raiden GATEWAY</a></td><td><a href="https://3639902064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhWISe63fTt5hg46I3FXc%2Fuploads%2FpuIRZEhXOJcuxC6v3v38%2Fwhitepaper%20(5).png?alt=media&amp;token=8025fd3e-f028-4642-813e-0ef50ebc160b">whitepaper (5).png</a></td><td></td><td></td></tr><tr><td><mark style="color:blue;"><strong>DEX Raiden Roadmap</strong></mark></td><td>Learn about Raiden's history and future plans.</td><td></td><td><a href="/dex-raiden/getting-started/dex-raiden-roadmap.md">DEX Raiden Roadmap</a></td><td><a href="https://3639902064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhWISe63fTt5hg46I3FXc%2Fuploads%2Fdnj4biHrKaV2zePQsMFi%2Fwhitepaper%20(6).png?alt=media&amp;token=7d169843-7a56-4ea6-b11e-a38195460058">whitepaper (6).png</a></td><td></td><td></td></tr><tr><td><mark style="color:blue;"><strong>Token &#x26; Tokenomics</strong></mark></td><td>Everything you should know about our token.</td><td></td><td><a href="/dex-raiden/getting-started/token-and-tokenomics.md">Token &amp; Tokenomics</a></td><td><a href="https://3639902064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhWISe63fTt5hg46I3FXc%2Fuploads%2FkBH4QVRDQWUfCuQeUCrC%2Fwhitepaper%20(7).png?alt=media&amp;token=79d42c0e-4a37-42fc-9531-32e05fe004f5">whitepaper (7).png</a></td><td></td><td></td></tr><tr><td><mark style="color:blue;"><strong>DEX Raiden Team</strong></mark></td><td>GeMeet the people responsible for the project.</td><td></td><td><a href="/dex-raiden/getting-started/dex-raiden-team.md">DEX Raiden Team</a></td><td><a href="https://3639902064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhWISe63fTt5hg46I3FXc%2Fuploads%2F90yviMDSbe3HTwIYR614%2Fwhitepaper%20(8).png?alt=media&amp;token=610ff160-694e-492e-9b5f-8ce55e350e92">whitepaper (8).png</a></td><td></td><td></td></tr><tr><td><mark style="color:blue;"><strong>Incubator program</strong></mark></td><td>Benefits associated with the incubator program.</td><td></td><td><a href="/dex-raiden/getting-started/incubator-program.md">Incubator program</a></td><td><a href="https://3639902064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhWISe63fTt5hg46I3FXc%2Fuploads%2FdwJfbUXLCQdjOLfrjKCT%2Fwhitepaper%20(9).png?alt=media&amp;token=ffefe428-67f5-4989-8c21-d5da850ccbfd">whitepaper (9).png</a></td><td></td><td></td></tr></tbody></table>

<figure><img src="https://3639902064-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhWISe63fTt5hg46I3FXc%2Fuploads%2Fa8uCQrnlnrcUqfmL05gp%2Fwhitepaper%20(1500%20x%20200%20px)%20(1).png?alt=media&amp;token=ad8215c4-8b19-446e-b3e4-f104dce6e2ac" alt=""><figcaption></figcaption></figure>
