Can we get Smart Account walletSigner instead of walletProvider? #77
livingrockrises
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In smart-account package, constructor is below
constructor(walletProvider: Web3Provider, config?: Partial<SmartAccountConfig>)
where provider is
provider!: Web3Provider
import { Web3Provider } from '@ethersproject/providers'
which is only used to get signer as SmartAccountSigner
https://github.com/bcnmy/biconomy-client-sdk/blob/master/packages/smart-account/src/signers/SmartAccountSigner.ts#L23
It could be very handy to just pass the signer in instead of the provider.
Beta Was this translation helpful? Give feedback.
All reactions