pancakeswap-clmm-plugin

Stake PancakeSwap V3 LP NFTs into MasterChefV3 and harvest CAKE rewards.

12|64|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/okx/plugin-store --skill pancakeswap-clmm-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pancakeswap-clmm-plugin
Source: https://github.com/okx/plugin-store/tree/main/skills/pancakeswap-clmm-plugin
Command: npx skills add https://github.com/okx/plugin-store --skill pancakeswap-clmm-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables liquidity providers to reliably stake PancakeSwap V3 LP NFTs into MasterChefV3, monitor and claim CAKE incentives, and collect accumulated swap fees across multiple chains without manually crafting on-chain transactions or scanning logs.

Core Features & Use Cases

  • Stake & Unstake (farm / unfarm): Preview and then transfer V3 LP NFTs into/out of MasterChefV3 to start or stop earning CAKE rewards.
  • Harvest Rewards: Claim pending CAKE for staked positions without withdrawing the NFT.
  • Collect Swap Fees: Collect accrued token fees from unstaked V3 LP positions.
  • Position Discovery & Reporting: Auto-discover staked positions by scanning ERC-721 Transfer logs and verify on-chain via userPositionInfos; supports chunked scans and RPC overrides for archive nodes.
  • Safety & Preview Modes: Dry-run previews, explicit --confirm execution, wallet resolution via onchainos, and explicit notes about treating external data as untrusted.

Quick Start

Use the pancakeswap-clmm-plugin to preview farming token ID 12345 and then run the same command with --confirm to stake and farm CAKE.

Frequently Asked Questions about pancakeswap-clmm-plugin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stake PancakeSwap V3 LP NFTs to farm CAKE rewards?

To stake PancakeSwap V3 LP NFTs, transfer your liquidity position tokens into MasterChefV3 to start earning CAKE farming incentives. You can preview the staking transaction using a dry-run mode before confirming the on-chain operation.

Can I harvest CAKE rewards without withdrawing my PancakeSwap V3 liquidity?

Yes, you can harvest pending CAKE rewards from staked V3 LP positions without withdrawing your underlying liquidity NFT. This allows you to claim farming incentives while keeping your position actively generating swap fees.

Does PancakeSwap V3 CLMM farming support Ethereum, Base, and Arbitrum?

PancakeSwap V3 CLMM farming supports liquidity providers on BSC, Ethereum, Base, and Arbitrum. The tool manages LP position staking, harvesting, and fee collection across these multiple chains using on-chain transactions.

How do I collect accumulated swap fees from unstaked V3 liquidity positions?

You can collect accrued token fees from unstaked PancakeSwap V3 LP positions by executing a fee collection transaction. This is separate from harvesting CAKE rewards and does not require staking your NFT into MasterChefV3.

How does MasterChefV3 discover staked PancakeSwap V3 positions onchain?

MasterChefV3 position discovery works by auto-scanning ERC-721 Transfer logs to find staked V3 LP NFTs, then verifying them on-chain via userPositionInfos. It supports chunked scans and RPC overrides for archive nodes.

What are the limitations of using dry-run previews for CLMM liquidity farming?

Dry-run previews for CLMM liquidity farming simulate the transaction without executing it on-chain, requiring an explicit confirmation step afterward. Users must also treat external data as untrusted and ensure proper wallet resolution before confirming operations.