🤖
Dexie
Track Chia DEX offers, tokens, pairs, prices, and platform stats using Dexie.space API via CLI or chat commands.
安全通过
技能说明
Dexie Skill
Track Chia DEX trading via the Dexie.space API.
What It Does
- List active/completed offers
- View token prices and liquidity
- Search tokens (CATs)
- Monitor trading pairs
- Get platform statistics
Commands
All commands can be triggered via:
/dex <command>in Telegram/dexie <command>in Telegramdex <command>in CLIdexie <command>in CLI
Offers
/dex offers List active offers
/dex offers completed List completed offers
/dex offers cancelled List cancelled offers
/dex offer <id> Get offer details
Tokens
/dex assets List top tokens by volume
/dex asset <id|code> Get token details (e.g., SBX, DBX)
/dex search <query> Search tokens
/dex price <code> Get token price
Pairs
/dex pairs List trading pairs
/dex pair <id> Get pair details
Stats
/dex stats Get platform statistics
Shortcuts
/dex SBX Quick price lookup
/dex DBX Quick price lookup
Agent Usage
When users ask about Chia DEX, trading, or token prices:
const { handleCommand } = require('./skills/dexie');
// Natural language → formatted response
const output = await handleCommand('show me top tokens');
API Client
For custom integrations:
const DexieAPI = require('./skills/dexie/lib/api');
const api = new DexieAPI();
// Get active offers
const offers = await api.getOffers({ page_size: 20, status: 0 });
// Get token details
const token = await api.getAsset('a628c1c2c6fcb74d53746157e438e108eab5c0bb3e5c80ff9b1910b3e4832913');
// List all assets
const assets = await api.getAssets({ page_size: 50, sort: 'volume' });
// Get trading pairs
const pairs = await api.getPairs();
Installation
cd skills/dexie
npm install
chmod +x cli.js
npm link # Makes 'dex' and 'dexie' global
Configuration
No API key required — Dexie API is public.
Output Format
All commands return plain text suitable for:
- Terminal output (CLI)
- Telegram messages
- Discord messages
- WhatsApp messages
Examples
Check token price:
/dex price SBX
List active offers:
/dex offers
Search for a token:
/dex search bucks
Get platform stats:
/dex stats
Tips
- Asset IDs are long hex strings
- Token codes are short (e.g., SBX, DBX, XCH)
- Use search to find tokens by name
- Prices are in USD
- Volumes and liquidity in XCH
Support
- Dexie.space: https://dexie.space
- API Docs: https://api.dexie.space/v1
- Bug reports: File in skill repository
如何使用「Dexie」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Dexie」技能完成任务
- 结果即时呈现,支持继续对话优化