tonkeeper-web icon indicating copy to clipboard operation
tonkeeper-web copied to clipboard

TON Connect Payload Issue When Application is Not Running

Open Totemancer opened this issue 1 year ago • 4 comments

Hello Tonkeeper Team / @KuznetsovNikita,

We’ve discovered a minor issue. If Tonkeeper Desktop is not running and a wallet is connected to an app—in our case, the Totemancer Telegram Mini App—while preparing a transaction, the app opens fine, but the transaction is not visible for acceptance once the app opens. The transaction payload only works if Tonkeeper Desktop is already running before preparing the transaction.

In contrast, the mobile version of Tonkeeper works perfectly. Perhaps some state handling improvements could be made for the desktop version.

Thank you for your work.

Totemancer avatar Aug 13 '24 08:08 Totemancer

Hello @Totemancer I remember this issue, it's a trouble with electron launch parameter I will take a look on it, at first time I didn't find a solution for it.

Thank you for report!

KuznetsovNikita avatar Aug 14 '24 13:08 KuznetsovNikita

تیم Tonkeeper / ، ما یک مشکل جزئی را کشف کردیم. اگر Tonkeeper Desktop در حال اجرا نباشد و کیف پولی به یک برنامه متصل باشد - در مورد ما، برنامه Totemancer Telegram Mini - هنگام آماده کردن تراکنش، برنامه به خوبی باز می شود، اما پس از باز شدن برنامه، تراکنش برای پذیرش قابل مشاهده نیست. محموله تراکنش فقط در صورتی کار می کند که Tonkeeper Desktop از قبل قبل از آماده سازی تراکنش در حال اجرا باشد. در مقابل، نسخه موبایل Tonkeeper به خوبی کار می کند. شاید بتوان برای نسخه دسکتاپ بهبودهایی در مدیریت حالت ایجاد کرد. ممنون از کار شما

77571526 avatar Aug 15 '24 09:08 77571526

Hello @Totemancer I remember this issue, it's a trouble with electron launch parameter I will take a look on it, at first time I didn't find a solution for it.

Thank you for report!

It’s worth mentioning that this likely relates to bridge connection code. (Other issue - might be related)

Example: In the Totemancer Mini App, preparing a transaction makes it appear in the Tonkeeper Desktop App for acceptance.

If we cancel the transaction, the bridge and the Mini App don’t register the cancellation.

However, with the Tonkeeper mobile app, denying the transaction correctly updates both the Mini App and TON Connect about the cancellation.

Totemancer avatar Aug 16 '24 12:08 Totemancer

What are you thinking

Tirmizi106 avatar Sep 28 '24 14:09 Tirmizi106

Fixed in https://github.com/tonkeeper/tonkeeper-web/releases/tag/v4.0.1

siandreev avatar May 19 '25 11:05 siandreev