These are chat archives for Nethereum/Nethereum

27th
Mar 2017
Juan Blanco
@juanfranblanco
Mar 27 2017 05:05
@evo01 yes I am working on it
but also be aware of ewasm
that is coming next
once I release 2.0 that is coming next on my core todo list and devp2p
Adria Massanet
@adriamb
Mar 27 2017 09:41
Hi! I'm trying to use the library with .net core / vscode / osx and I cannot install it...
bash-3.2$ dotnet add libchainstamp  package Nethereum.Portable
Microsoft (R) Build Engine version 15.1.548.43366
Copyright (C) Microsoft Corporation. All rights reserved.

  Writing /var/folders/4q/brgphq7s7t38nwy9_qkmtm7m0000gn/T/tmpdf9NeF.tmp
info : Adding PackageReference for package 'Nethereum.Portable' into project '/Users/amb/Feina/vid/v
idchain/libchainstamp/libchainstamp.csproj'.
log  : Restoring packages for /Users/amb/Feina/vid/vidchain/libchainstamp/libchainstamp.csproj...
info :   GET https://api.nuget.org/v3-flatcontainer/nethereum.portable/index.json
info :   OK https://api.nuget.org/v3-flatcontainer/nethereum.portable/index.json 199ms
info :   GET https://api.nuget.org/v3-flatcontainer/nethereum.portable/1.0.6/nethereum.portable.1.0.
6.nupkg
info :   OK https://api.nuget.org/v3-flatcontainer/nethereum.portable/1.0.6/nethereum.portable.1.0.6
.nupkg 762ms
log  : Installing Nethereum.Portable 1.0.6.
error: Package Nethereum.Portable 1.0.6 is not compatible with netstandard1.4 (.NETStandard,Version=
v1.4). Package Nethereum.Portable 1.0.6 supports: portable45-net45+win8+wpa81 (.NETPortable,Version=
v4.5,Profile=Profile111)
error: One or more packages are incompatible with .NETStandard,Version=v1.4.
error: Package 'Nethereum.Portable' is incompatible with 'all' frameworks in project '/Users/amb/Fei
na/vid/vidchain/libchainstamp/libchainstamp.csproj'.
Package Nethereum.Portable 1.0.6 is not compatible with netstandard1.4
Juan Blanco
@juanfranblanco
Mar 27 2017 09:43
Portable is based on profile 111 which is compatible with netstandard1.1
try using Nethereum.Web3
Adria Massanet
@adriamb
Mar 27 2017 09:48
oops! no luck!
log  : Installing EdjCase.JsonRpc.Client 1.1.0.
log  : Installing Nethereum.JsonRpc.Client 1.0.6.
log  : Installing Portable.BouncyCastle 1.8.1.
log  : Installing Nethereum.Web3 1.0.6.
log  : Installing Nethereum.ABI 1.0.6.
log  : Installing Nethereum.Hex 1.0.6.
log  : Installing Nethereum.RPC 1.0.6.
error: Package Portable.BouncyCastle 1.8.1 is not compatible with netstandard1.4 (.NETStandard,Version=v1.4). Package Po
rtable.BouncyCastle 1.8.1 supports:
error:   - dotnet (.NETPlatform,Version=v5.0)
error:   - monoandroid (MonoAndroid,Version=v0.0)
error:   - monotouch (MonoTouch,Version=v0.0)
error:   - net45 (.NETFramework,Version=v4.5)
error:   - net46 (.NETFramework,Version=v4.6)
error:   - portable-monoandroid10+monotouch10+net40+sl5+win8+wp8+wpa81+xamarinios10+xamarinmac20 (.NETPortable,Version=v
0.0,Profile=net4+sl5+wp8+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10)
error:   - portable-monoandroid10+monotouch10+net45+win8+wpa81+xamarinios10+xamarinmac20 (.NETPortable,Version=v0.0,Prof
ile=net45+win8+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10)
error:   - uap10.0 (UAP,Version=v10.0)
error:   - win8 (Windows,Version=v8.0)
error:   - wpa81 (WindowsPhoneApp,Version=v8.1)
error:   - xamarinios (Xamarin.iOS,Version=v0.0)
error:   - xamarinmac (Xamarin.Mac,Version=v0.0)
error: One or more packages are incompatible with .NETStandard,Version=v1.4.
error: Package 'Nethereum.Web3' is incompatible with 'all' frameworks in project '/Users/amb/Feina/vid/vidchain/libchain
stamp/libchainstamp.csproj'.
Package Portable.BouncyCastle 1.8.1 is not compatible with netstandard1.4 (.NETStandard,Version=v1.4). Package Po rtable.BouncyCastle 1.8.1
Juan Blanco
@juanfranblanco
Mar 27 2017 09:55
ah
can you add first
BouncyCastle 1.8.1.1
Portabale.BouncyCastle
Adria Massanet
@adriamb
Mar 27 2017 10:01
Ok! Thanks Juan!
Evobolics Digital, LLC
@evo01
Mar 27 2017 15:29
Thanks for the web assembly design, I am willing to help out with that to when the time comes. Juan, in your reply you mentioned DevP2P, what is that?
Juan Blanco
@juanfranblanco
Mar 27 2017 15:34
that is the transport for Ethereum
yes I was postponing evm until ewasm
but i think i will complete it as it will take time to materialise also
Evobolics Digital, LLC
@evo01
Mar 27 2017 15:34
Thanks, still learning all the terminology.
do you have a link to the DevP2P?
check the yellow paper too
Evobolics Digital, LLC
@evo01
Mar 27 2017 15:36
Thanks Juan!
Juan Blanco
@juanfranblanco
Mar 27 2017 15:37
Adria Massanet
@adriamb
Mar 27 2017 15:43
All worked like a charm @juanfranblanco , thanks for your support!
Working code in .net core on osx
Evobolics Digital, LLC
@evo01
Mar 27 2017 16:35
Juan, I am trying to follow your article at:
I am getting the following error when I run the following command:
geth --rpc --networkid=39318 --maxpeers=0 --datadir=devChain --genesis dev_genesis.json console
Incorrect Usage. flag provided but not defined: -genesis
Did the flags change?
Juan Blanco
@juanfranblanco
Mar 27 2017 16:37
oh yes have a look at the testchain folder
and use the batch file
you beat me to it
Juan Blanco
@juanfranblanco
Mar 27 2017 16:38
lol
Evobolics Digital, LLC
@evo01
Mar 27 2017 16:38
:)
Juan Blanco
@juanfranblanco
Mar 27 2017 16:38
the batch file does 3 things
first part resets your chain so you can run tests
second sets your genesis
last runs geth with everything open
Evobolics Digital, LLC
@evo01
Mar 27 2017 16:40
nice, ok, let me see if I can get that running
Juan Blanco
@juanfranblanco
Mar 27 2017 16:40
if you download that testchain
you have the accounts already created
initialised with ether
check the accounts password and private key on the text file
also if you fancy check the introduction video
Evobolics Digital, LLC
@evo01
Mar 27 2017 17:01
ok, I think i got that running
Juan Blanco
@juanfranblanco
Mar 27 2017 18:51
excellent
Evobolics Digital, LLC
@evo01
Mar 27 2017 20:49
What is the best way to estimate the cost of a) submitting a contract onto the block chain, and b) estimating the cost of running a contract on the block chain
I am sure I am missing some trivial way of finding this out...
Evobolics Digital, LLC
@evo01
Mar 27 2017 21:00
Fyi, I have read the yellow paper, but looking for a way to submit a contract and get back the price