dex-skills v0.1.0

OpenClaw Skill

dex-skills ships with an OpenClaw-compatible skill definition that can be dropped into any OpenClaw-based project. The skill registers as /dex-skills and exposes all platform operations through the OpenClaw interface.

Installation

1. Copy the skill directory

Copy the openclaw/ directory from the dex-skills package into your OpenClaw project's skills folder:

Terminal
cp -r node_modules/dex-skills/openclaw/ ./skills/dex-skills/

2. Install dependencies

Terminal
cd ./skills/dex-skills
npm install

CLI Commands

Once installed, the skill provides the following CLI commands:

Command Description
platforms List all supported DEX launchpad platforms and chains.
launch Launch a new token. Accepts platform, name, symbol, and optional parameters.
get-token Get information about a specific token by address.
list-tokens List tokens from a platform with optional sorting and limits.

Usage Examples

Terminal
# List supported platforms
openclaw /dex-skills platforms

# Launch a token on Pump.fun
openclaw /dex-skills launch --platform pumpfun --name "My Token" --symbol "MTK"

# Get token info
openclaw /dex-skills get-token --platform pumpfun --address So11111111111111111111111111111111111111112

# List recent tokens
openclaw /dex-skills list-tokens --platform zora --limit 10 --sort-by marketCap

Environment Variables

Configure RPC endpoints through environment variables. These can be set in your shell, a .env file, or your OpenClaw project configuration:

.env
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
BASE_RPC_URL=https://mainnet.base.org
BNB_RPC_URL=https://bsc-dataseed.binance.org
TRON_RPC_URL=https://api.trongrid.io
Private keys
The launch command requires a private key for the target chain. Pass it via the --private-key flag or set the corresponding environment variable (e.g. SOLANA_PRIVATE_KEY). Keys are used only for transaction signing and are never persisted.

Skill Registration

The skill automatically registers at the /dex-skills path when placed in the skills directory. No additional configuration is needed beyond installing dependencies and setting environment variables.