Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI-REACT: Tonkeeper Mobile faulty transaction #277

Open
GeorgeMA-Strong opened this issue Oct 31, 2024 · 3 comments
Open

UI-REACT: Tonkeeper Mobile faulty transaction #277

GeorgeMA-Strong opened this issue Oct 31, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@GeorgeMA-Strong
Copy link

Describe the bug

Hi. I’m making app with TON Ceonnect integration and during sending a transaction from Tonkeeper mobile there is a bug:
It’s sending bouncing transaction so TON is going back to the sender. On Telegram Wallet and Tonkeeper desktop is working fine (it’s sending normal transaction).
Code to reproduce it:
import { Address, beginCell, toNano } from '@ton/core’;

const handleSendTransactionTonConnect = () => {
      const body = beginCell()
        .storeUint(0, 32)
        .storeStringTail(UUID)
        .endCell();
      const paymentRequest: SendTransactionRequest = {
        messages: [
          {
            address: Address.parse(walletAddress).toRawString(),
            amount: toNano(amount).toString(),
            payload: body.toBoc().toString('base64'),
          },
        ],
        validUntil: Math.floor(Date.now() / 1000) + 3600,
      };
      tonConnectUI
        .sendTransaction(paymentRequest)
}

Telegram Wallet and Tonkeeper Desktop is working fine:
image
image

BUT for Tonkeeper mobile its working incorrectly:
image

I suspect Ton Connect can produce wrong link to Tonkeeper mobile which making transaction faulty.
This is example of real faulty transaction from Tonkeeper Mobile:
https://tonviewer.com/transaction/2cc989bfe3f131560e01ab9b5884e0677903b5ef67693abb2aa8c38cf40eb647

Expected behavior

Transaction is not bouncing back.

Current behavior

Transaction on Tonkeeper Mobile is being faulty during creation.

Steps to Reproduce

  1. Connect Tonkeeper Mobile
  2. Run transaction code I pasted above
  3. Proceed to Tonleeper app for transaction approve
  4. You will se such behaviour

Environment

/app
└─┬ @tonconnect/ui-react@2.0.9
└─┬ @tonconnect/ui@2.0.9
└─┬ @tonconnect/sdk@3.0.5
├── @tonconnect/isomorphic-eventsource@0.0.2
├── @tonconnect/isomorphic-fetch@0.0.3
└── @tonconnect/protocol@2.2.6

Additional context

No response

@GeorgeMA-Strong GeorgeMA-Strong added the bug Something isn't working label Oct 31, 2024
@GeorgeMA-Strong GeorgeMA-Strong changed the title UI-REACT: <description> UI-REACT: Tonkeeper Mobile faulty transaction Oct 31, 2024
@tinh-wolffun
Copy link

I have the same problem

@GeorgeMA-Strong
Copy link
Author

I have the same problem

I also wrote to the tonkeeper support in case it's a problem from their side but no reply from them

@Tony-ptech
Copy link

Thanks for posting the issue.
Your query would be best dealt with by the support team.

Please see the link below to our dedicated support line:

Support : Help Center

Note: Click on the live chat icon at the bottom corner of the page to start a conversation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants