Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ethers.js v5 through web3-react #128

Open
cag opened this issue Oct 30, 2020 · 1 comment
Open

ethers.js v5 through web3-react #128

cag opened this issue Oct 30, 2020 · 1 comment
Labels
bug Something isn't working ts This issues is related to ts lib changes

Comments

@cag
Copy link
Contributor

cag commented Oct 30, 2020

Somebody using web3-react and ethers.js v5 with this library currently is unable to initialize the CPK:

image

I think the error is triggered from here: https://github.com/ethers-io/ethers.js/blob/22dee96f512ad7d7cae5d278cc607cdff6112f05/packages/contracts/src.ts/index.ts#L624

The return value of library.getSigner(account) seems legit at first glance though:

image

@cag cag added bug Something isn't working ts This issues is related to ts lib changes labels Oct 30, 2020
@codemaster727
Copy link

I got same error in recent days.
I will share you after fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ts This issues is related to ts lib changes
Projects
None yet
Development

No branches or pull requests

2 participants