I mean, let contract A is something that send msgs to contract B and C.

If I send msg to A, the transactions I can see in tonscan.org with my wallet address will be only
me -> A 0.2 TON

and with address of A
A -> B 0.1 TON
A -> C 0.1 TON

but I want to see in tonscan.org with my address like this
me -> B 0.1 TON
me -> C 0.1 TON

Mar 13, 2023, 6:08 AM
Then send multiple messages from "me"
Mar 13, 2023, 6:08 AM
so how?
Mar 13, 2023, 6:09 AM
Actually, "me" in your case is also a smart contract (wallet contract).
Regular wallet contracts allow you to send up to 4 messages at once. If you need more - use highload wallet
But what's the problem with that anyway?
Why do you want to see something special on tonscan? Don't you just need the result?
Mar 13, 2023, 6:10 AM
cause this way requires 2/3 gas fees
Mar 13, 2023, 6:10 AM
What?
Mar 13, 2023, 6:11 AM
what kind of package brings multiple msg send? or is there any example? that's my point
cause me->A->B,C requires 3 transactions while me -> B,C requires 2 transactions.
I want to simplify the process.
Mar 13, 2023, 6:15 AM
Use the highload wallet
But actually there's no problem with that. me->A->B,C,D,E... vs me->B,C,D,E... is just a 1 single message difference
Mar 13, 2023, 6:18 AM
thank you! I'll try this
Mar 13, 2023, 6:18 AM
If you want to send a message to 1000 addresses, it will be just 1000 vs 1001 messages. Not a big deal
Mar 13, 2023, 6:18 AM
yeah but only two msgs I want to send. in that case, I'll send via contracts too
anyway thank you for answer
Mar 13, 2023, 6:20 AM
If you want to send just two msgs - there's no problem with that. Tonweb and ton.js libraries support it for regular wallets
Mar 13, 2023, 6:20 AM

© 2024 Draquery.com All rights reserved.