1

I would like to automatically create an account (EOA) in Ethereum for all the users of my platform as soon as they register. Is it possible?

Thanks for your help

1

It is possible, but key management is an issue. It's a tradeoff between simplicity and responsibility. Either you manage their keys and make their lives easier, but take full responsibility, Or you only ask for an ethereum address, and let them deal with account creation.

A nice solution seems to be Metamask's approach.

I am actually planning to use their service for my next project. They can deal with the account, and you can focus on your app.

1

Depending on your platform, most implementations of ethereum offer a way to create a keypair, which allows you to access an address (derived from public) using your private key.

An example in EthereumJ

private ECKey generateRawKey() {
    return new ECKey(new SecureRandom());
}

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.