Command Palette

Search for a command to run...

Назад к скиллам
скилл № 27514

swap-integration

Integrate PancakeSwap swaps into applications. Use when user says "integrate swaps", "pancakeswap", "smart router", "add swap functionality", "build a swap…

БесплатноБез исполняемых скриптов
jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Установить swap-integration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Swap Integration

Integrate PancakeSwap swaps into frontends, backends, and smart contracts.

Quick Decision Guide

Building... Use This Method
Quick quote or prototype PancakeSwap Routing API (Method 1)
Frontend with React/Next.js Smart Router SDK + Universal Router (Method 2)
Backend script or trading bot Smart Router SDK + Universal Router (Method 2)
Simple V2 swap, smart contract Direct V2 Router contract calls (Method 3)
Need exact Universal Router encoding Universal Router SDK directly (Method 2)
Swap through Infinity (v4) CL or Bin pools Routing API (Method 1) or Smart Router SDK with Infinity pool types (Method 2)

Protocol Types

Protocol Description Fee Tiers (bps) Chains
V2 Classic AMM (xy=k), constant product formula 25 (0.25%) BSC only
V3 Concentrated liquidity (Uniswap V3-compatible) 1, 5, 25, 100 (0.01–1%) All chains
StableSwap Low-slippage for correlated/pegged assets 1, 4 (0.01–0.04%) BSC only
Infinity CL Concentrated liquidity in the v4 singleton PoolManager; supports hooks for custom logic Same tiers as V3 BSC, Base
Infinity Bin Fixed-price-bin liquidity (similar to Trader Joe v2); tight ranges, predictable bin-level prices Configurable BSC, Base
Mixed Split route across any combination of the above protocols N/A (composite) BSC primarily

Supported Chains

Chain Chain ID V2 V3 StableSwap Infinity CL Infinity Bin RPC
BNB Smart Chain 56 ✅ ✅ ✅ ✅ ✅ https://bsc-dataseed1.binance.org
BNB Smart Chain Testnet 97 ✅ ❌ ❌ ❌ ❌ https://bsc-testnet-rpc.publicnode.com or https://bsc-testnet.drpc.org
Ethereum 1 ❌ ✅ ❌ ❌ ❌ https://cloudflare-eth.com
Arbitrum One 42161 ❌ ✅ ❌ ❌ ❌ https://arb1.arbitrum.io/rpc
Base 8453 ❌ ✅ ❌ ✅ ✅ https://mainnet.base.org
Polygon 137 ❌ ✅ ❌ ❌ ❌ https://polygon-rpc.com
zkSync Era 324 ❌ ✅ ❌ ❌ ❌ https://mainnet.era.zksync.io
Linea 59144 ❌ ✅ ❌ ❌ ❌ https://rpc.linea.build
opBNB 204 ❌ ✅ ❌ ❌ ❌ https://opbnb-mainnet-rpc.bnbchain.org

For testing: Use BSC Testnet (chain ID 97). Get free testnet BNB from https://testnet.bnbchain.org/faucet-smart. The Smart Router SDK does not index testnet pools — use Method 3 (Direct V2 Router) on testnet.

Key Token Addresses

BSC Mainnet (Chain ID: 56)

Token Address
WBNB 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
BUSD 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56
USDT 0x55d398326f99059fF775485246999027B3197955
USDC 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d
CAKE 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82
ETH 0x2170Ed0880ac9A755fd29B2688956BD959F933F8
BT
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Read
  2. 02Write
  3. 03Edit
  4. 04Glob
  5. 05Grep
  6. 06Bash(npm:*)
  7. 07Bash(npx:*)
  8. 08Bash(yarn:*)
  9. 09Bash(curl:*)
  10. 10WebFetch
  11. 11Task(subagent_type:swap-integration-expert)

Вложенные файлы

  • SOURCE.md
  • TRUST.auto.yaml

FAQ

Что делает скилл swap-integration?

Integrate PancakeSwap swaps into applications. Use when user says "integrate swaps", "pancakeswap", "smart router", "add swap functionality", "build a swap frontend", "create a swap script", "smart contract swap integration", "use Universal Router", or mentions swapping tokens via PancakeSwap.

Как установить скилл swap-integration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл swap-integration запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить swap-integration с