[Solved] Invariant Failed - Pancake or Bakery Swap

[Solved] Invariant Failed - Pancake or Bakery Swap

By 0xgult | 0xcrypto | 6 Jun 2021


I was going through this issue recently on Pancake Swap https://exchange.pancakeswap.finance/#/swap where I was unable to link the Pancake Swap website to the Binance Chain Wallet and I finally figured out how to resolve it and thought i'd document it so others who face the same issue find it useful.

This is how the issue manifests itself on the Pancake Swap exchange website with the error message shown on the top right of the screen.

0337e260d2dc78983dc4e897726b9d48f360c4b3002a3da32a5d899c8c1c472b.png

The very simple solution to fixing this was, in the Chrome extension, there are 3 options:

  • Binance Chain Network

  • Binance Smart Chain Network

  • Ethereum Network

I think in some cases the Binance Chain Network is selected as default and you just need to select the Binance Smart Chain Network and then reload the web page for Pancake Swap (and probably even Bakery Swap) and then try to connect your wallet and it should start working fine.

If you have any more questions on this, please feel free to leave a comment below and I will do my best to help.

How do you rate this article?

12


0xgult
0xgult

I write crypto things!


0xcrypto
0xcrypto

This will be my crypto blog with crypto specific stuff.

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.