I'd like to generate and sign a transaction offline and then send that transaction with a different account. I've found a few web3js sources and I've read the web3 documentation, but I haven't found any clear solutions for doing this in Java with web3j. Thanks for the help.
Offline Transactions – How to Sign a Transaction with Web3j?
javatransactionsweb3j
Related Topic
- Web3j Ether Transfer – How to Send Ether Using Web3j to an Address on Android
- [Ethereum] How to create wallet with web3j and web3swift like with web3js web3.eth.accounts.create(); function
- [Ethereum] Empty value (0x) returned from contract web3j
- Web3j Guide – How to Create a RawTransaction for Contract Interaction
Best Answer
I think something like this should work
and then give the hexValue to the third-party to broadcast it to the network
Update: now you need the chain ID to the method singMessage, like this: