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 detailsTokens
/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 pricePairs
/dex pairs List trading pairs
/dex pair <id> Get pair detailsStats
/dex stats Get platform statisticsShortcuts
/dex SBX Quick price lookup
/dex DBX Quick price lookupAgent 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' globalConfiguration
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 SBXList active offers:
/dex offersSearch for a token:
/dex search bucksGet platform stats:
/dex statsTips
- 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