Skip to content

How to set Contract Address in Ton Jetton transaction ? #4179

Closed Answered by satoshiotomakan
devanshu6198 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @devanshu6198, you don't need to specify the jetton master address explicitly, but your jetton wallet address as SigningInput.dest. Please note that JettonTransfer.toOwner should be a recipient's jetton wallet address as well.

To convert your main TON address to a jetton wallet address, you can use TONConverter module as at the example:

     val mainAddress = "UQBjKqthWBE6GEcqb_epTRFrQ1niS6Z1Z1MHMwR-mnAYRoYr"  // Your main TON address
     val mainAddressBoc = TONAddressConverter.toBoc(mainAddress)
     assertEquals(mainAddressBoc, "te6cckEBAQEAJAAAQ4AMZVVsKwInQwjlTf71KaItaGs8SXTOrOpg5mCP004DCNAptHQU") 
  
     // Call `get_wallet_address` of the NOT Jetton contract (`EQAvlWFDxGF2lXm67…

Replies: 8 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by devanshu6198
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@devanshu6198
Comment options

@satoshiotomakan
Comment options

@satoshiotomakan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@devanshu6198
Comment options

@satoshiotomakan
Comment options

@devanshu6198
Comment options

@devanshu6198
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4172 on December 18, 2024 11:17.