flux-point-studios/cardano-defi-skills · Archived

dexhunter-swap

Use this skill when the user wants the best swap rate across all Cardano DEXes, or wants to use DexHunter aggregator. Triggers on: "best price for", "swap aggregator", "dexhunter swap", "route across DEXes", "best rate", "compare DEX prices", "smart order routing". Aggregates Minswap, WingRiders, SundaeSwap, SaturnSwap, and more. Use dexhunter-swap-operator to execute.

First seen Mar 22, 2026

Installation

$ npx skills add flux-point-studios/cardano-defi-skills --skill dexhunter-swap

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from flux-point-studios/cardano-defi-skills · top by installs.

npx skills add flux-point-studios/cardano-defi-skills

Browse all from flux-point-studios/cardano-defi-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 8
License MIT
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,013 B
  • docs SUMMARY.md 393 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

DexHunter Swap Aggregator

Find the best swap rate across all Cardano DEXes via DexHunter's smart routing.

Capabilities

  • Estimate swaps with multi-DEX routing and price impact
  • Build optimized swap transactions
  • Search and discover Cardano tokens
  • Get price data across DEXes

Flow

  1. Search token — find the token ID by ticker or name
  2. Estimate swap — see routing, price impact, and expected output across DEXes
  3. Confirm with user — show route breakdown and fees
  4. Build transaction — get unsigned CBOR hex
  5. Hand off to operator — for signing and submission

Scripts

Search Tokens

node scripts/search-tokens.js --query MNT

Estimate Swap

node scripts/estimate-swap.js --token-in "" --token-out <policyId+assetHex> --amount <lovelace>

Note: DexHunter uses base units (lovelace for ADA), unlike SaturnSwap.

Build Swap

node scripts/build-swap.js --address <bech32> --token-in "" --token-out <id> --amount <lovelace> [--slippage 1]

Key Concepts

  • Token IDs: "" for ADA, policyId + assetNameHex for tokens
  • Amounts are in smallest units (lovelace for ADA, base units for tokens)
  • Routing shows which DEXes are used and what percentage goes to each
  • price_impact indicates market impact — warn if >2%
  • Requires DEXHUNTERAPIKEY environment variable

Safety Rules

  • Always show the estimate before building
  • Warn on price impact >2%
  • Show which DEXes are being routed through
  • Compare with SaturnSwap direct if the pair exists there