These are chat archives for Nethereum/Nethereum

21st
Sep 2018
Kayne Ruse
@Ratstail91
Sep 21 2018 00:49 UTC
Hey room, I've imported the DLLs into an empty unity project, but when I try 'using Nethereum' I get this: Assets/Scripts/EthereumManager.cs(5,7): error CS0246: The type or namespace name `Nethereum' could not be found. Are you missing an assembly reference?
Kayne Ruse
@Ratstail91
Sep 21 2018 00:56 UTC
Ah! I solved it. I needed to use the 4.x scripting backend. I forgot that when I recreated this project.
Juan Blanco
@juanfranblanco
Sep 21 2018 08:08 UTC
@twilightpunkster yes this is the place, and cool :D
@Genzafel_twitter hi, what is the authentication method?
@Ratstail91 nice you are sorted
Christ0ff
@Christ0ff
Sep 21 2018 12:46 UTC
Hello, can somebody help me with two topics? I have demo in the afternoon, but I'm blocked by those :( Nethereum/Nethereum#425 and Nethereum/Nethereum#426
Juan Blanco
@juanfranblanco
Sep 21 2018 13:11 UTC
@Christ0ff for events check this
passing an object to be deserialised wont work
also it will be much easier if you just code generate your messages and service to get started quickly
or follow this sample
to code generate do the following
Juan Blanco
@juanfranblanco
Sep 21 2018 13:17 UTC
NewCodeGenerator.gif
Juan Blanco
@juanfranblanco
Sep 21 2018 13:24 UTC
@Christ0ff triple checking the first issue with the TransactionReceipt is due to and old ganache formatting trufflesuite/ganache-core#73
that fixed that issue.. have you got the latest?
Agente del Caos
@Genzafel_twitter
Sep 21 2018 16:14 UTC

@juanfranblanco Hi, Im using this in my code

var byteArray = System.Text.Encoding.ASCII.GetBytes("0xADRESS:PASSWORD");
AuthenticationHeaderValue autenticacion = new AuthenticationHeaderValue("Basic", Convert.ToBase64String(byteArray));
var client = new RpcClient(new Uri("ethereum-rpc-endpoint_URL"), autenticacion);