This question already has an answer here:
Is it possible to generate different multiple eth-addresses from one private key?
From the user perspective, it should appear that:
- by pressing a button he will get an eth-deposit address;
- by pressing one more time a new eth-address should be displayed to the user.
As an option, I am considering the generation of a new account with public/private key pair for each time a user presses the button and saving the hashed private key into the database. Also, I would need a worker, that will be listening to the network and checking blocks for the transaction to the generated account. But I don't really like saving the private key as well as generating a new key pair...
So I wonder if there is any other way to implement this feature without saving private key into the database and without using third party services?