Web3j – Generating a New Address in a Wallet

addressesjavawalletsweb3j

I'm using Java (web3j). I have some users and I want to give address to each user. How to generate new address in an ethereum wallet? For example I can generate lots of address from bitcoin wallet. Is it possible to generate new address in one ethereum wallet seems like bitcoin?

If it isn't possible then how can I assign different address to users? Must I create new wallet for every user and save them to a directory? Thanks.

Best Answer

You don't have to save wallet to file. You can extract the low-level code yourself. Check my answer here Generate private key and address using web3j

Related Topic