DEV Community

Discussion on: Building a Full Stack NFT Marketplace on Ethereum with Polygon

Collapse
sumeetchawla profile image
Sumeet Chawla • Edited

You are calling the JsonRpcProvider but initialising it with a public rpc url while running a local node. Remove that and it should work fine. 👍🏼

const provider = new ethers.providers.JsonRpcProvider() in index page