These are chat archives for Nethereum/Nethereum

8th
Mar 2018
Andres G. Aragoneses
@knocte
Mar 08 2018 04:45
@juanfranblanco I guess you meant "EstimateGasAsync", however that's for when using contract.GetFunction("transfer"), but I was using Nethereum.StandardTokenEIP20.ContractMessage already
any way to do it using this lib instead? or I go back to the more "raw" way?
mmm, there's no Estimate method in StandardTokenService class
@juanfranblanco did you mean "contractHandler" instead of "commandHandler"?
Andres G. Aragoneses
@knocte
Mar 08 2018 05:00
still contract handler doesn't have EstimateAsync
Juan Blanco
@juanfranblanco
Mar 08 2018 05:23
sorry it is a protected method
where is my brain sometimes
but i see your point
Juan Blanco
@juanfranblanco
Mar 08 2018 05:32
pushed to TransactionHandler and DeploymentHandler just now
I am code generating these, hence I guess got confused
Dongbumlee
@Dongbumlee
Mar 08 2018 05:49
Hi @juanfranblanco, Is there any "simple" way to decode input value from Transaction?
Andres G. Aragoneses
@knocte
Mar 08 2018 05:56
pushed what? I don't see any commit :)
Juan Blanco
@juanfranblanco
Mar 08 2018 06:01
maybe because i have committed locally and not pushed :D
i like your wallet in FSharp
Andres G. Aragoneses
@knocte
Mar 08 2018 06:01
thanks! :D
Juan Blanco
@juanfranblanco
Mar 08 2018 06:01
that is ultra cool
Andres G. Aragoneses
@knocte
Mar 08 2018 06:02
am adding DAI support now
next: Raiden
Juan Blanco
@juanfranblanco
Mar 08 2018 06:09
nice!
Andres G. Aragoneses
@knocte
Mar 08 2018 06:12
I started the project because I hated MyEtherWallet :laughing:
Juan Blanco
@juanfranblanco
Mar 08 2018 06:18
yes that is no good
at all
Nethreum will eventually have a Wallet, but more geared to create your own Dapp
so not multi coin (ie Bitcoin)
Juan Blanco
@juanfranblanco
Mar 08 2018 06:25
Raiden is on my list, I am planning to do just the client
also i do love the Anti-roadmap :D :D
Andres G. Aragoneses
@knocte
Mar 08 2018 08:21
the antiroadmap needs an update (i.e. bcash :sweat_smile: )
@juanfranblanco wrt Raiden, maybe we should not try to duplicate efforts! how about you work on devp2p first :)
Juan Blanco
@juanfranblanco
Mar 08 2018 09:01
ha ha yeah in the roadmap too, i just get very excited about micropayments :D
Juan Blanco
@juanfranblanco
Mar 08 2018 09:09
but raiden connectivity is a low hanging fruit
as opposed to devp2p that the roadmap is changing
to libp2p
Andres G. Aragoneses
@knocte
Mar 08 2018 09:17
then if we're going to definitely work on the same thing at the same time we should maybe create a new NRaiden repo in github.com/nethereum/ and start committing there
can I convince you to code F#? :D
Juan Blanco
@juanfranblanco
Mar 08 2018 09:21
i will be so slow in F#
Andres G. Aragoneses
@knocte
Mar 08 2018 09:47
the other way around! no need to check for null, no need to write so many braces and parenthesis :smile:
Andres G. Aragoneses
@knocte
Mar 08 2018 10:05
(and no need to fix race conditions ;) )
Juan Blanco
@juanfranblanco
Mar 08 2018 10:19
ha ha yeah
Andres G. Aragoneses
@knocte
Mar 08 2018 10:29
there's not much more to it really
BTW some time ago I wrote this for my teammates: https://github.com/knocte/csharp2fsharp
Juan Blanco
@juanfranblanco
Mar 08 2018 11:13
that is an awesome tutorial
Juan Blanco
@juanfranblanco
Mar 08 2018 11:39
ok why not, still i will be slower as every time i do something in F# i'm far much slower than C#
Rob Aboud
@RobAboud
Mar 08 2018 12:52

I'm seeing the use of HexBigInteger a lot for these asynchronous methods, for instance :

var receipt = await web3.Eth.DeployContract.SendRequestAndWaitForReceiptAsync(abi, contractByteCode, senderAddress, new HexBigInteger(900000), null);

What is the purpose of it here when deploying a contract?

if you look at this block, you can see 14 transactions, and 7 contract internal transactions
i am guessing that these internal ones are faucet transactions and don't need to be considered most the time on the MainNet?
if not, then how can i retreive them via Neth...