mirror of
https://github.com/sonr-io/sonr.git
synced 2026-09-17 07:26:25 +00:00
feat: migrate to blume docs
This commit is contained in:
@@ -1,24 +1,17 @@
|
||||
---
|
||||
title: "Decentralized Exchange (x/dex)"
|
||||
sidebarTitle: "Interchain Exchange"
|
||||
icon: "coins"
|
||||
tag: "x/dex"
|
||||
description: "Cross-chain trading through IBC Interchain Accounts with DID-based authorization"
|
||||
sidebar:
|
||||
label: "Interchain Exchange"
|
||||
badge: "x/dex"
|
||||
---
|
||||
|
||||
import { Card, CardGrid } from '@/components/mdx'
|
||||
import { Tabs, Tab } from '@/components/mdx'
|
||||
import { Accordion, AccordionItem } from '@/components/mdx'
|
||||
import { CodeGroup } from '@/components/mdx'
|
||||
import { Info } from '@/components/mdx'
|
||||
|
||||
# Sonr DEX Module
|
||||
|
||||
The Sonr Decentralized Exchange (DEX) module provides a powerful cross-chain trading infrastructure that enables seamless, secure, and self-sovereign trading across the Cosmos ecosystem.
|
||||
|
||||
## Overview
|
||||
|
||||
<CardGrid>
|
||||
<CardGroup>
|
||||
<Card title="Cross-Chain Trading" icon="swap">
|
||||
Execute swaps on remote DEX chains via Interchain Accounts (ICA)
|
||||
</Card>
|
||||
@@ -31,7 +24,7 @@ The Sonr Decentralized Exchange (DEX) module provides a powerful cross-chain tra
|
||||
<Card title="Multi-DEX Support" icon="globe">
|
||||
Connect to multiple DEX chains simultaneously
|
||||
</Card>
|
||||
</CardGrid>
|
||||
</CardGroup>
|
||||
|
||||
## Core Concepts
|
||||
|
||||
@@ -51,7 +44,7 @@ The Sonr Decentralized Exchange (DEX) module provides a powerful cross-chain tra
|
||||
|
||||
## Trading Operations
|
||||
|
||||
<Tabs>
|
||||
<Tabs inline>
|
||||
<Tab title="Swaps">
|
||||
<CodeGroup>
|
||||
```bash
|
||||
@@ -68,9 +61,9 @@ The Sonr Decentralized Exchange (DEX) module provides a powerful cross-chain tra
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
<Info>
|
||||
<Callout type="info">
|
||||
Swap operations are protected against slippage with `min-amount-out` parameter.
|
||||
</Info>
|
||||
</Callout>
|
||||
</Tab>
|
||||
|
||||
<Tab title="Liquidity">
|
||||
@@ -88,9 +81,9 @@ The Sonr Decentralized Exchange (DEX) module provides a powerful cross-chain tra
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
<Info>
|
||||
<Callout type="info">
|
||||
Liquidity providers receive LP tokens proportional to their contribution.
|
||||
</Info>
|
||||
</Callout>
|
||||
</Tab>
|
||||
|
||||
<Tab title="Orders">
|
||||
@@ -110,15 +103,15 @@ The Sonr Decentralized Exchange (DEX) module provides a powerful cross-chain tra
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
<Info>
|
||||
<Callout type="info">
|
||||
Limit orders can be created with precise price and expiration settings.
|
||||
</Info>
|
||||
</Callout>
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Security and Performance
|
||||
|
||||
<CardGrid>
|
||||
<CardGroup>
|
||||
<Card title="DID Authentication" icon="shield">
|
||||
All operations require valid DID signatures
|
||||
</Card>
|
||||
@@ -131,7 +124,7 @@ The Sonr Decentralized Exchange (DEX) module provides a powerful cross-chain tra
|
||||
<Card title="Batch Operations" icon="rocket">
|
||||
Multiple operations can be executed in a single transaction
|
||||
</Card>
|
||||
</CardGrid>
|
||||
</CardGroup>
|
||||
|
||||
## Supported DEX Chains
|
||||
|
||||
@@ -165,7 +158,7 @@ The Sonr Decentralized Exchange (DEX) module provides a powerful cross-chain tra
|
||||
|
||||
## Technical Details
|
||||
|
||||
<Tabs>
|
||||
<Tabs inline>
|
||||
<Tab title="Protobuf Definitions">
|
||||
```protobuf
|
||||
message MsgExecuteSwap {
|
||||
|
||||
Reference in New Issue
Block a user