These are chat archives for Nethereum/Nethereum

11th
Jan 2018
Edson Alcalá
@EdsonAlcala
Jan 11 2018 12:49
Looking at the sample @juanfranblanco, thank you :D
Juan Blanco
@juanfranblanco
Jan 11 2018 12:49
ok :)
ywhlhy
@ywhlhy
Jan 11 2018 13:57
hello,everybody,gitter how to set proxy?
JEN
@chukwuemekanweke
Jan 11 2018 14:28

First of I believe NEthereum is a really great library. Thanks Juan Blanco. Secondly, i'm wondering if there's a standard doc that explains the library in depth. Ive gone over the tutorials for .NET web. But i still don't understand what this does

Why does this enum "UnitConversion.EthUnit.Ether" return 17 rather than 18. I want to use it in converting wei to ether

JEN
@chukwuemekanweke
Jan 11 2018 14:41
Sorry. Now i understand what that line actually does. thanks Juan Blanco
Juan Blanco
@juanfranblanco
Jan 11 2018 16:02
@chukwuemekanweke cool and thanks :)
Mariano Conti
@nanexcool
Jan 11 2018 17:44
Hey @juanfranblanco Unity now has support for .NET 4.6, would Nethereum work with it? And have you tried it?
Juan Blanco
@juanfranblanco
Jan 11 2018 18:19
Nethereum was originally tested on early versions of Unity3d support for .Net 4.6
pre release
so it does work out of the box
BUT when working with webgl, iOS etc the http and threading did not work, hence the need to support UnityRequest and lower versions 3.51
so if you are only interested in Windows Desktop, Mono, Hololens you can use Nethereum standard
if you want to target more platforms you need to use the special Unity libraries
@nanexcool
Mariano Conti
@nanexcool
Jan 11 2018 18:30
@juanfranblanco yeah, mostly interested in Windows...
So in this case I could just import Nethereum.Portable?
Juan Blanco
@juanfranblanco
Jan 11 2018 18:30
yep or Nethereum.Web3
which brings the rest
and you can use async too :)
Mariano Conti
@nanexcool
Jan 11 2018 18:31
Yeah, that's my main goal here :P
Will try to do that now, thanks!
Juan Blanco
@juanfranblanco
Jan 11 2018 18:32
well mainly is vanilla Nethereum so pretty easy
Mariano Conti
@nanexcool
Jan 11 2018 18:32
(I haven't used C# in so long)
Juan Blanco
@juanfranblanco
Jan 11 2018 18:33
oh well then better this way, the whole coroutines, yields and enumerators are a bit of a pain
but hey publishing to webgl is pretty awesome (so not complaining)
Mariano Conti
@nanexcool
Jan 11 2018 18:34
I'm doing some tests with the Oculus, that's why I'm mainly interested in Windows
Juan Blanco
@juanfranblanco
Jan 11 2018 18:34
Nice!
Do need to test that in the Gear Pro
Mariano Conti
@nanexcool
Jan 11 2018 18:36
So many cool things can be done with this
Juan Blanco
@juanfranblanco
Jan 11 2018 18:37
ha ha yes
Mariano Conti
@nanexcool
Jan 11 2018 18:39
Crap, ok sorry to bother with this, but it's really been a while... I downloaded Nethereum 2.2.2... I open the solution in VS 2017. I see projects and src. I should go to src/Nethereum.Web3 and build that one right?
Juan Blanco
@juanfranblanco
Jan 11 2018 18:40
Yes, from there you get the dlls
or you could get the nuget
Mariano Conti
@nanexcool
Jan 11 2018 18:41
All the DLLs are in Nethereum-2.2.2\src\Nethereum.Web3\bin\Release\net451
Juan Blanco
@juanfranblanco
Jan 11 2018 18:41
yep
Mariano Conti
@nanexcool
Jan 11 2018 18:41
Cool, thanks so much
Juan Blanco
@juanfranblanco
Jan 11 2018 18:41
use those
I do need to check if nugets are now supported in unity
Mariano Conti
@nanexcool
Jan 11 2018 18:43
Where you from by the way?
Juan Blanco
@juanfranblanco
Jan 11 2018 18:44
well originally spain (madrid) but I have been living in the UK (Newcastle) for 20 years
I guess you are from Argentina ;)
Mariano Conti
@nanexcool
Jan 11 2018 18:44
Yup :)
Maximilian Weber MWC
@CineTekDev_twitter
Jan 11 2018 19:07
one "hypothetical" question.... if your contract fills up most of the current block size limit then the chance to get mined at all is significantly low am I correct...? :worried:
Mariano Conti
@nanexcool
Jan 11 2018 19:14
I had to add Mono's System.Numerics manually when using 4.6, but I have it working! Also I need to connect to a local node for now, because Infura's is giving me a security error
TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (System.IAsyncResult asyncResult) (at <eb1224ae7b184cd09343d47f8a05481b>:0)