Skip to content

ethers.js v5 through web3-react #128

@cag

Description

@cag

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtsThis issues is related to ts lib changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions