Launch App
Launch App

A Guide to PancakeSwap

2020 Sep 23
10min

TL;DR 

Another food-themed DeFi protocol? You know it. PancakeSwap is a BNB Chain-based DEX launched by anonymous devs with a penchant for breakfast foods and rabbits.

It looks a bit like Ethereum’s SushiSwap (community governance, the ability to farm liquidity provider tokens), but also incorporates many other features that let you earn rewards.

Introduction

The food-based farming craze has captivated participants in the crypto space for months. In the latest wave of DeFi protocols, we’ve seen numerous platforms emerge that allow users to stake their funds in return for the protocol’s tokens.

The bulk of this activity has been concentrated on the Ethereum blockchain. As one of the earliest blockchains supporting smart contracts, it has a sprawling community of users, developers, and tools for building powerful decentralized applications.

In this article, we’ll take a look at PancakeSwap – a decentralized exchange built on BNB Chain.

What Is PancakeSwap?

PancakeSwap is a decentralized exchange for swapping BEP-20 tokens.

pancake-img1

The PancakeSwap exchange UI.

Familiar with Uniswap or SushiSwap? Then you’ll have no issue grasping PancakeSwap – they are quite similar in their core design.

The PancakeSwap Exchange

PancakeSwap uses an automated market maker (AMM) model. That means that while you can trade digital assets on the platform, there isn’t an order book where you’re matched with someone else. Instead, you trade against a liquidity pool.

Those pools are filled with other users’ funds. They deposit them into the pool, receiving liquidity provider (or LP) tokens in return. They can use those tokens to reclaim their share, plus a portion of the trading fees. 

So, in short, you can trade BEP-20 tokens, or add liquidity and earn rewards. There are also other features we’ll cover later.

You’ll find these LP tokens in several flavors – if you added, say, BUSD and BNB to the pool, you’ll receive BUSD-BNB LP tokens in return. BETH and ETH? You’ll get BETH-ETH LP tokens.

Farming and Staking on PancakeSwap

But wait, there’s more! PancakeSwap also allows you to farm its governance token – CAKE.

Yum.

On the farm, you can deposit your LP tokens, locking them up in a process that rewards you with CAKE. Which LP tokens can you deposit? Well, the list is quite long, but here’s a taster of some of the most popular ones:

  • CAKE – BNB LP

  • BUSD – BNB LP

  • BETH – ETH LP

  • USDT – BUSD LP

  • USDC – BUSD LP

  • DAI – BUSD LP

  • LINK – BUSD LP

  • TWT – BNB LP

The rewards don’t end here, however! You can earn even more by staking your CAKE in SYRUP pools.

So you’ve deposited some funds to receive LP tokens, and you’ve used them to farm CAKE. From there, you can stake your CAKE and earn other tokens through special staking pools.

The biggest SYRUP pool is simply for CAKE, where you can stake your CAKE to earn even more CAKE! But there are many more tokens you can earn by staking CAKE, so be sure to keep an eye on the SYRUP pool page.

Using PancakeSwap

You’ll notice if you visit https://pancakeswap.finance that many features are inaccessible until you click on Unlock Wallet. Click on it, and you’ll be met with a few options: MetaMask, Trust Wallet, WalletConnect, Binance Chain Wallet, and other options. 

But wait, we hear you say, isn’t MetaMask an Ethereum wallet?

Yes, it is, but the architecture of BNB Chain is such that you can use MetaMask to interact with BNB-based DApps. If you choose to use MetaMask, we suggest you check out our Connecting MetaMask with BNB Chain guide.

You can also connect your Trust Wallet to PancakeSwap through the Trust Wallet mobile browser or on a desktop. If you are connecting with the Trust Wallet browser, you can follow these steps:

1. If you’re using the Trust Wallet DApp browser, head to the PancakeSwap website and tap the [Connect] button in the top right corner.

2. Select [Trust Wallet] to connect your wallet to PancakeSwap.

3. If you have connected successfully, you should see your wallet ID in the top right corner.

Once you’ve got that set up, you can unlock your wallet to reveal additional information. You’ll see that different LP tokens promise different returns. So how can you add liquidity?

If you are connecting with a desktop browser, you can follow these steps:

1. Head to the PancakeSwap desktop website and click [Connect] in the top right corner.

2. Click [WalletConnect] to start the connection process. Currently, the [Trust Wallet] button only works when using the Trust Wallet browser.

3. A QR code will appear, which is scannable with the Trust Wallet app. Head to the [Settings] of the app tab and click [WalletConnect]. Scan the QR code displayed on PancakeSwap and click [Connect] in Trust Wallet.

4. If you have successfully connected, PancakeSwap should show you the beginning of your wallet ID in the top right corner.

Adding Liquidity

Again, if you’ve used any AMM previously, then you know the drill. To farm CAKE, you need to first add liquidity to the exchange.

Navigate to Trade on the sidebar on the left, then click on Liquidity, hit Add Liquidity, and select the token pair that you want to deposit. Also, make sure you know about impermanent loss before adding liquidity to a pool.

pancake-img3

Adding liquidity to PancakeSwap.

Farming

Okay, so you’ve got your LP tokens, now it’s time to stake them to earn CAKE. Navigate to the Farms tab, and select the option that matches your LP tokens.

As with ERC-20 tokens, you’ll need to approve the movement of BEP-20 tokens – this is what allows the contract to withdraw them on your behalf. When you click Approve Contract, a popup will ask you to confirm the transaction and display a fee.

Once that transaction confirms, simply select the amount you want to stake and confirm it. You can navigate away from the page and come back at any time to check how much CAKE you’ve earned – if you want to harvest your rewards at any point, click on Harvest and confirm the transaction.

Staking

Once you’ve got CAKE, you can stake it in SYRUP pools. Go to the Pools tab, and you’ll be presented with the pools where you can stake your CAKE.

pancake-img4

SYRUP pools – stake CAKE, earn new tokens.

Once again, you need to approve the withdrawal of your tokens. Hit Approve CAKE to do so. When that has been approved, you’ll need to select the amount of CAKE you want to stake.

Now that the CAKE has been staked, you’ll be earning the reward token of the pool passively. If you’d like to cash out your rewards, click on Harvest.

Lottery

That’s great, but what else can you do with your CAKE? Well, you can enter a lottery on PancakeSwap.

pancake-img5

Try your luck in the PancakeSwap lottery.

Each lottery session takes 6 hours. One ticket costs 10 CAKE, which will give you a random four-digit combination of numbers between 1 and 14, for example, 12-8-4-3. To win the jackpot (50% of the entire lottery pool), the numbers in your ticket need to match all four numbers in the same position as the winning ticket.

What if you don’t match all four? No worries. You also win rewards if two or more of your numbers are in the same position as the numbers in the winning ticket.

NFTs

Wait, so you can do even more with PancakeSwap? Yes, you can win special NFTs.

Win some of the cutest NFTs on BNB.

If you’re chosen as a winner of an NFT, you can trade it for the CAKE value it represents or keep the cutie in your wallet as a collector’s item.

How can you get involved? You need to register for a chance to win, and the winners get chosen at random. Make sure to keep an eye on the NFT page for upcoming opportunities.


Teams & profiles

Looking for more gamification? Teams and profiles are your chance. You can show off your stats by creating a public profile, and join one of the teams to compete for team achievements!

IFOs

Initial Farm Offerings (IFO) are a way to get a newly launched token in the hands of users using the power of yield farming. On PancakeSwap, you can do that by committing LP tokens from a supported pool to get access to the sale of a newly launched token.

You can check the currently active IFOs on PancakeSwap on the IFO page.

Is PancakeSwap safe?

PancakeSwap has been audited by CertiK. Does that mean it’s completely safe to use? No. Depositing funds into a smart contract always carries the risk of bugs, even for audited and highly reputable projects. Never deposit more than you can afford to lose.

Closing Thoughts

PancakeSwap is the biggest AMM project on BNB Chain with some innovative features. You can also track a lot of its metrics on https://pancakeswap.info/.

Ethereum may have kickstarted the DeFi trend, but initiatives like PancakeSwap suggest that the wave of innovation is destined to spread to other chains.

Disclaimer and Risk Warning: This content is presented to you on an “as is” basis for general information and educational purposes only, without representation or warranty of any kind. It should not be construed as financial, legal or other professional advice, nor is it intended to recommend the purchase of any specific product or service. You should seek your own advice from appropriate professional advisors. Where the article is contributed by a third party contributor, please note that those views expressed belong to the third party contributor, and do not necessarily reflect those of Binance Academy. Please read our full disclaimer here for further details. Digital asset prices can be volatile. The value of your investment may go down or up and you may not get back the amount invested. You are solely responsible for your investment decisions and Binance Academy is not liable for any losses you may incur. This material should not be construed as financial, legal or other professional advice. For more information, see our Terms of Use and Risk Warning.

Learn More

How to Connect a Ledger Nano to BNB Smart Chain (BSC)?

You can easily store your BEP-20 BNB Smart Chain tokens on a Ledger Nano device using Ledger Live and MetaMask. Click here to learn how.

Articles

How to Connect a Ledger Nano to BNB Smart Chain (BSC)?

2021 Sep 10 7 min
How to Analyze DeFi Projects

The growth of decentralized finance has revolutionized the financial landscape. Analyzing a DeFi project is a critical process to make prudent investment decisions in the ever-expanding DeFi space.

Articles

How to Analyze DeFi Projects

2023 Jun 01 10 min
What Are Multi-Party Computation (MPC) Wallets?

Safeguard your cryptocurrencies using MPC wallets. Explore the advantages and limitations of Multi-Party Computation technology for secure asset management.

Articles

What Are Multi-Party Computation (MPC) Wallets?

2023 Oct 27 6 min