Closed mason276752 closed 5 years ago
You have to provide context on what is not working for you, e.g. by providing the console output you get.
I want to make a cold wallet, so need to make an unsigned transaction and send it to the cold wallet. I don't have console output, just an idea , but I don't know how to do it.
@Lursun The example in this repo (https://github.com/ethereumjs/ethereumjs-tx/blob/master/examples/transactions.js) walks through how to create an ethereumjs-tx instance, edit the transaction data and then sign it with a private key.
If you wish to send that transaction over a network, you likely want to use web3. This example should be helpful in that case: https://github.com/ethereum/wiki/wiki/JavaScript-API#example-46
How get unsigned transaction (hex string) and from unsigned transaction(hex string) to signed transaction ?