Skip to content

Walletconnect success/fail receipt never reaches the client #2318

Open
@souvikmishra

Description

@souvikmishra

Current Behavior

Let us say I want to approve 1 usdc, I send a request to approve the token (from my dapp). The request reaches to safe wallet (which I use via walletconnect connection). Now after signing in safe wallet, the transaction gets mined, but that message never reaches the client from where I sent the approve request from i.e. the dapp.

Expected Behavior

The fail/success reciept of the transaction should reach the dapp, so that the user journey can progress further.

Steps To Reproduce

You connect your safe wallet to your dapp which is in sveltekit, via the wallet connect option and try to approve or do any other contract interaction.

What package is effected by this issue?

@web3-onboard/walletconnect

Is this a build or a runtime issue?

Runtime

Package Version

^2.22.3

Node Version

21.7.3

What browsers are you seeing the problem on?

Firefox, Chrome

Relevant log output

No response

Anything else?

Walletconnect module config

const walletConnect = walletConnectModule({
	projectId: import.meta.env.VITE_PROJECT_ID,
	requiredChains: valid_chain_ids,
	dappUrl: environment.dapp_url
});

we use ethers ^6.13.3, and use txn.wait() to wait for the txn reciept

Sanity Check

  • If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions