I would like to generate Ethereum addresses clientside with JavaScript, what is the best way to go about doing this? Also, I read that dual Eth-Bitcoin addresses are now possible, and there are many open source clientside Bitcoin address generators available, it possible to generate Bitcoin Addresses and use them with Ethereum?


You can e.g. use Keythereum to create Ethereum addresses from Javascript:

var params = { keyBytes: 32, ivBytes: 16 };
var dk = keythereum.create(params);
var keyDump = keythereum.dump("password123", dk.privateKey, dk.salt, dk.iv);
var address = keyDump.address;

They have a node module and a browser version.

Keep in mind though that you'll just see that address in a public blockchain explorer once you sent some Ether to it.

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