Replies: 2 comments 1 reply
-
@tmm I would think that this would be some variation of Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Where I'm at now is: async getProvider({ chainId } = {}) {
const chain =
config.chains.find((x) => x.id === chainId) ?? config.chains[0];
const walletClient = createWalletClient({
account,
chain,
transport: http(),
});
return custom({ request: walletClient.request })({ retryCount: 0 });
}, Everything else seems to work, but using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all,
We have a usecase where we have the private keys to a wallet, and we want to "mock" the connection (i.e connect the wallet as if the user has connected via a normal connector).
We would essentially want to set
wagmi
to the "connected" state with all the relevant information associated with this wallet.Is there some sort of "WalletConnector" that is available? Or is there another suggested way of doing this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions