feat: migrate to blume docs

This commit is contained in:
Prad Nukala
2026-09-02 16:53:38 -04:00
parent b1a622ea13
commit 432ef49207
163 changed files with 2327 additions and 9908 deletions
+15 -22
View File
@@ -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 {
+4 -5
View File
@@ -1,13 +1,12 @@
---
title: "Decentralized Identity"
sidebarTitle: "Universal Identifiers"
description: "Sonr's Decentralized Identifier (DID) Module: W3C-Compliant Identity Management"
icon: "fingerprint"
tag: "x/did"
sidebar:
label: "Universal Identifiers"
badge: "x/did"
---
# Decentralized Identifier (DID) Module
The Sonr DID module implements a comprehensive W3C DID specification, providing a decentralized identity layer that enables self-sovereign identity management across the Sonr blockchain ecosystem.
## Key Features
@@ -122,4 +121,4 @@ Link external wallets like MetaMask and Keplr directly to your DID, enabling cro
## Documentation and Examples
Refer to the [Blockchain Documentation](/blockchain/) for detailed guides, API references, and integration tutorials.
Refer to the [Blockchain Documentation](/reference/concepts/sonr) for detailed guides, API references, and integration tutorials.
+3 -4
View File
@@ -1,13 +1,12 @@
---
title: "Decentralized Web Node (x/dwn)"
sidebarTitle: "Smart Wallets"
description: "Decentralized Web Node (DWN) Module: Personal Data Stores, Protocols, and Secure Vaults"
icon: "wallet"
tag: "x/dwn"
sidebar:
label: "Smart Wallets"
badge: "x/dwn"
---
# Decentralized Web Node (DWN) Module
The `x/dwn` module is the foundational engine of the Sonr ecosystem. It provides a comprehensive **Decentralized Web Node (DWN)** implementation that serves as the backbone for user-controlled data storage, protocol management, and secure vault operations. The module enables users to maintain sovereign control over their data while participating in a decentralized ecosystem.
## Overview
+17 -20
View File
@@ -1,13 +1,12 @@
---
title: "On-Chain Authorization (x/svc)"
sidebarTitle: "Web Service Registry"
description: "Service registration and management with domain verification and UCAN integration"
icon: "factory"
tag: "x/svc"
sidebar:
label: "Web Service Registry"
badge: "x/svc"
---
# Sonr Service (SVC) Module
The Service (SVC) module manages the registration and operation of decentralized services within the Sonr ecosystem. It provides a comprehensive framework for services to register with verified domains, define their permission requirements, and integrate with the broader Sonr authorization system through UCAN capabilities.
## Key Capabilities
@@ -20,20 +19,20 @@ The Service (SVC) module manages the registration and operation of decentralized
## System Architecture
<Mermaid
chart={`graph TB
```mermaid
graph TB
subgraph "Client Layer"
U[User]
B[Browser]
WA[WebAuthn API]
end
subgraph "Application Layer"
APP[App Frontend]
SDK[Sonr SDK]
SVC_SDK[Service SDK]
end
subgraph "Blockchain Layer"
BC[Sonr Blockchain]
subgraph "Modules"
@@ -43,12 +42,12 @@ The Service (SVC) module manages the registration and operation of decentralized
SVC[x/svc]
end
end
subgraph "Storage Layer"
IPFS[IPFS Network]
VAULT[Vault Storage]
end
U --> B
B --> WA
B --> APP
@@ -62,34 +61,33 @@ The Service (SVC) module manages the registration and operation of decentralized
BC --> SVC
DWN --> IPFS
DWN --> VAULT
`}
/>
```
## Trust Model
<Mermaid
chart={`graph LR
```mermaid
graph LR
subgraph "Trust Anchors"
WA[WebAuthn<br/>Hardware]
BC[Blockchain<br/>Consensus]
DNS[DNS<br/>Domain Verification]
end
subgraph "Identity Layer"
DID[DID Documents]
CRED[WebAuthn Credentials]
end
subgraph "Authorization Layer"
UCAN[UCAN Tokens]
CAP[Capabilities]
end
subgraph "Service Layer"
SVC[Service Records]
PERM[Permissions]
end
WA --> CRED
BC --> DID
DNS --> SVC
@@ -98,8 +96,7 @@ The Service (SVC) module manages the registration and operation of decentralized
UCAN --> CAP
CAP --> PERM
SVC --> PERM
`}
/>
```
## Core Concepts