These are chat archives for Nethereum/Nethereum

26th
Jul 2017
Juan Blanco
@juanfranblanco
Jul 26 2017 10:14
you are exceeding the block gas limit, each block has a limit
this shouldn't happen for such small transaction, so change your gas settings on a transaction input
next release will use smaller default settings
Y. Mutlu
@ymutluu_twitter
Jul 26 2017 10:38
Hello Juan, thank you very much. I fixed. ;)
Juan Blanco
@juanfranblanco
Jul 26 2017 10:38
:+1:
kai
@kaista82_twitter
Jul 26 2017 12:00
Hi, can anyone tell me how to load an account without inputting the password first, so I can get the address (then use password to do transaction), also how do I turn an account loaded form the store into a pk without using the keystore service as everytime i load one it takes 4-5 seconds to decrypt the account file. Finally towei is acting very strangely, in that i can send 123.456 eth and it works fine, I input 120 or 200 and it adds .1.2 or 2.0 and strange things like that..
(great library by the way, so far ran on xamarin mac + windows and expecting to use within ios and android)
var encoded = _web3.OfflineTransactionSigner.SignTransaction(senderPrivateKey, receiver, UnitConversion.Convert.ToWei(amount), txCount.Value, gasPrice, gasLimit);
2.0.5rc i think im on
kai
@kaista82_twitter
Jul 26 2017 13:22
Hi sorry, the account bit above I can do with keystore service, might as well use it as it will give me what I need, but I am still having trouble with the towei function, I just want to input a decimal and have it be accurate, I have no idea why 20 and 200 end up being .2 when 1234.567 works
Juan Blanco
@juanfranblanco
Jul 26 2017 13:25
the wei issue is fixed, is getting released now (as we speak) on rc6.1
if you want to store your private key in memory
you can retrieve it from the keystore
kai
@kaista82_twitter
Jul 26 2017 13:26
Thanks Juan, I'll download that rather than use the nuget package (unless that is also being released soon) I'm fine with Private Key now and also Address, I can get the address from the json without a password and only use the password at the moment of sending the transaction which is perfect
Juan as I was using an Account before it never had a .PrivateKey propery, but i can just DecryptKeyStoreFromJson and then ToHex to get the Private key out on sending
yes, have a look ^^
I don't feel very comfortable having PrivateKey properties
kai
@kaista82_twitter
Jul 26 2017 13:29
Thankyou you are great, I really appreciated your help
no I understand, its either put Account into Web3 constructor or use the KeyStoreService
that's fine
so when ToWei is fixed I can just give it a decimal value ?
Juan Blanco
@juanfranblanco
Jul 26 2017 13:30
yes a decimal, without decimals
it is a bug
kai
@kaista82_twitter
Jul 26 2017 13:30
so i can ToWei(12.45m); ?
Juan Blanco
@juanfranblanco
Jul 26 2017 13:31
yes
kai
@kaista82_twitter
Jul 26 2017 13:31
yes yes the decimals fail, correct, Cheers ;)
You've done a great job on the library
Juan Blanco
@juanfranblanco
Jul 26 2017 13:31
Thanks!
kai
@kaista82_twitter
Jul 26 2017 13:31
I and I'm sure the community appreciate your work
One final question for now, if I want to keep checking balance I just poll manually correct?
same with transactions...?
Juan Blanco
@juanfranblanco
Jul 26 2017 13:33
yes
kai
@kaista82_twitter
Jul 26 2017 13:33
<3
great
cant wait to try it on IOS/Android after Windows/Mac Client are finished
woop
Juan Blanco
@juanfranblanco
Jul 26 2017 13:53
yes Xamarin.Forms as it grows will make it so much easier to do full cross platform applications
kai
@kaista82_twitter
Jul 26 2017 13:54
yes, I have been using it on small projects to start and also looking at PCL based projects too, Cocoa C# is pretty cool also. My simple xamarin forms app for a client, signature pad + signalr RPC is amazingly strong and works on both devices with no changes!
Juan Blanco
@juanfranblanco
Jul 26 2017 13:56
im awaiting for Xamarin.Forms in WebAssembly :D
kai
@kaista82_twitter
Jul 26 2017 13:57
but i am very much looking forward to making eth light clients for a project I'm involved in on Xamarin Forms if possible
WebAssembly forms?
Juan Blanco
@juanfranblanco
Jul 26 2017 13:57
well i am betting after linux, wpf, mac, webassembly will be next
kai
@kaista82_twitter
Jul 26 2017 13:58
what is web assembly? we dont have c# linux GUI yet do we?
You have intruiged me
re: webassembly
Juan Blanco
@juanfranblanco
Jul 26 2017 13:58
no is coming next quarter (in their roadmap)
well an xaml standard
and*
web assembly is my "theory" on the next step
sanderson (creator of Knockout) has already created a PoC using razor
kai
@kaista82_twitter
Jul 26 2017 14:00
i like knockout
(knockout js binding?)
Juan Blanco
@juanfranblanco
Jul 26 2017 14:00
but it uses dotnetanywhere so it is very limited
yes the same person
kai
@kaista82_twitter
Jul 26 2017 14:00
I will have to read what web assembly is
Juan Blanco
@juanfranblanco
Jul 26 2017 14:00
search for blazor
kai
@kaista82_twitter
Jul 26 2017 14:03
is this like Nodejs + electron
so web site based ui with .net framework backend?
Juan Blanco
@juanfranblanco
Jul 26 2017 14:06
no..
it is mainly a SPA
or even a game
"compiled" into web assembly
kai
@kaista82_twitter
Jul 26 2017 14:07
ahh ok
Juan Blanco
@juanfranblanco
Jul 26 2017 14:07
from any language
so it runs in the browser
kai
@kaista82_twitter
Jul 26 2017 14:07
nice
Juan Blanco
@juanfranblanco
Jul 26 2017 14:07
so if Xamarin.Forms which is the most crossplatform ui in .net
or XamlStandard can be ran in Wasm
kai
@kaista82_twitter
Jul 26 2017 14:08
yes, could be cool
kai
@kaista82_twitter
Jul 26 2017 14:26
Juan did you mean Linux GUI apps coming soon / in roadmap?
Juan Blanco
@juanfranblanco
Jul 26 2017 14:26
yeah
kai
@kaista82_twitter
Jul 26 2017 14:26
good I will need it
do you know rough time frame?
Juan Blanco
@juanfranblanco
Jul 26 2017 14:26
6 months
i guess
kai
@kaista82_twitter
Jul 26 2017 14:27
thats great
kai
@kaista82_twitter
Jul 26 2017 15:23
Juan, sorry to bother you again, when you release the latest RC with the ToWei fix, will you release a nuget package at the same time or does that come after? I think I'm probably best just cloning the project so I can update it whenever I suppose..
Juan Blanco
@juanfranblanco
Jul 26 2017 19:51
It
is out now. With the nuget
Rc6.1
kai
@kaista82_twitter
Jul 26 2017 22:26
nice one