Is there a Windows console application that can generate addresses and private keys as output to the console window?
2 Answers
On Windows platform you typically have the option to use Nethereum, a .NET web3 library. This is probably preferred as Windows comes with .NET runtime, so your user won't have to install node.js.
It's super simple to generate a private key and an account.
// using Nethereum.Signer;
var ecKey = EthECKey.GenerateKey();
var privateKey = ecKey.GetPrivateKey();
var genAddress = ecKey.GetPublicAddress();
Console.WriteLine("Key is {0}", privateKey);
Console.WriteLine("Address is {0}", genAddress);
Use Javascript and nodejs.
Install nodejs and npm using the guide here.
Install the keythereum npm package.
The keythereum docs (on that page) outline its usage.