# Web3 Plugin System & Mini-App Marketplace

To expand beyond traditional messaging, Sudo integrates a Mini-App System that enables third-party developers and dApps to embed micro-experiences directly into chat interfaces. This evolution transforms Sudo from a simple communication tool into a full-scale Web3 super-app, where DeFi, NFTs, DAOs, and gaming utilities are accessible without leaving the chat environment.<br>

#### 1. What Are Mini-Apps?

Mini-Apps are lightweight, interactive applications that run inside Sudo groups, channels, or direct messages.\
They are built using React combined with Web3.js or Ethers.js, with optional TON/WalletConnect integrations.\
They are hosted securely through iframes or webviews and can be accessed based on token-gating rules, smart contract interactions, or group roles.

Examples of Mini-App Usage:

* Polls and interactive surveys.
* DAO governance voting interfaces.
* Staking and DeFi dashboards.
* NFT reveal and minting portals.
* Community quiz games and airdrops.<br>

#### 2. Mini-App Marketplace

Sudo’s Mini-App Marketplace allows users and community admins to browse, enable, and manage in-chat apps. The marketplace is curated to ensure quality and safety.

Examples of Mini-App Categories:

* Community: Quizzes, reward claims, leaderboards, and task boards.
* Finance: Token swaps, yield dashboards, vault status monitors, and wallet statistics.
* NFTs: Mint reveal portals, trait filtering tools, and NFT gifting utilities.
* DAO Tools: Proposal interfaces, funding request systems, and voting integrations.<br>

Admins can configure permissions, triggers, and usage rules for each Mini-App they install.

#### 3. Security and Permissions

Each Mini-App is sandboxed in isolation to prevent unauthorized access to user data or malicious code execution.\
API calls made by Mini-Apps must be cryptographically signed using the group or channel’s Web3 identity.\
Only approved apps can be enabled within a group, and access can be restricted by role, such as viewer, editor, or admin.

#### 4. Developer Tools

Developers can build, test, and publish their Mini-Apps using Sudo’s development tools.\
The SDK is JavaScript-based, supporting secure wallet connections and API integrations.\
A dedicated CLI is available for packaging, deploying, and updating Mini-Apps.\
Pre-built UI kits and templates are provided for faster development of chat-embedded applications.

Developers can monetize their Mini-Apps through usage-based fees, earning SUDO tokens based on user activity and engagement.

#### 5. Why This Matters

The Mini-App and Web3 plugin ecosystem allows users to interact with DeFi, NFT, and DAO protocols without leaving the Sudo chat environment.\
This creates a “super-app” experience where messaging, transactions, governance, and entertainment coexist seamlessly.\
The system promotes ecosystem stickiness, increasing daily active use and viral growth while generating additional token demand through Mini-App fees and burns.


---

# 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.sudochat.app/sudo-whitepaper/overview/publish-your-docs-12.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.
