Relative Content

Tag Archive for polygonweb3jsmetamask

Web3ValidationError when trying to use web3.js and metamask

I am running into quite a puzzling problem. I have built an app that execute on Polygon or in this case Amoy (testnet) and is essentially like a vending machine. You can add items then via contract executes purchasing and transfers amount. Until recent I have had no issues with this but now for whatever reason only a single address in my test wallet can add an item without getting the web3validationError. The even more odd part is if that wallet adds an item the other addresses can interact to purchase but when I go to add an item with the additional addresses i get this error.