so I need to distribute a Stellar Asset to multiple wallet addresses. Is there any way so I can do it at once, maybe 10-20 wallet at once?
Stellar allows adding up to 100 operations (payments in your case) to a single transaction. You can use this feature to send payment batches.
But you need to check for each account that
- The account exists on the ledger (
- The account established a trustline to the asset you are going to send (check the
balancesfield of the loaded account).
Another way to achieve the same result is to submit multiple transactions without waiting for the previous transaction to execute. Each ledger may contain up to 100 transactions, though I don't recommend you to send large batches at once. Send by 20-50 transactions per ledger (every 5 seconds), otherwise you may provoke fee surge pricing in the netowrk and some of your transactions will be delayed.