Skip to content

Creating the ClobClient - Wallet - @ethersproject vs @ethers #203

@MihaelBercic

Description

@MihaelBercic

Hello,
i've noticed that ClobClient expects the Wallet to be imported from @ethersproject which doesn't exist anymore.

And if we do import it from @ethers, this is the LSP error message:

Argument of type 'Wallet' is not assignable to parameter of type 'Wallet | JsonRpcSigner | undefined'.
Type 'Wallet' is missing the following properties from type 'Wallet': _signingKey, _mnemonic, mnemonic, publicKey, and 9 more. (ts 2345)

Any kind of resolution would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions