Hello Everyone. I go a question. I am trying to send some ton from my deployed wallet to one wallet which contract is not deployed yet. But somehow money gets back. Can you explain me why.
I am using tonweb.js library
First screenshot is the scanner , second one code that sends.
Is it the sendMode ? and what that values does.
May 4, 2023, 1:03 PM
May 4, 2023, 1:03 PM
the TON will return back since the receiver(contract) is not activate successfully.
more specific will be, the contract probably set with "bounced" if the message you sent to is not the right message format tho.
more specific will be, the contract probably set with "bounced" if the message you sent to is not the right message format tho.
May 4, 2023, 1:13 PM
but i need some tons on that inactive account to activate it right ?
May 4, 2023, 1:14 PM
In your situation, you didn't initialize it successfully. What is your FunC or Tact code for it?
The WalletV3, V4 standard code will be activate once your send the TON to it without any further message formate etc.
The WalletV3, V4 standard code will be activate once your send the TON to it without any further message formate etc.
May 4, 2023, 1:15 PM
you need to send an unbounceable message but idk how to do that it tonweb
May 4, 2023, 1:15 PM
as i can udnerstand i need to send a non_bounce transaction. but can't find how to do that with tonweb , it had something with sendMode parameter
May 4, 2023, 1:16 PM
no sendMode is not it
May 4, 2023, 1:16 PM
it's simple v4R2 wallet ( at least it had to be when it has some tons to activate the contract)
i found the issue thanks @krigga and @howard_peng. I did mistake and was trying to send to the bounceable address instead of nonbounaceble . Thanks for the response.
May 4, 2023, 1:22 PM