-
Notifications
You must be signed in to change notification settings - Fork 638
Closed
Labels
Won't FixThis will not be worked on.This will not be worked on.
Description
I'm facing an issue where Trust Wallet doesn't connect when using the useConnect or useCreateWalletInstance methods. Strangely, it works perfectly fine when I attempt to connect through the ConnectWallet button. However, I can't use that button because I'm relying on the wallet dropdown, where I need to connect the selected wallet. While other wallets connect successfully, Trust Wallet's configuration doesn't provide any feedback or errors.
Using useConnect():
const connect = useConnect();
const config = trustWallet({
projectId: "57e1cfc18509bb9cc4d51638ce8d18ed",
recommended: true
})
await connect(config, {chainId: 1});
Using useCreateWalletInstance()
const config = trustWallet({
projectId: "57e1cfc18509bb9cc4d51638ce8d18ed",
recommended: true
})
const createWalletInstance = useCreateWalletInstance();
const response = createWalletInstance(config);
await response.connect();

Metadata
Metadata
Assignees
Labels
Won't FixThis will not be worked on.This will not be worked on.