This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

PancakeSwap Farm Calculator

Analytics · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryAnalytics
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

PancakeSwap Farm Calculator reads your farm contract data on BNB Chain (and other EVM chains) to show your exact position and projected returns. It displays the LP token address, total staked in the pool, your staked LP balance, the reward token, the farm's reward rate, your pending rewards, and estimated APR. Optionally enter the current CAKE price in USD to see the dollar value of your pending rewards. All data is read directly from the blockchain in real-time—no guesses, no stale data. Perfect for tracking your yield farming positions, comparing farms, or deciding whether to stake more.

HOW TO USE

Connect your EVM wallet using the BotGentz wallet bridge. Select the network (BNB Chain recommended). Paste the PancakeSwap farm contract address into the input field. Optionally enter the current CAKE price in USD for dollar estimates. Click "Refresh" or press Enter. The tool reads the farm contract's LP token, total staked, your staked balance, reward rate, reward token, pending rewards, and calculates APR. The results appear in a clean dashboard with your position highlighted. Click "Refresh" anytime to get the latest on-chain data.

TECHNICAL MECHANISM

The tool uses the injected BGWallet bridge to access the EVM provider via ethers.js v5.7.2. It builds a contract interface with common PancakeSwap farm functions: lpToken(), totalStaked(), stakedBalance(address), rewardRate(), rewardToken(), pendingReward(address), totalSupply(), and getRewardForDuration(). Each is called via eth_call through the provider. For the user's address, it calls stakedBalance and pendingReward to get personal position data. APR is calculated as: (rewardRate * rewardDuration * 365) / totalStaked * 100, where rewardDuration is the rewards period in seconds (typically 86400 for 1 day). The reward rate is the amount of CAKE emitted per second. All values are formatted from wei using ethers.utils.formatEther. The tool is read-only—no transactions are ever submitted.

WHAT IT CANNOT SEE

This tool cannot predict future CAKE price movements—your rewards' dollar value changes with the market. It cannot account for impermanent loss accurately without external price feeds—the calculator shows only the yield, not the cost of providing liquidity. It cannot detect changes to farm reward rates between reads—rates can change at any time. It cannot verify farm contract legitimacy—always double-check the contract address. It cannot include auto-compounding effects without simulating the farm's strategy. It does not track your total LP token value or impermanent loss.

PLEASE NOTE

EVM chains only—supports BNB Chain (56) and other EVM networks. The tool reads on-chain data only; it does not submit transactions. Always verify the farm contract address independently. APR is an estimate based on the current reward rate and total staked—it changes as these values change. This tool is free to use but requires a wallet connection to read your position.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.