Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Raiden with your IoT or hardware use case #2

Closed
franzihei opened this issue Jun 21, 2019 · 12 comments
Closed

Integrate Raiden with your IoT or hardware use case #2

franzihei opened this issue Jun 21, 2019 · 12 comments

Comments

@franzihei
Copy link

franzihei commented Jun 21, 2019

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

  • Enable tokenized bike/ride/whatever sharing on Raiden
  • Hack a vending machine/delivery robot/drone
  • Let machines or devices receive payments, e.g. for sensor data

Submission Requirements

  • uses the Raiden API
  • is an innovative use case leveraging off-chain payments / token transfers

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

@franzihei franzihei changed the title Integrate Raiden with your IoT or hardware use case Best IoT or hardware use case built using the Raiden API Jun 21, 2019
@franzihei franzihei changed the title Best IoT or hardware use case built using the Raiden API Integrate Raiden with your IoT or hardware use case Jun 21, 2019
@gitcoinbot
Copy link

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
Copy link

gitcoinbot commented Jun 26, 2019

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
Copy link

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.

  • I was able to install Raiden, connect to Goerli test net, mint ERC20-based tokens, opened, joined payment channels and was able to send tokens.
  • I installed Zerynth Studio 2.3.0, read most of the documentation related to the idea, created a virtual machine, created a skeleton of the communnity Raiden library for Zerynth, installed Raiden 0.100.3 to Zerynth system libraries.

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
Copy link

gitcoinbot commented Jul 10, 2019

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
Copy link
Author

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
Copy link

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
Copy link

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
Copy link

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
Copy link

pisuthd commented Jul 17, 2019

@czepluch Sure. Thank you so much btw.

@franzihei
Copy link
Author

@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
Copy link

⚡️ 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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants