Open YanYuanFE opened 3 months ago
test snapshot
Hello.
Maybe you have something wrong configured in your signature.
I just tried it myself with the TonKeeper app on IOS and it worked perfectly from telegram.
https://github.com/YanYuanFE/demo-dapp-with-react-ui
I added a demo to reproduce this problem. You can run this demo and enter the page, scan the code to connect to the wallet app, sign the transaction and view the console log.
@alexcraviotto you can try this demo,
I use tonhub app in Android.
https://docs.ton.org/develop/dapps/cookbook#how-to-find-transaction-for-a-certain-ton-connect-result I found a new method of querying transaction hash in the TON documentation. After my test, the tonkeeper app can work normally, both on the ios test network and the Android main network, but on the tonhub app main network and test network Neither works properly, I think it might be a problem with the tonhub app. I have updated the demo and can test it in the demo demo: https://github.com/YanYuanFE/demo-dapp-with-react-ui
Describe the bug
Transactions logged in by scanning QR codes in the app and transactions initiated directly in the telegram app or mobile browser cannot correctly parse the hash.
I use signTransaction to call tonhub app to initiate a transaction. It returns a BOC. I parse the hash from the BOC, but this hash cannot be found in the block explorer and is inconsistent with the transaction in my wallet.
boc:
use this code to get hash:
https://testnet.tonviewer.com/transaction/4e76aa2b6c1e709b2c31bc43c31ab8a6841f12d7fddde3a8dcf4727da9bf065e
this link is 404.
but my transaction hash in wallet is 13724831173c47c420db70e4121e885255420ea1fb1ab2518bf6184a09bc3fc1.
This problem only occurs in the wallet app and works fine on the browser plugin。
Expected behavior
The hash is parsed normally and the hash can be found in the browser.
Current behavior
The hash cannot be found in the tonviewer
Steps to Reproduce
I use signTransaction to call tonhub app to initiate a transaction. It returns a BOC. I parse the hash from the BOC, but this hash cannot be found in the block explorer and is inconsistent with the transaction in my wallet. boc:
use this code to get hash:
https://testnet.tonviewer.com/transaction/4e76aa2b6c1e709b2c31bc43c31ab8a6841f12d7fddde3a8dcf4727da9bf065e
this link is 404.
but my transaction hash in wallet is 13724831173c47c420db70e4121e885255420ea1fb1ab2518bf6184a09bc3fc1.
This problem only occurs in the wallet app and works fine on the browser plugin。
Environment
tonhub version:2.3.11 ui-connect: 2.0.9
Additional context
No response