3

I want to accept ethereum from a crowd for selling something from my webpage. I want each individual to send ethereum on an assigned receive address. Is it possible to assign separate ethereum address to each individual.

5

This is possible. You need to generate a new address for every user and keep track of this private key. However, the question is if this is handy. What might be more elegant is creating a contract for this and have every user send their ETH to this contract, but by tagging their transaction with an ID (or track via the address who sent the transaction). Like this you do not have to create a lot of ETH addresses.

Also a warning: if you create a lot of ETH addresses and want to extract these funds, you are going to pay a lot of GAS for these transactions (gas=transaction costs in this case). You can make this much cheaper by writing a contract for this.

  • But, if I create one contract, will each user get different address to pay to? – doniyor Mar 31 '18 at 0:46
  • 1
    No, you will interact with the same address. However, you can create a function on the contract's "normal" pay function which keeps track of how much everyone has paid, hence you can create "accounts" within the contract account. – JBrouwer Mar 31 '18 at 3:57

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.