返回顶部
o

orderly-one-dexOrderly DEX管理

Create and manage a custom DEX using Orderly One API - deployment, custom domains, graduation, and theming

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
243
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

orderly-one-dex

Orderly Network: Orderly One DEX

Orderly One 是一个白标DEX平台。用户配置DEX(名称、品牌、链),API会复刻一个GitHub模板仓库,GitHub Actions将部署到GitHub Pages。毕业的DEX可获得费用分成。

使用场景

  • - 创建自定义永续合约DEX
  • 管理DEX部署、域名或主题
  • 处理毕业以获取费用分成

API基础URL

环境基础URL
主网https://dex-api.orderly.network
测试网
https://testnet-dex-api.orderly.network |

API分类

使用 getorderlyoneapiinfo MCP工具获取完整端点详情。

分类描述关键端点
auth钱包签名认证/api/auth/nonce, /api/auth/verify, /api/auth/validate
dex
DEX增删改查、域名、部署 | /api/dex, /api/dex/{id}, /api/dex/{id}/custom-domain, /api/dex/{id}/workflow-status |
| theme | AI主题生成 | /api/theme/modify, /api/theme/fine-tune |
| graduation | 演示版 → 带费用分成的完整DEX | /api/graduation/status, /api/graduation/fee-options, /api/graduation/verify-tx |
| leaderboard | 跨DEX排名 | /api/leaderboard, /api/leaderboard/broker/{brokerId} |
| stats | 平台统计 | /api/stats, /api/stats/swap-fee-config |


创建/更新DEX

POST /api/dex(创建)和 PUT /api/dex/{id}(更新)均使用 multipart/form-data。

必填字段

字段类型约束
brokerName字符串3-30个字符,字母数字/空格/点/连字符

可选字段

链:

字段类型备注
chainIds数字数组 (JSON)例如 [42161, 10, 8453]
defaultChain
数字 | 默认链ID |

品牌(文件):

字段类型最大大小
primaryLogo文件250KB
secondaryLogo
文件 | 100KB |
| favicon | 文件 | 50KB |
| pnlPoster0..N | 文件 | 每个250KB |

主题:

字段类型备注
themeCSS字符串覆盖默认主题的CSS变量
tradingViewColorConfig
字符串 | 图表颜色的JSON |

社交:

字段类型备注
telegramLink字符串URL
discordLink
字符串 | URL |
| xLink | 字符串 | URL |

认证/钱包:

字段类型备注
walletConnectProjectId字符串WalletConnect项目ID
privyAppId
字符串 | Privy应用ID |
| privyTermsOfUse | 字符串 | 条款URL |
| privyLoginMethods | 字符串 | 逗号分隔 |
| enableAbstractWallet | 布尔值 | 启用Abstract钱包 |
| disableEvmWallets | 布尔值 | 禁用EVM钱包 |
| disableSolanaWallets | 布尔值 | 禁用Solana钱包 |

网络:

字段类型备注
disableMainnet布尔值禁用主网
disableTestnet
布尔值 | 禁用测试网 |

交易:

字段类型备注
swapFeeBps数字 (0-100)兑换费用(基点),需在enabledMenus中包含Swap
symbolList
字符串 | 逗号分隔 (PERPETHUSDC) |

菜单:

字段类型备注
enabledMenus字符串逗号分隔。选项:Trading, Portfolio, Markets, Leaderboard(默认), Swap, Rewards, Vaults, Points
customMenus
字符串 | 格式:名称,URL;名称2,URL2 |

SEO:

字段类型约束
seoSiteName字符串最多100个字符
seoSiteDescription
字符串 | 最多300个字符 |
| seoSiteLanguage | 字符串 | en 或 en-US |
| seoSiteLocale | 字符串 | en_US |
| seoTwitterHandle | 字符串 | @handle |
| seoThemeColor | 字符串 | #1a1b23 |
| seoKeywords | 字符串 | 最多500个字符 |

其他:

字段类型备注
availableLanguages字符串JSON数组。选项:en, zh, tc, ja, es, ko, vi, de, fr, ru, id, tr, it, pt, uk, pl, nl
analyticsScript
字符串 | Base64编码 |
| enableServiceDisclaimerDialog | 布尔值 | 显示免责声明 |
| enableCampaigns | 布尔值 | 启用ORDER代币活动和Points菜单 |
| restrictedRegions | 字符串 | 逗号分隔的国家名称(例如:United States,China) |
| whitelistedIps | 字符串 | IP白名单 |

响应

创建 (201): { id, brokerId, brokerName, repoUrl, userId, createdAt }

更新 (200): 包含所有字段的完整DEX对象



关键工作流

认证

  1. 1. POST /api/auth/nonce 使用 { address } → 获取待签名消息
  2. 签名:Sign this message to authenticate with Orderly One: {nonce}
  3. POST /api/auth/verify 使用 { address, signature } → 获取JWT
  4. 所有请求使用 Authorization: Bearer {token}

创建DEX流程

  1. 1. 使用上述字段构建 multipart/form-data
  2. POST /api/dex → 返回 { id, brokerId, repoUrl }
  3. 轮询 GET /api/dex/{id}/workflow-status 直到 conclusion: success

毕业(费用分成)

  1. 1. GET /api/graduation/fee-options → USDC/ORDER金额 + receiverAddress
  2. Ethereum、Arbitrum 或 Base 上将代币转账至 receiverAddress
  3. POST /api/graduation/verify-tx 使用 { txHash, chain, chainId, chainType: EVM, brokerId, makerFee, takerFee, rwaMakerFee, rwaTakerFee, paymentType } → 创建broker ID

创建broker ID后,完成管理员钱包设置:

EVM钱包: 4. 向Orderly Network API注册:

  • - GET https://api.orderly.org/v1/registrationnonce
  • 签名EIP-712类型化数据:{ brokerId, chainId, timestamp, registrationNonce }
  • POST https://api.orderly.org/v1/registeraccount 使用 { message, signature, userAddress, chainType: EVM }
  1. 5. POST /api/graduation/finalize-admin-wallet(空请求体)

Solana钱包: 4. 向Orderly Network API注册:

  • - GET https://api.orderly.org/v1/registration_nonce
  • 使用Solana钱包签名消息:{ brokerId, chainId: 900900900

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 orderly-one-dex-1776199420 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 orderly-one-dex-1776199420 技能

通过命令行安装

skillhub install orderly-one-dex-1776199420

下载

⬇ 下载 orderly-one-dex v1.0.0(免费)

文件大小: 3.71 KB | 发布时间: 2026-4-15 11:05

v1.0.0 最新 2026-4-15 11:05
Initial release of orderly-one-dex: Create and manage custom DEXs with Orderly One.

- Enables creation and deployment of white-label perpetuals DEXs using the Orderly One API.
- Supports custom branding, theming, domain management, and menu configuration.
- Includes endpoints for graduation (fee sharing), authentication, statistics, and leaderboards.
- Allows full DEX lifecycle management: create, update, workflow status, and graduation workflows.
- Comprehensive multipart form fields for DEX customization (chains, social, wallet, SEO, and more).

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部