2

Is there a Windows console application that can generate addresses and private keys as output to the console window?

1
  • I think a more appropriate solution on Windows would be using Nethereum. Check out their docs. Nov 14, 2017 at 2:51

2 Answers 2

1

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);

Fiddle

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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