These are chat archives for Nethereum/Nethereum

9th
Mar 2018
slqcyy
@slqcyy
Mar 09 2018 02:36
Hi @juanfranblanco ,How can I distinguish between contract transactions and ordinary transactions?How can I confirm if the transaction is successful´╝č
Andres G. Aragoneses
@knocte
Mar 09 2018 05:39
@juanfranblanco todo es ponerse :)
jyothishqburst
@jyothishqburst
Mar 09 2018 05:40
I'm trying to capture events from ethereum smart contract deployed on Ropsten.
Fortunatley there are no errors showing but no events getting into the app where we call GetFilterChanges()
See my code snippet given below
 ManagedAccount account = new ManagedAccount(_senderAccountAddress, _senderAccountPassword);
            var managedWeb3 = new Web3(account, _ethereumNodeVhostAddress);

            var contract = managedWeb3.Eth.GetContract(_contractAbi, _contractAddress);


            var commercialLiceneBlackListStatusChangedEvent = contract.GetEvent("CommercialLiceneBlackListStatusChanged");
            var filterAllContract = await contract.CreateFilterAsync();
            var filterAll = await commercialLiceneBlackListStatusChangedEvent.CreateFilterAsync();
            var logsAll = await managedWeb3.Eth.Filters.GetFilterChangesForEthNewFilter.SendRequestAsync(filterAllContract);
            var log = await commercialLiceneBlackListStatusChangedEvent.GetFilterChanges<LicenceBlacklistStatusChangedEventDTO>(filterAll);
These code are running in polling way. Both LogsAll and log is getting 0 counts
Juan Blanco
@juanfranblanco
Mar 09 2018 07:01
@slqcyy you can check the TransactionReceipt status
and if it is a contract, GetCode will return you some data
@knocte yes apart from slowing down, I thought about maintainability. But yes, it is not a problem, I think it will be good.
Also it will drive also the code generation for F#
Veikko Eeva
@veikkoeeva
Mar 09 2018 07:03
Man, I'm late with this (fell into influenza and other things), but since lurking here, Blazor has a .NET new template now.
VSIX is likely to follow this or next week.
@juanfranblanco In case you haven't heard the news yet. :)
Juan Blanco
@juanfranblanco
Mar 09 2018 07:04
Thanks :)
Veikko Eeva
@veikkoeeva
Mar 09 2018 07:05
It's coming along really fast and mustering contributors too. SignalR etc. likely will be added soon too.
Juan Blanco
@juanfranblanco
Mar 09 2018 07:06
oh awesome, really excited
let me try the latest, there you go side tracked again
Veikko Eeva
@veikkoeeva
Mar 09 2018 07:06
Yeah!
Juan Blanco
@juanfranblanco
Mar 09 2018 07:08
Let's see it I can get it to work with Nethereum this time
Veikko Eeva
@veikkoeeva
Mar 09 2018 07:09
@juanfranblanco You mean Blazor? If so, the templates link is at https://gitter.im/aspnet/Blazor?at=5aa0db8a458cbde5570c3db7 .
I could've given the MyGet link too, but maybe other discussion is useful too. There isn't that much in the channel yet.
Juan Blanco
@juanfranblanco
Mar 09 2018 07:10
oh a couple of weeks back, I tried to link the nethereum libraries just to do a simple test, but at the time there was still issues with compilation and specific types
"link / reference" so they could be loaded by the runtime in wasm
Veikko Eeva
@veikkoeeva
Mar 09 2018 07:11
That's not even bleeding edge -- someone should make a term for going beyond that. :P
Juan Blanco
@juanfranblanco
Mar 09 2018 07:13
ha ha they are the ultra bleeding edge, I was just tinkering
Veikko Eeva
@veikkoeeva
Mar 09 2018 07:15
:D
Juan Blanco
@juanfranblanco
Mar 09 2018 07:32
dotnet new -i  Microsoft.AspNetCore.Blazor.Templates::0.1.0-preview1-10071 --nuget-source https://dotnet.myget.org/F/blazor-dev/api/v3/index.json
if anybody interested
hhs18
@hhs18
Mar 09 2018 09:24
Hi @juanfranblanco , i have try with EthereumMessageSignerTests but still no luck in verify the message sign at MyEtherwallet with Trezor. MyEtherwallet sign message version 3
Juan Blanco
@juanfranblanco
Mar 09 2018 09:46
what is your message and your signature
TheRiseOf
@TheRiseOf
Mar 09 2018 12:33
Good Morning All. Firstly, thank you for the awesome plugin!
I am currently starting to work with Unitys Web GL- Do you have your unity project folder from the Flappy example somewhere? Most of my questions have been answered by looking around but some things are hard to see in the built version
Juan Blanco
@juanfranblanco
Mar 09 2018 15:02
image.png
@veikkoeeva @knocte :D
@TheRiseOf
combine the two and the flappy general sample
Veikko Eeva
@veikkoeeva
Mar 09 2018 16:10
@juanfranblanco Well, that escalated quickly with Blazor. :P
Juan Blanco
@juanfranblanco
Mar 09 2018 16:27
50% there, issues with elliptic curve but I guess that wont be necessary if connected to metamask
it will be great now to load the assembly directly from ipfs :)
TheRiseOf
@TheRiseOf
Mar 09 2018 16:56
Thanks!