swap-integration

Installation
SKILL.md

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

Installs
101
GitHub Stars
40
First Seen
Mar 24, 2026
swap-integration — pancakeswap/pancakeswap-ai