clawdex for Openclaw

A high-performance CLI tool for executing and simulating token trades on the Solana blockchain via the Jupiter aggregator.

joelccodes
v1.0.0
Feb 14, 2026
0
1.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install clawdex-trading

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install clawdex-trading using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is clawdex?

clawdex is a specialized tool designed for developers and power users to interact with the Solana decentralized finance ecosystem. By leveraging the Jupiter aggregator, it ensures optimal routing and pricing for token swaps. This tool integrates seamlessly into Openclaw Skills environments, providing a robust interface for wallet management, real-time balance tracking, and secure trade execution.

The skill emphasizes safety and precision, offering detailed JSON outputs for every command. Whether you are building automated trading bots or managing personal assets, clawdex provides the programmatic control needed to navigate Solana high-speed markets effectively using Openclaw Skills.

clawdex Use Cases

  • Automated token swapping based on specific market conditions or triggers.
  • Real-time monitoring of Solana wallet balances and token holdings.
  • Generating and comparing price quotes for various token pairs without executing trades.
  • Running on-chain simulations to predict slippage and price impact before committing capital.

How clawdex Works

  1. Connectivity Check: The skill performs a health check to ensure the Solana RPC and Jupiter API are reachable.
  2. Asset Verification: It retrieves current wallet balances to confirm sufficient liquidity for the intended trade.
  3. Simulation Phase: A dry run is executed using the simulate-only flag to preview the transaction outcome.
  4. Transaction Execution: Upon validation, the swap is broadcast to the network using the required non-interactive flags.
  5. Confirmation: The skill verifies the transaction status and updates balances to reflect the new state.

clawdex Setup

Install the CLI globally using npm:

npm install -g clawdex@latest

Initialize the configuration with your API keys and wallet path to begin using Openclaw Skills:

clawdex onboarding \
  --jupiter-api-key "$JUPITER_API_KEY" \
  --rpc "${SOLANA_RPC_URL}" \
  --wallet ~/.config/solana/id.json \
  --json

clawdex Data Schema & Taxonomy

The skill communicates using structured JSON objects to ensure interoperability.

Field Description Type
token The symbol or name of the asset String
mint The Solana mint address String
balance Token amount (string-formatted for precision) String
violations List of triggered safety guardrails Array
status Current RPC and wallet health state Object

clawdex Advanced Features

  • Customizable Safety Guardrails: Set limits for max slippage, max trade size in SOL, and price impact bps.
  • Simulation-First Workflow: Forced on-chain simulation capability to prevent failed transactions or excessive slippage within Openclaw Skills.
  • Headless Execution: Optimized for non-interactive environments using the --yes flag and JSON-only output.
  • Mint Address Support: Full compatibility with any SPL token via direct mint address identification instead of symbols.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*