As above: It is possible to export a Tx Hash to a .txt file ?
For Example :
I'm using Geth Java console, I make a Transaction from my Account receving
"0x123456789"
It is possible to send "0x123456789" to txhash.txt ?
Further Informations:
I usually started with
geth –datadir C:\Users\BulldogBud\AppData\Roaming\Ethereum\testnet\chaindata –networkid 3 console 2>>log.txt
then
web3.personal.unlockAccount("0x9876", "mypassword", 24*3600 ) In order to keep the account open from Java console without all the "Sync messages". In this way after the web3.personal.sendTransaction() command, how can I pass the Tx Hash out of the Java console?
Thank you in advance!
Best Answer
try to use the
--exec
option for geth :