pancake-frontend | : pancakes : Pancake main features ( farms pools IFO | Functional Programming library
kandi X-RAY | pancake-frontend Summary
kandi X-RAY | pancake-frontend Summary
This project contains the main features of the pancake application. If you want to contribute, please refer to the contributing guidelines of this project.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pancake-frontend
pancake-frontend Key Features
pancake-frontend Examples and Code Snippets
Community Discussions
Trending Discussions on pancake-frontend
QUESTION
I'm testing the Pancakeswap v2 frontend repo on local host, but I can't switch to the testnet.
(https://github.com/pancakeswap/pancake-frontend)
I get an error when I update NEXT_PUBLIC_CHAIN_ID = "56"
to NEXT_PUBLIC_CHAIN_ID = "97"
which is valid for testnet.
Unhandled Runtime Error Error: call revert exception (method="canClaim(address)", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.5.0)
Unhandled Runtime Error Error: call revert exception (method="aggregate((address,bytes)[])", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.5.0)
How can I use Pancakeswap V2 with bsc testnet or kovan testnet?
...ANSWER
Answered 2022-Mar-28 at 09:35Update March 2022
Pancakeswap now includes the testnet :)
Old Answer
This is not the solution, this is workaround.
These are the errors because some of the pancakeswap contracts aren't deployed on the testnet. You can see the src\config\constants\contracts.ts
.
I'm proposing the workaround to work with your testnet, this isn't the solution as explained by chef-jojo.
The workaround is simple. You need to update a few files. The most important of them is .env.development
. These are the env variables we need to change.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pancake-frontend
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page