hide You are viewing an archived web page, collected at the request of Ethereum Foundation using Archive-It. This page was captured on 21:37:37 Jun 19, 2021 , and is part of the Community collection. The information on this web page may be out of date. See All versions of this archived page. Loading media information

Web3ProviderEngine requires asynchronous but many dapps are using web3 synchronous requests!?

mandelduckmandelduck Member Posts: 1
Hello I developed a dapp browser using the metamask provider repo https://github.com/MetaMask/provider-engine

However when loading some notable dapps (that work with the metamask chrome extension) in my dapp browser I get the error Web3ProviderEngine does not support synchronous requests

I see the dapp is calling synchronous methods (web.eth.accounts[0]) but seems like they should be calling async however the dapps works in the metamask chrome extension.

So my question is, is this in issue with the dapp? i.e. they should upgrade to asynchronous request or is it good practice or even possible to support both in a dapp browser?


Sign In or Register to comment.