These are chat archives for Nethereum/Nethereum

1st
Mar 2018
Rickard Öh
@kalasp_twitter
Mar 01 2018 07:59 UTC
Hi! Im having trouble when getting the receipt from a transaction. Im using Ganache lastest version and Nethereum.Portable (2.2.2) with ASP.NET Core application. System.Exception: Unable to convert the result to type Nethereum.RPC.Eth.DTOs.TransactionReceipt ---> System.InvalidCastException: Unable to cast object of type 'System.Int64' to type 'System.String'. Full stack trace:
Spas Vutov
@Vutov
Mar 01 2018 10:53 UTC
@kalasp_twitter Ganache-Cli returns in the receipt "Status" : 1 , the serializing used by Nethereum is (string) obj resulting in the error. I referenced the source and changed it to obj.ToString() and had no problems. Once I moved to Infura returned the Nugget.
Andres G. Aragoneses
@knocte
Mar 01 2018 10:54 UTC
what's the code generation thing? looks tasty but I'm sure it will not work on restrictive OSs such as iOS...
abhishek
@triston_abhi_twitter
Mar 01 2018 11:39 UTC
Hello @juanfranblanco
I can generate new address from
var ecKey = Nethereum.Signer.EthECKey.GenerateKey();
But any way that I can use "Passphrase" to generate multiple address?
jyothishqburst
@jyothishqburst
Mar 01 2018 12:45 UTC
Hi I'm trying to retrieve data from my contract using a CallAsync method from NEthereum. Unfortunately I have multiple output parameters. So how can i receive those values in my C#
Any sample link would be much appreciated.
Spas Vutov
@Vutov
Mar 01 2018 12:50 UTC
@jyothishqburst I think this could help you https://nethereum.readthedocs.io/en/latest/contracts/functiondtos/.
Rickard Öh
@kalasp_twitter
Mar 01 2018 12:53 UTC
@Vutov Oh ok Vutov. Ok, so the easiest way for me would be to have the nethereum source code in my project to be able to change it quickly?
Spas Vutov
@Vutov
Mar 01 2018 12:54 UTC
I could not find an other way to do it.
Rickard Öh
@kalasp_twitter
Mar 01 2018 12:55 UTC
@kalasp_twitter Ganache-Cli returns in the receipt "Status" : 1 , the serializing used by Nethereum is (string) obj resulting in the error. I referenced the source and changed it to obj.ToString() and had no problems. Once I moved to Infura returned the Nugget. @juanfranblanco is this the recommended way to be able to use Ganache with Nethereum?
Jonathan Sheely
@jsheely
Mar 01 2018 17:15 UTC
How would you go about getting the first block number when a contract was created. Given that you have the address for that contract.