i'm working on a Web Application that will allow users to deposit Bitcoin into their own wallet, leading to a service that invests their funds in X(lets say alt-coins).i'm having issues on how to approach this.
So, if i'm not mistaken it will go like this:
Bob deposits BTC to wallet W => W sends to service S => Bob wins money => S sends funds back to W.
Until bob has funds again it takes 2 transactions
If the goal is to minimize fees by reducing the amount of transactions, Would you create a private key for each of the users? or is there a way to create different public addresses that point to the same private key? I Thought about initially giving Bob the option to deposit directly to the service S but the whole idea is giving funds to more than one service.
Thanks for any advice.