[Solved] How do I send multiple transactions from one wallet in Nodejs?

knitty Asks: How do I send multiple transactions from one wallet in Nodejs?
Hi I’ve been reading around and I came across Web3.js

It’s not apparent to me how I can send Ether from one wallet to multiple recipients other than in a batch-style request (which inevitably takes a lot of time and is prone to failure)

I see people suggesting contracts but almost 9/10 of the posts I read were referring to ERC20 tokens but I am looking to send just plain ol’ Ether.

I have a website where people are going to be earning Ethers and all types of cryptos and the amount they earn is stored in a MongoDB database,

For Monero, I just pull the values the earn from the MongoDB database and push them into an array. I wait for the array to be filled with Promises and then I execute the function with an array, and Monero Wallet RPC knows that its an array and sends all the transactions out as one big payment.

How do I do something similar in Ethereum?

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.