My IoT device connects to another computer via Wi-Fi on which Ethereum (Truffle/Ganache) is running which receive a RPC from the IoT.
My task is to create raw transaction data on this IoT Device, so that I can use the eth_sendRawTransaction function (https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sendrawtransaction) via RPC. I have to create this raw transaction data in C# language.
But for creating this raw transaction data, I have to create ECDSA privat key, public key, derive address from public key, create the transaction (including: nonce, gasPrice, gasLimit, to, value, data), encode this data (RLP), hash the encoded data and last but nor least sign the hashed data with ECDSA private key. So in short --> How to create and sign a transaction locally using Go, just in C# ^^
Or do I have to look at the exact function of the individual functions (in https://github.com/ethereum/go-ethereum or rather https://github.com/ethereumjs/ethereumjs-tx) and translate this manual in C#?
I found this https://goethereumbook.org/transaction-raw-create/ but everything is in GO.^^
Thanks a lot for your help/advice :)