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

Unable to send TON jetton transaction with amount more than Long max value #4151

Open
kozarezvlad opened this issue Dec 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@kozarezvlad
Copy link

It's impossible to send jetton amount more than 9223372036.854775807 in Ton, because of long type overflow.

TheOpenNetwork.JettonTransfer.newBuilder()
            .setTransfer(transfer)
            .setJettonAmount(value) // here is expects long value that max value lower than token amount, but needs com.google.protobuf.ByteString for example

Faced with problem for token $FISH that price is too small and huge amount is impossible to send.

@kozarezvlad kozarezvlad added the bug Something isn't working label Dec 5, 2024
@devanshu6198
Copy link

@kozarezvlad

Can you provide me to jetton transaction demo ?

@trustwallet trustwallet deleted a comment from contribution-hub Dec 18, 2024
@satoshiotomakan
Copy link
Collaborator

Hi @kozarezvlad, thanks for opening the issue. I'll take a look at this most likely at the beginning of the next year

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

3 participants