I want to build an automated system, that can accept payments from users in bitcoin and can make payouts to addresses, specified by users, as well.
BIP32 says, that the best way to accept payments is to use HD wallets. But what about payouts? How can I make payouts using funds from account's external chain addresses with received funds and not introduce security leaks?