-
Notifications
You must be signed in to change notification settings - Fork 184
Chat questions
Швец Андрей Евгеньевич edited this page Nov 20, 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.
More likely yes than no. You can see your dump in the retracer.ton.org later, but the validator is free to send your print anywhere, even to its memory, or to /dev/null.
Hi all. I'm making Jetton-wallet with modifications, I take it from https://github.com/ton-blockchain/minter-contract/. There in read.me it says, do npm install -> make changes -> npm run build. And here I get an error: FATAL ERROR: 'func' with version >= 0.2.0 executable is not found, is it installed and in path?
Use the more up-to-date repository https://github.com/ton-blockchain/token-contract