raiden-network / hackathons

2 stars 0 forks source link

Integrate Raiden with your IoT or hardware use case #2

Closed franzihei closed 5 years ago

franzihei commented 5 years ago

Prize Title

Best IoT or hardware use case built using the Raiden API

Prize Bounty

Total bounty size: 2,000 USD worth of RDN (at the time of creating the Gitcoin bounty)

We will reward the two best IoT or hardware use cases built using the Raiden API with 1,000 USD worth of RDN (at the time of creating the Gitcoin bounty) each.

Challenge Description

Raiden aims to make payments for dApps easy by enabling fast and cheap off-chain transfers. Raiden is especially useful for micro payments or all kinds of streaming, paywall or IoT payments.

As part of the Gitcoin Beyond Blockchain hackathon, build an IoT or hardware use case which makes use of the Raiden API for (micro-)payments or token transfers.

Examples

Submission Requirements

Submission Deadline

July 10th 2019

Judging Criteria

  1. Quality of the technical implementation
  2. Soundness of the use case

Winner Announcement Date

July 15th 2019

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 4937.0 RDN attached to it as part of the raiden-network fund.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Cancelled


Work has been started.

These users each claimed they can complete the work by 1 week from now. Please review their action plans below:

1) nance2uiuc has started work.

I will make a submission that demonstrates Raiden's power to reduce the hurdle for the user in using decentralized apps.

Learn more on the Gitcoin Issue Details page.

cryptomental commented 5 years ago

While I did not succeed in finalizing the hacktathon the idea may be worth mentioning. While currently it is not possible, it may be possible in the future.

Zerynth

TL;DR

Zerynth is a IoT middleware that allows to program a wide range of microcontrollers connected to IoT cloud providers in Python. It enables that by replacing a standard microcontroller firmware with one capable of running virtual machines equipped with special Python interpreter. It already supports Ethereum transactions with a custom library. My idea was to integrate Raiden support into Zerynth using a thin layer client library to be able to use Raiden payment channels directly on microcontrollers using the current Raiden implementation and provide a simple example / use case added to the Zerynth-Raiden library that would demo its capabilities.

The main blocking problem appeared after I discovered that the Zerynth supports Python 3.5, Raiden requires Python 3.7, plus the Python supported by Zerynth is not a full CPython implementation, e.g. 'import sys' is not supported.

I tried to backport and compile Raiden into Zerynth anyway, but ended up in dependency hell and after a few evenings of experiments in the end was not able to complete the idea.

This may mean that while Raiden is ready for testing, Zerynth is not ready for Raiden yet. I believe that at some point it will and in the future the idea still may be still worth investigating and/or bounty ready.

A few references:

https://www.zerynth.com/blog/how-to-use-python-on-microcontrollers-for-blockchain-and-iot-applications/ https://community.zerynth.com/t/adding-lightweight-python-libraries-into-zerynth-studio/1903 https://docs.zerynth.com/latest/official/core.zerynth.stdlib/docs/stdlib.html

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 4937.0 RDN (1961.96 USD @ $0.4/RDN) has been submitted by:

  1. @pisuthd
  2. @orami

@czepluch please take a look at the submitted work:


franzihei commented 5 years ago

Thank you for your submissions! We are currently reviewing them and hope to be able to share the winner on July 15th (Monday next week).

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Cancelled


The funding of 4937.0 RDN (1961.96 USD @ $0.4/RDN) attached to this issue has been cancelled by the bounty submitter

czepluch commented 5 years ago

Hey @pisuthd

I accidentally cancelled the bounty when I tried to pay out the 2468.0 RDN that you have won. Don't know what happened, but reported it to the gitoin guys too. In case we don't find a fix, would you then be fine with me just transferring the RDN to you directly?

gitcoinbot commented 5 years ago
Raiden Network ⚡️ A *Raiden Network* Kudos has been sent to @pisuthd for this issue from @czepluch. ⚡️ The sender had the following public comments: > Winner of the Beyond Blockchain Hackathon Raiden IoT/Hardware prize Nice work @pisuthd! To redeem your Kudos, login to Gitcoin at https://gitcoin.co/explorer and select 'Claim Kudos' from dropdown menu in the top right, or check your email for a link to the Kudos redemption page.
pisuthd commented 5 years ago

@czepluch Sure. Thank you so much btw.

franzihei commented 5 years ago

@pisuthd do you mind sending us a quick email to contact[at]raiden.network or is there any other way to get in touch (couldn't find you on the discord)?

gitcoinbot commented 5 years ago

⚡️ A tip worth 2468.00000 RDN (604.91 USD @ $0.25/RDN) has been granted to @pisuthd for this issue from @czepluch. ⚡️

Nice work @pisuthd! Your tip has automatically been deposited in the ETH address we have on file.

czepluch commented 5 years ago

@pisuthd Found out that it could be done through a tip instead. This way it's still connected to gitcoin.