Is it possible to sign transaction on ARM Microcontroller and then somehow broadcast it?

I have read about ethereumjs-tx, but how to implement it without any OS on board?

UDPADE: I have found how to create a signed transaction in Go


transaction := types.NewTransaction(nonce, recipient, value, gasLimit, gasPrice, input)
signature, _ := crypto.Sign(transaction.SigHash().Bytes(), key)
signed, _ := tx.WithSignature(signature)

Where can I find same code in C/C++ with lib?

2 Answers 2


A very quick answer covering this part:

Where can I find same code in C/C++ with lib?

...without delving too much into what you're trying to do, and without knowing what you already have.

The code that handles this for cpp-ethereum can be found in Transaction.cpp, itself in the libethcore library. You may have to pull in further libraries for the signing, etc. - for example, the SHA3 code is in libdevcore.

  • Also, what Mikko said about Gitter. Commented Apr 19, 2017 at 20:05

See cppethereum project.


I suggest you contact cppethereum developers in Gitter and they can guide you to more comprehensive answer.

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.