Suppose I know the number of hd child addresses used by my ethereum account, i want to send ether from those addresses. How to sign such a transaction using ethereumjs-tx?

I need to send all the private keys and the from address should be an array too.


For external owned accounts (EOA) transaction only support a single recipient. You cannot have multiple recipients for non smart contract.

If your account is a smart contract you can program to send ether to multiple recipients.

Ethereum doesn't support transactions with multiple senders.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.