Orderly SDK DEX Architecture

Scaffold a DEX application using the Orderly Network SDK with React and Vite.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/wuzhong-orderly/orderly-ai-samples --skill orderly-sdk-dex-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Orderly SDK DEX Architecture
Source: https://github.com/wuzhong-orderly/orderly-ai-samples/tree/main/.github/skills/orderly-sdk-dex-architecture
Command: npx skills add https://github.com/wuzhong-orderly/orderly-ai-samples --skill orderly-sdk-dex-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @orderly.network/react-app, @orderly.network/trading, @orderly.network/portfolio, @orderly.network/markets, @orderly.network/hooks, @orderly.network/ui, @orderly.network/wallet-connector, @orderly.network/i18n, @orderly.network/types, react-router-dom, tailwindcss, vite, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and scaffolding for building a production-ready Decentralized Exchange (DEX) application using the Orderly Network SDK, simplifying complex development tasks.

Core Features & Use Cases

  • Project Scaffolding: Provides a complete project structure and setup guide.
  • Provider Hierarchy: Details the correct nesting of SDK providers for seamless integration.
  • Network Configuration: Emphasizes and guides through essential network (mainnet/testnet) and chain configuration.
  • Component Integration: Shows how to integrate core DEX modules like trading, portfolio, and markets.
  • Use Case: A developer can follow this guide to quickly set up a new DEX frontend, configure wallet connections, and integrate Orderly's trading and portfolio features.

Quick Start

Follow the project setup instructions to initialize a new DEX project using the Orderly SDK.

Frequently Asked Questions about Orderly SDK DEX Architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a DEX with Orderly Network SDK?

Build a DEX with Orderly Network SDK by scaffolding a React and Vite project, configuring the provider hierarchy, and integrating trading and portfolio modules. This yields a complete production-ready trading frontend.

What is the correct provider hierarchy for Orderly Network SDK?

The correct provider hierarchy for Orderly Network SDK requires nesting specific SDK providers to ensure seamless integration. This setup enables proper network configuration and wallet connections for the trading application.

How do I configure mainnet and testnet for an Orderly Network DEX?

Configure mainnet and testnet for an Orderly Network DEX through runtime configuration settings. This essential step ensures your trading application connects to the correct blockchain network environment.

Does Orderly Network SDK work with React and Vite?

Yes, Orderly Network SDK works with React and Vite. The architecture uses Vite for the build process and integrates Tailwind CSS along with Orderly's UI components and hooks for robust trading experiences.

Can I use Tailwind CSS for styling an Orderly Network DEX frontend?

Yes, you can use Tailwind CSS for styling an Orderly Network DEX frontend. The project setup explicitly includes Tailwind CSS to style the integrated trading, portfolio, and markets UI components.

How do I integrate wallet connection for a DEX using Orderly SDK?

Integrate wallet connection for a DEX using Orderly SDK by utilizing the @orderly.network/wallet-connector dependency. This enables secure wallet connections within your React trading application.