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

SigningClient::try_from_signer argument expects concrete Signer trait object. #8

Open
Devleed opened this issue Aug 9, 2024 · 1 comment

Comments

@Devleed
Copy link

Devleed commented Aug 9, 2024

try_from_signer implementation in SigningClient expects a concrete Signer trait object (which Rust does not support directly), you might need to adjust the function to accept a Box or &dyn Signer.

I've created a wallet using ethers::Wallet which gives me a wallet of type Wallet, I'm unable to pass this wallet as a signer to the try_from_signer function. It gives me an error that Wallet does not satisfy the Signer trait, even though the methods the Signer trait asks for exist in the Wallet.
Maybe the implementation of try_from_signer needs a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Devleed and others