EatTheBlocks Forum

Main Wallets and Sub-wallets

Is it possible to have main wallet and sub-wallets in such a way that any money deposited through sub wallet addresses go into the main wallet?
Each sub wallet can withdraw money from the main wallet but can only withdraw the amount that was deposited through such sub wallet.

If 10 Ether was deposited through sub wallet A, 10 Ether goes to main wallet.
Sub wallet A can only withdraw 10 Ether from the main wallet.

I just want to know if this is possible.