I want to build a de-fi webpage that receives ethereum from users, so i want to store all ethereum within a smart contract and want to know how much ether does a user has. if i create a new unique wallet for each user then i have to send each sent ether to main smart contract and i have to pay gas price for each user. is there a way to make users to store ethers in my smart contract and i can make a relationship between user and sent ether balance in one step?
- create a unique ethereum wallet for user
- show that wallet only for that user so i can create a relationship between username and ether sent.
- transfer users eth to main de-fi contract.
i am paying gas for each user with step 3 just to create relationship between user and ethereum wallet. is there a better way?