These are chat archives for Nethereum/Nethereum

15th
Aug 2017
Fsetiaw4n
@Fsetiaw4n
Aug 15 2017 13:54
@juanfranblanco , 2.0.0 rc6 looks awsome so far :smile:
omnissiah
@omnissiah
Aug 15 2017 14:51
Hi all, a quick question. While using offline tx signing with params: key,recepient,amount and nonce to send ether to another account, why would the tx be mined but ether wouldnt transfer?
kai
@kaista82_twitter
Aug 15 2017 14:51
if your transfer amount only covered the gas
or the recipient is wrong (even missing 0x at beginning)
omnissiah
@omnissiah
Aug 15 2017 15:04
Web3.OfflineTransactionSigning.SignTransaction(myprkey,targetAddr,new HexBigInteger(20),txcount);
kai
@kaista82_twitter
Aug 15 2017 15:04
you may be wanting to use ToWei()
moment...
do you expect that to be 20 eth or 20 gas?
UnitConversion.Convert.ToWei(20)
omnissiah
@omnissiah
Aug 15 2017 15:05
i want to send 20 eth
kai
@kaista82_twitter
Aug 15 2017 15:05
Web3.OfflineTransactionSigning.SignTransaction(myprkey,targetAddr, UnitConversion.Convert.ToWei(20),txcount);
try that mate, let me know how you get on
omnissiah
@omnissiah
Aug 15 2017 15:15
Yup, it works. Thanks a lot.
kai
@kaista82_twitter
Aug 15 2017 15:15
you're welcome ;)