-
Notifications
You must be signed in to change notification settings - Fork 117
Chat questions
Швец Андрей Евгеньевич edited this page Nov 19, 2024
·
18 revisions
-Do I need to send 2 messages from Jetton Minter to Jetton Wallet to first deploy it (because it deploys with 0 on balance) and then do the actual minte transaction on it? -No, when sending a message on the TON blockchain you can both attach the StateInit of the contract and the message body itself at the same time. In this case, if the contract is uninitialized, it will be initialized by your StateInit and then immediately process your message. If you attach a StateInit to a message sent to an already initialized contract, the StateInit will be ignored, and only the message body itself will be processed.