hoprnet / hopr-community

A selection of awesome HOPR projects.
GNU General Public License v3.0
5 stars 20 forks source link

Build a demo dApp to send Ethereum RPC over HOPR #179

Closed SCBuergel closed 1 year ago

SCBuergel commented 1 year ago

Job Story

HOPR has built Playground which allows anybody to try out the HOPR protocol without the need to install anything. Playground currently supports many HOPR compatible dApps, many of them found in the hopr-community repository.

We would like you to build a new dApp that will be featured on Playground and allow a node to send and receive Ethereum RPC traffic. This dApp is meant to be used for demonstration purposes and be utilized in upcoming hackathons.

Description

In this dApp, a user should be able to connect to a HOPR node. Once the HOPR node receives a message and is relayed to the dApp through the API, the dApp must parse and recognise whether the message is an Ethereum RPC request. Afterwards, the dApp submits the Ethereum RPC request to a working Ethereum RPC provider and sends back the response. HOPR Relay can be used as an example, with the main difference being that HOPR Relay runs on a nodeJS instance instead of a browser window.

In terms of UI, we would like to show a list of requests and responses and a small status indicator for each of them that it was sent successfully.

Some things to take into consideration:

Out of scope:

Deadline

This dApp must be completed by 23/09/2022. The applicant is expected to give regular updates.

Definition of Done

A dApp is available which can be hooked into a HOPR node (via Playground). Once it receives an Ethereum RPC request it forwards it to a working Ethereum provider and sends back the response.

Developing HOPR

What is HOPR?

Find out more about HOPR at the following links:

This bounty is part of The Bounty Program

gitcoinbot commented 1 year ago

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


This issue now has a funding of 22863.1306 HOPR attached to it as part of the hoprnet fund.

gitcoinbot commented 1 year ago

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


Work has been started.

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

1) menezesphill has been approved to start work.

Hi there HOPR team! I would like to work on this bounty by creating an example dApp that can send Ethereum Remote Procedure Calls over HOPR mixnet. 2) manyrios has applied to start work _(Funders only: approve worker | reject worker)_.

Build A Demo DApp To Send Ethereum RPC Over HOPR with all the requirements. It will be able to send it in playground without install anything 3) bshevchenko has applied to start work _(Funders only: approve worker | reject worker)_.

Ready to start with this one ;) 4) soptq has applied to start work _(Funders only: approve worker | reject worker)_.

Hi, I have go through the documentations and ready to work on. Will provide a working project before ddl if approved. 5) vividwood has applied to start work _(Funders only: approve worker | reject worker)_.

I'll study HOPR Relay code first and then implement it in browser. Will be glad to work with you again :) 6) vanoob404 has applied to start work _(Funders only: approve worker | reject worker)_.

I had experience working with ethRPC and HOPR too. I think I can get this dApp ready. 7) cnoveron has applied to start work _(Funders only: approve worker | reject worker)_.

Hi nionis,

I would start by validating assumptions in order to get the requirements right regarding aspects like, for example, the messaging format. I suppose this is going to be a RESTful JSON API, so, I assume the payload can be a valid JSON with just data and chainId, but that might not be what you are interested in.

Once I have fully validated the requirements, I'll proceed to put up a simple NodeJS server, add endpoints to it. (I have designed APIs in the past using Express or Hapi.js, and GZIP to compress the requests and responses. So, that won't be a problem.) After that I will integrate HOPR functionality.

One last question is wether I should be storing anything in DBs or Firebase...

I hope you can find value in my experience.

Best regards, Carlos

Learn more on the Gitcoin Issue Details page.

0xVaibhav11 commented 1 year ago

Sorry I will not be able to complete this project... I m busy these days and will be busy for more 3-4 days.

It is a bit tricky project though. I m excited to see what others have done.

I am seeking more opportunities to work with you.

gitcoinbot commented 1 year ago

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


Work for 22863.1306 HOPR (1500.00 USD @ $0.06/HOPR) has been submitted by:

  1. @menezesphill

@nionis please take a look at the submitted work:


nionis commented 1 year ago

Bounty closed and paid.