I want to use the ecSign-function in the ethereumjs-util-library. But that needs a private key. So how and where do i get my private key for my wallet?

  • What wallet or node software are you running? Commented Jul 6, 2017 at 16:59
  • I use the Mist-Browser. Commented Jul 6, 2017 at 17:07

1 Answer 1


Easiest way is to use https://www.myetherwallet.com/... Include the wallet File and copy and paste the Private key

  • Thats what i actually did and it worked like a charm. Commented Jul 6, 2017 at 19:19
  • 1
    I tried to do this and got the error RangeError: private key length is invalid
    – Joe
    Commented Jul 7, 2017 at 9:12

Your Answer

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

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