Closed royce777 closed 3 years ago
@royce777 Hi, how did you manage to solve the issue? It would be nice you can share the workaround to fix it. Thanks.
I think this is the code where this was resolved: https://github.com/royce777/study-ethr-did/blob/d38beea87374e2465b7957ee7ccd885be2a9281c/newDid/signTokens.js
Describe the bug When I try to create a new EthrDID object, passing a provider to the constructor, the procedure fails.
To Reproduce
Errors
Desktop (please complete the following information):
Observations Following along with the files mentioned in the error, it seems like the Provider.isProvider() function from "@ethersproject/abstract-provider" returns false on the web3 provider being passed, causing the error :