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?
Asked
Active
Viewed 1,463 times
0
-
Please separate these two questions into separate ones. – SCBuergel Aug 29 '17 at 18:25
1 Answers
0
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.
SCBuergel
- 8,774
- 7
- 38
- 69