Closed MiguelLZPF closed 4 weeks ago
@MiguelLZPF thank you for reporting, I'll respond back if we have trouble reproducing
@MiguelLZPF Does this PR solve your issue - https://github.com/hashgraph/hedera-wallet-connect/pull/302?
@MiguelLZPF Does this PR solve your issue - #302?
Hello @tmctl, thank you for your reply, we have tested with hashpack but it doesn't work, we get the same error =S
Describe the bug A clear and concise description of what the bug is.
We are experiencing an issue when closing the connection between the wallet and the dApp, specifically when the disconnection is triggered from the wallet side.
So, when we close the connection from the dApp itself the connection is successfully closed and both sides are disconnected. However, when closing using the "disconnect" button from the wallet, error is thrown from
.disconnect(topic)
method.The wallet "disconnect" button is this cross in Blade. We experience the same issue with Hashpack.
The topic is correctly passed as parameter:
It is worth noting that the
.disconnect(topic)
method is not explicitly called from the dApp, is triggered by an event.To Reproduce Steps to reproduce the behavior:
Steps
Clone Stablecoin repository
install dependencies and build project
Test using Stablecoin WEB
3.1 Hedera wallet
An hedera wallet with an account is needed. Easiest way is to use Hedera portal and import that account to the Blade Wallet. Blade Wallet browser extension and a Chrome based browser are needed for this test.
3.2 Web Environment
You need to have a correct .env configured on the web directory. Example:
3.3 Test
Expected behavior A clear and concise description of what you expected to happen.
The connection should be closed successfully, and both the dApp and the wallet should be properly disconnected.
Desktop (please complete the following information):