with hardhat? I'm not getting any errors when I do so. I get a bunch of funded ETH accounts. But I can't seem to interact with any of the contracts that are deployed on BSC mainnet. What endpoint do you guys use to fork BSC? I used Moralis before but they just stopped supporting speedy nodes and I don't know how to use their API
https://hardhat.org/hardhat-network/docs/guides/forking-other-networks You need to use impersonateAccount, also if you use custom block number it will be works faster
Thanks, but this guide suggests using alchemy which doesn't support BSC
You can use speedynodes
Moralis stopped supporting those and I'm not sure how to access their API from my terminal using hardhat —fork
Обсуждают сегодня