In order to use Web3 provided by MyEtherAPI, I need to locally sign a transaction, since myetherapi supports only eth_sendRawTransaction.

I found a good source to do so on github, unfortunately it is inactive since 2 years ago. Any idea if there is an active project serving the same purpose?

2 Answers 2


ethereumjs-tx is what you need.

Javascript is extremely popular amongst the Ethereum dev community.


if you can live with a beta version of web3 there is a transparent way to do this with https://www.npmjs.com/package/web3-local-signing-provider

It allows you to set a private key and the library will complete missing transaction object fields (like gas price and gas), sign it locally and send it to the specified provider. It is as seamless as using a local node with an unlocked account.

It is all documented in the Readme of the package

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.