contract-proxy-kit icon indicating copy to clipboard operation
contract-proxy-kit copied to clipboard

ethers.js v5 through web3-react

Open cag opened this issue 5 years ago • 1 comments

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 avatar Oct 30 '20 16:10 cag

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

codemaster727 avatar Dec 03 '21 05:12 codemaster727