Skip to content
Skillv1.0.0

emblem-token-swap

Use when swapping or exchanging crypto tokens, converting between currencies, or bridging assets cross-chain via EmblemAI across Solana, Ethereum, Base, BSC, Polygon, and Hedera (cross-chain via Chang

by aashutosh396(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from aashutosh396/mindpalace (mindpalace/skills/global/finance/emblem-token-swap/SKILL.md). Install upstream with npx skills add aashutosh396/mindpalace --skill emblem-token-swap. Copyright stays with the author (MIT).

Emblem Token Swap

Guided token swapping via EmblemAI with automatic route optimization. Swap on Solana, Ethereum, Base, BSC, Polygon, and Hedera; bridge cross-chain via ChangeNow (500+ currencies).

Requires: npm install -g @emblemvault/agentwallet

When to use

  • "Swap SOL to USDC" / "Exchange ETH for USDT"
  • "Convert my tokens" / "Bridge tokens to Base"

Chain → tools

Chain Quote Swap Balance Token search
Solana splBuyIntent (quote mode) splBuyIntent solanaBalances findSolanaSwapToken
Ethereum ethSwapQuote ethSwap ethGetBalances searchCryptoByName
Base baseSwapQuote baseSwap baseGetBalances searchEvmTokensBirdeye
BSC bscSwapQuote bscSwap bscGetBalances searchEvmTokensBirdeye
Polygon polygonSwapQuote polygonSwap polygonGetBalances searchEvmTokensBirdeye
Hedera hederaTokensSwapQuote hederaTokensSwap hederaGetBalances hederaFindTokens
Cross-chain getChangeNowSwapQuote swapUsingChangeNow getChangeNowSupportedCurrencies

Notes: Solana's splBuyIntent handles both quote and execution and accepts name/symbol/CA plus flexible amounts ($USD, SOL, or token quantity). EVM chains route through automatic DEX aggregation. Bitcoin has balances (getBTCBalances) but no on-chain swap — use ChangeNow to bridge BTC.

Safe swap workflow (review-first)

  1. Check balance — confirm enough of the source token (e.g. solanaBalances).
  2. Get a quote — preview before executing (e.g. splBuyIntent quote mode).
  3. Execute — safe mode requires explicit confirmation before swapping.
  4. Verify — re-check balances after.

Quick start

npm install -g @emblemvault/agentwallet
# Solana swap
emblemai --agent --profile default -m "Use splBuyIntent to swap 5 SOL for USDC on Solana"
# Cross-chain bridge quote
emblemai --agent --profile default -m "Use getChangeNowSwapQuote to quote bridging 0.05 ETH from Ethereum to SOL on Solana"

Patterns

# Solana — by token amount / dollar amount / token name
emblemai --agent --profile default -m "Use splBuyIntent to swap 0.5 SOL for USDC"
emblemai --agent --profile default -m "Use splBuyIntent to swap \$20 of SOL for JUP"
emblemai --agent --profile default -m "Use splBuyIntent to swap 100 USDC for BONK"
# EVM — quote then execute
emblemai --agent --profile default -m "Use ethSwapQuote to quote 0.01 ETH to USDC, then use ethSwap to execute"
emblemai --agent --profile default -m "Use baseSwapQuote to quote 0.005 ETH to USDC on Base"
emblemai --agent --profile default -m "Use bscSwapQuote to quote 0.1 BNB to USDT on BSC"

Notes

  • Pass an explicit --profile when more than one profile exists.
  • Never broadcast a value-moving swap without explicit user confirmation.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/aashutosh396-mindpalace-emblem-token-swap/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

aashutosh396-mindpalace-emblem-token-swap.ocm.jsonjson
{
  "ocm": "1",
  "id": "aashutosh396-mindpalace-emblem-token-swap",
  "kind": "skill",
  "name": "emblem-token-swap",
  "description": "Use when swapping or exchanging crypto tokens, converting between currencies, or bridging assets cross-chain via EmblemAI across Solana, Ethereum, Base, BSC, Polygon, and Hedera (cross-chain via ChangeNow). Triggers: 'swap SOL to USDC', 'exchange ETH for USDT', 'convert my tokens', 'bridge tokens to Base'.",
  "publisher": "aashutosh396",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "crypto",
      "token-swap",
      "dex",
      "cross-chain",
      "bridge",
      "multi-chain",
      "web3",
      "wallet",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Use when swapping or exchanging crypto tokens, converting between currencies, or bridging assets cross-chain via EmblemAI across Solana, Ethereum, Base, BSC, Polygon, and Hedera (cross-chain via ChangeNow). Triggers: 'swap SOL to USDC', 'exchange ETH for USDT', 'convert my tokens', 'bridge tokens to Base'."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/aashutosh396/mindpalace",
      "path": "mindpalace/skills/global/finance/emblem-token-swap/SKILL.md",
      "ref": "ee2e18474c7a47ecc2b04f57f77bd111a2ba85f7",
      "url": "https://github.com/aashutosh396/mindpalace/blob/ee2e18474c7a47ecc2b04f57f77bd111a2ba85f7/mindpalace/skills/global/finance/emblem-token-swap/SKILL.md",
      "key": "aashutosh396/mindpalace/mindpalace/skills/global/finance/emblem-token-swap/SKILL.md"
    },
    "license": "MIT"
  },
  "instructions": "# Emblem Token Swap\n\nGuided token swapping via EmblemAI with automatic route optimization. Swap on\nSolana, Ethereum, Base, BSC, Polygon, and Hedera; bridge cross-chain via\nChangeNow (500+ currencies).\n\n**Requires:** `npm install -g @emblemvault/agentwallet`\n\n## When to use\n- \"Swap SOL to USDC\" / \"Exchange ETH for USDT\"\n- \"Convert my tokens\" / \"Bridge tokens to Base\"\n\n## Chain → tools\n| Chain | Quote | Swap | Balance | Token search |\n|---|---|---|---|---|\n| Solana | `splBuyIntent` (quote mode) | `splBuyIntent` | `solanaBalances` | `findSolanaSwapToken` |\n| Ethereum | `ethSwapQuote` | `ethSwap` ",
  "cost": {
    "context_tokens": 712
  }
}

Fetch it by URL: GET /api/v1/registry/aashutosh396-mindpalace-emblem-token-swap/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.