These are chat archives for Nethereum/Nethereum

6th
Nov 2017
Raman
@RamanTBT_twitter
Nov 06 2017 10:31
Hi all
Juan Blanco
@juanfranblanco
Nov 06 2017 10:31
wazup
Raman
@RamanTBT_twitter
Nov 06 2017 10:31
I am a dot net developer
Juan Blanco
@juanfranblanco
Nov 06 2017 10:31
nice! :D
Raman
@RamanTBT_twitter
Nov 06 2017 10:32
and trying to use solidity
and facing an issue
Contract Payout created successfully at address error uploading contract
Contract can be accessed here: http://localhost:8000/contracts/Payout/error uploading contract.html (default password: testing)
any help regarding this
Juan Blanco
@juanfranblanco
Nov 06 2017 10:33
well i don't know what are you using
to deploy
i am just deploy an example
Juan Blanco
@juanfranblanco
Nov 06 2017 10:35
ah if you are using blockapps
cannot help you with that
Raman
@RamanTBT_twitter
Nov 06 2017 10:35
ok
Juan Blanco
@juanfranblanco
Nov 06 2017 10:35
i have not used that for a while
Raman
@RamanTBT_twitter
Nov 06 2017 10:36
thanks
for your response.
Juan Blanco
@juanfranblanco
Nov 06 2017 10:36
Raman
@RamanTBT_twitter
Nov 06 2017 10:40
actually my aim is to interact with smart contract in dot net with my website.
Juan Blanco
@juanfranblanco
Nov 06 2017 10:40
with a smartcontract in the public chain?
ie ethereum mainnet?
Raman
@RamanTBT_twitter
Nov 06 2017 10:42
currently the contract not deploayed on any chain.
Juan Blanco
@juanfranblanco
Nov 06 2017 10:42
ok try this
all any of the videos
Raman
@RamanTBT_twitter
Nov 06 2017 10:43
i want to know, what's the steps are required for this.
Juan Blanco
@juanfranblanco
Nov 06 2017 10:43
or* any of the videos to get started
run that workbook using xamarin workbooks
or watch the introduction video
check ther readme
or the docs
Raman
@RamanTBT_twitter
Nov 06 2017 10:45
please can you provide me any video links.
Juan Blanco
@juanfranblanco
Nov 06 2017 10:45
in the readme
Raman
@RamanTBT_twitter
Nov 06 2017 10:45
okay
Juan Blanco
@juanfranblanco
Nov 06 2017 10:45
and the docs
Raman
@RamanTBT_twitter
Nov 06 2017 10:45
ok let me check
and thanks again
the videos are a bit old
but you can use the workbook to complement it
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:11
This might be dumb question, but what could be the most practical way for n parties to broadcast some data to interested parties using Ethereum if we can have an aggregator that collects the sources? Would these n parties write a smart contract and sign into a an aggregator contract? I'm looking into Whisper and Swarm too, but I think this is solved somewhow plenty of times already. :)
Juan Blanco
@juanfranblanco
Nov 06 2017 12:12
i was going to say whisper
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:12
The messages could be like chat messages or files (so IPFS and FileCoin could work too and then updating the file, but that requires pinning the URL etc.).
Juan Blanco
@juanfranblanco
Nov 06 2017 12:13
depends on the cost really
storage etc
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:14
@juanfranblanco I'm wondering the cost, isn't Whisper on the more expanesive edge? I've to dig into that. I'd need to come up with a concrete example.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:15
well you could use whisper
if you use ethereum chain
events will be the best option
but still you will need a transaction
which includes the new "message"
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:16
Let's see... If we have n milk farms that update their production by hour so the milk drinkers know where to get their fix with the parameters they'd like.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:16
and of course the message could be stored in swarm / ipfs whatever
then it would not be very costly to have a smart contract with an event
it will be just the cost of the transaction
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:17
One option could be that the source registers its IPFS address to that aggregator contract, or better yet, and IPNS node, and updates this files with a time-stamp and then everyone can scan those files.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:17
and small gas
yes same thing
but you need listen to changes
obviously it will not be broadcasted
but pull from the events
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:19
Ah, yes, events. Or the "update file" could tell the latest update timestamp and expected update interval. That and additionally it could broadcast changes.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:20
yes mainly that
the ipfs, ipns etc is just part of the decentralised aspect
could be an url or whatever
swarm etc
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:22
Doesn't look to daft then what I'm thinking. Indeed, making it low-cost and robust are the things here, and then making new information public. Ah, here's something to think about in general. Can one update the data several times between block time or should everyone see the updates when the blocks are broadcasted. One thing to think about it.
And what if one would want to check if there's really new milk in the network. Someone reliable needs to sign the updates.
And what if the drinkers would like to broadcast their consumption towards producers? Hmm.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:24
i am lost with the anology of milk btw
but in a buy and sell scenario
if a new shop appears
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:25
Sounds like the same.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:26
lets put it an insurance example
trying to put an anology on something simpler
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:26
Or maybe something like movable wind generators and electricity using cars. Won't make sense in real life, but could describe it also.
Or maybe I'm generalizing too mcuh.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:27
ok sure
but it is the same as new insurance provider that is trusted
you can have many
so you register a new one in the system
this can be stored in the smart contract
can have many
and verified by many parties
by validating it is a legimatable insurance provider
through their reputation
all the terms of the insurance (not business logic) point at the message
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:29
It sounds like so. In this wind generator thing it's not enough if someone says some electricty has been generated, it needs to be assured somehow. Then there are the consumers that can broadcast their demand. This reputation is the difficult part, naturally. It requires likely out-of-chain information.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:30
well you can have the reputation on chain (people know who already the signers)
and addresses
or on chain
they can verify
by using the smart contract
or if you want to make it cheaper
the whatever information sent
can have the signatures that can be recovered
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:32
I'm all ears.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:32
but in that scenario you need to have a consensus of all the signers before submitting the info to the chain
but you can have a sidechain for that (plasma :) when it comes)
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:36
I think I dropped out now for the recoverable signatures. If I have a wind generator (or milk producer or shop offering goods) and I produce, say, milk, the collector can verify that I've actually produces the amount I've told when I updated the file containing the latest information (or in case of electricity, the network operator can verify but here we need to assume they're honest) and these guarantee the reputation.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:39
yes the only is who validates in case of dispute
if i have a wind farm saying that it can provide with x amount of electricity and later on it hasn't
if there is only 1 party vs producer who can prevent attacks on reputation
i guess it will be the usual number of reviews / attestations against the wind farmer
Juan Blanco
@juanfranblanco
Nov 06 2017 12:44
ah ok when you mean by an aggregator will be like a registry
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:45
Ah, yes. But it only came into my mind so that one could find the sources easily and then there this reputation thing.
Juan Blanco
@juanfranblanco
Nov 06 2017 12:50
oh yes :)
Veikko Eeva
@veikkoeeva
Nov 06 2017 12:54
Juan Blanco
@juanfranblanco
Nov 06 2017 13:36
well if you look at plasma is very similar to the flow
Veikko Eeva
@veikkoeeva
Nov 06 2017 13:45
Thumbs up for this. I'm sure to check.
Juan Blanco
@juanfranblanco
Nov 06 2017 13:45
:)