Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

ethers.js v5 through web3-react #128

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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