I am new to web3j and smart contract deployment.
Consider a scenario where a user is too scared to give his wallet credential file or username/password or private key in a piece of code(the code is not visible to him and he fears his credentials may be used in a way he does not intend). The user also has an offline computer(not connected to the internet) and an online computer(connected to the internet).
I have read about rawTransaction
and TransactionEncoder.signMessage
and if the user would have wanted to just transfer ethers, he could do both of these steps in an offline computer and then provide this signedMessage on an online computer to proceed with the transfer of funds.
Is there something similar he can do while deploying the smart contract? Have I understood it all correctly or am I thinking of doing something which does not make sense?