These are chat archives for
Sign in to start talking
Ethereum RPC Client Library in .Net C#
Andres G. Aragoneses
Mar 13 2018 05:14
etherscan is implemented in VB.NET? my fucking god
you gotta be kidding me :laughing:
Mar 13 2018 05:51
Do you even know what you're talking about
Not only is etherscan mentioned no where, but anything in the world that is coded in C# can be coded in VB.NET
Mar 13 2018 06:24
a bit of confusion here, the comment of
is a response for a conversation before
but yeah everyone can chose whatever they fancy
and I have just actually noticed that your code is Vb.Net
I thought Nothing was a new keyword I missed :)
if it wasn't for the Dim and no semicolons
back to topic
there is a default instance created by default in the background of the nonce provider
if you keep the same web3client in memory that nonce provider should keep the track of your nonces
Mar 13 2018 06:29
so in a multi-threaded environment you should be safe
another option as per the examples is that you may want to have multiple instances of web3 but one nonce provider
then you assign that to the account
Mar 13 2018 07:11
WOW. That's the issue!
I am declaring the web3client EACH time I call the TransferAsync function in my code.
I guess I'll declare it at the start of the app process and then leave it open the entire time.
So if I declare one web3 client and then open say 100 threads, theoretically I could send 100 transactions at a time? Is there a recommended max amount of transactions sent at a time?
Mar 13 2018 07:22
I moved the web3client declaration outside of the thread and now literally zero of the transactions are going through.
Mar 13 2018 07:56
what are you testing with?
the nonce it is really a safe thread counter
what it does it checks your pending transactions and the count of your transactions
but it keeps an internal count as transactions might not be part of the queue already (they are also being processed)
i have tested it with 1000 transactions
but that is my local environment
Mar 13 2018 08:02
I sent through 26 transactions but only 16 of them ended up going through.
The first 16 went through, but it only showed between 1-3 at a time before moving onto the next set.
Do you know if this this how infura queue's?
Wow, some more are going through now, but it's been over 10 minutes since I sent the first one.
Mar 13 2018 08:08
I sent all of these transactions within seconds of each other, but they all completed minutes apart.
Mar 13 2018 08:21
Hi,Could you please suggest an authentication method to be used for WepApp (provided as webservices ) interacting with Azure Ethereum consortium using Nethereum?
Andres G. Aragoneses
Mar 13 2018 08:26
yeah, anything written in C# can also be programmed in BrainFuck as well :laughing:
I'm sure $deity allows me to bash VB.NET because I spent many years fighting it in a previous life :sweat_smile:
Mar 13 2018 09:15
yes, there are so many transactions that can pushed at the same time
as long as they are in the right order (nonce)
depends, by in very simple terms Azure Active Directory?
it can get more interesting and decentralised
but i don't think that is what you are looking for at the moment
Mar 13 2018 09:43
Thanks for your response.Its regarding the authentication of DApp,I was asking
Mar 13 2018 11:52
webservices is interacting with the private blockchain.How to go about with authentication while hitting the webservices? Could you please provide your suggestions
Mar 13 2018 14:20
since you are hitting a web service you might use normal authentication
but if you are looking at it as a decentralised identity
you may use the users address (etthereum) for authentication
so it mainly depends on your architecture and needs
Mar 13 2018 14:21