These are chat archives for Nethereum/Nethereum

15th
Feb 2018
Juan Blanco
@juanfranblanco
Feb 15 2018 07:47
if you combine earliest and Latest
you won't get any results
as it is too big the range
She Jong Shon
@kkagill
Feb 15 2018 12:55
image.png
@juanfranblanco Huan, I'm trying to add a manual user interface to send a transaction other than using parity, mist or metamask. Is there any security concerns doing this?
Juan Blanco
@juanfranblanco
Feb 15 2018 12:56
same security concerns as all of the other options you mentioned
She Jong Shon
@kkagill
Feb 15 2018 12:56
oh so same thing
Juan Blanco
@juanfranblanco
Feb 15 2018 12:57
parity / geth if you are using the keystore mechanism
uses the same standard
for encryption / storage
metamask is different
She Jong Shon
@kkagill
Feb 15 2018 12:58
right except for mist ethereum wallet i guess
Juan Blanco
@juanfranblanco
Feb 15 2018 12:58
but still uses an encrypted layer
oh mist is the same
She Jong Shon
@kkagill
Feb 15 2018 12:58
ok
Juan Blanco
@juanfranblanco
Feb 15 2018 12:59
mist connects to geth / parity
She Jong Shon
@kkagill
Feb 15 2018 12:59
i'm just a little concerned becacuse I read keystore file from frontend and send json to server
but hopefully ssl would solve that part
Juan Blanco
@juanfranblanco
Feb 15 2018 13:00
hmm so you are asking users to
give you their private keys
She Jong Shon
@kkagill
Feb 15 2018 13:00
correct
Juan Blanco
@juanfranblanco
Feb 15 2018 13:01
hmmm
She Jong Shon
@kkagill
Feb 15 2018 13:01
right?
i just wanted to give them another easy option to handle that
Juan Blanco
@juanfranblanco
Feb 15 2018 13:01
no you should not touch the private keys
She Jong Shon
@kkagill
Feb 15 2018 13:01
ok
Juan Blanco
@juanfranblanco
Feb 15 2018 13:01
ever :)
well that is my opinion
She Jong Shon
@kkagill
Feb 15 2018 13:02
so i'd say good bye to these codes for sending json to server
var key = keyStore.DecryptKeyStoreFromJson(ds.Password, ds.Json);
var account = new Nethereum.Web3.Accounts.Account(new EthECKey(key, true));
Juan Blanco
@juanfranblanco
Feb 15 2018 13:02
your client can read
the file and sign the transaction
your server does not need to know the private keys
so in simpler terms
--> user opens key store file
--> user decrypts key store file with password
--> user (using the client ui) signs transaction (enough information is provided to user to verify what they are signing
-> client sends signed transaction to public node or to your server if you fancy to relay the transaction to an internal
node (private chain)
She Jong Shon
@kkagill
Feb 15 2018 13:05
got your point
but i'm using angular as my frontend framework so should be done using web3 javascript
not nethereum
Juan Blanco
@juanfranblanco
Feb 15 2018 13:06
oh yes sure
if you are creating a mobile application in xamarin for example
then nethereum is your friend in that scenario
or desktop
She Jong Shon
@kkagill
Feb 15 2018 13:07
correct
Juan Blanco
@juanfranblanco
Feb 15 2018 13:07
or game (unity)
She Jong Shon
@kkagill
Feb 15 2018 13:07
which makes me sad in this case :(
Juan Blanco
@juanfranblanco
Feb 15 2018 13:07
or.. eventually wasm :)
but in the wasm scenario metamask will be the best option to handle your private keys
OH
there are backend / cloud scenarios
ie.. if you are running an oracle
or a backend service that needs to send and sign transactions
She Jong Shon
@kkagill
Feb 15 2018 13:09
yeah thanks juan im just whining because i wanted to use nethereum in all scenarios
Juan Blanco
@juanfranblanco
Feb 15 2018 13:13
ha ha yes, I think as things like Blazor advance you will be able to https://blogs.msdn.microsoft.com/webdev/2018/02/06/blazor-experimental-project/
but i think it will be even better to have xamarin.forms in wasm
so you can build once and really deploy everywhere
She Jong Shon
@kkagill
Feb 15 2018 13:15
oh man blazor
hopefully this would become the mainstream
so i can use nethereum in all cases
lul
Juan Blanco
@juanfranblanco
Feb 15 2018 13:17
yeah, obviously not just for Nethereum but every .net app :)
She Jong Shon
@kkagill
Feb 15 2018 13:18
awesome no more javascript hell!
Juan Blanco
@juanfranblanco
Feb 15 2018 13:22
ha ha yes it has become a bit of a nightmare on the javascript front, but yes having the option of having an agnostic layer compiling to native in each platform will be fantastic. It will be interesting to see if UrhoSharp will compile also to wasm and provide rich 3d capability or if will be an interoperability between xamarin.forms and unity (better than the current renderers they have created on top of the ui elements)
She Jong Shon
@kkagill
Feb 15 2018 13:29
yeah i'm really looking forward to seeing the growth of wasm and its domination
Greatsamps
@Greatsamps
Feb 15 2018 14:50
Hi, am doing some work with the BlockChain storage project. I wondered if someone could explain what exactly an 'AddressTransaction' is, and how it differs from a standard Transaction? I tried looking at the Geth github, but was not able to find any reference to this...
Juan Blanco
@juanfranblanco
Feb 15 2018 16:19
That is mainly a way to indexing
Greatsamps
@Greatsamps
Feb 15 2018 16:24
ok, so other than for indexing, it can be disregarded ?
Juan Blanco
@juanfranblanco
Feb 15 2018 17:30
Well depends on your needs
When we create all the different adapters for other repositories, we may not include them on those.
doreegekku
@doreegekku
Feb 15 2018 23:28
@juanfranblanco New issue popped up. After trying larger BigInteger values as part of transactions, I see that it's not always accurate when I pull it back down from the block chain. For example, 8543 becomes 8574, but 5000 stays as 5000 and 10000 stays as 10000, Not sure if the hex string I'm getting back is wrong, or the BigInteger -> 256 conversion is going wrong on the way out, but it seems to be consistent, and I've pretty thoroughly tested that it's not the decoding of the hex string I'm getting back.