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?


  1. create a unique ethereum wallet for user
  2. show that wallet only for that user so i can create a relationship between username and ether sent.
  3. 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?

Your Answer

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

Browse other questions tagged or ask your own question.