Anyone here ever used hardhat to fork BSC mainnet to develop contracts that are dependent upon Pancakeswap's router? Im struggling to find a good HTTP endpoint for the BSC mainnet forking. I use Alchemy for my Ethereum development, but when I use BSC's dataseed like this:

npx hardhat node --fork https://bsc-dataseed.binance.org/

The BSC contracts don't deploy because of unexpected gas estimates from calling the constructor, which I think means that my local network doesn't have the pancakeswap contracts on it?

Jun 23, 2022, 9:30 AM

© 2024 Draquery.com All rights reserved.