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?

Comments

Sign In or Register to comment.