hoprnet / hoprnet

HOPR is an open incentivized mixnet which enables privacy-preserving point-to-point data exchange. HOPR is similar to Tor but actually private, decentralized and economically sustainable.
https://hoprnet.org
GNU General Public License v3.0
214 stars 90 forks source link

Hopr Admin v2 #3383

Closed nionis closed 2 years ago

nionis commented 2 years ago

Job Story

hopr-admin is a locally hosted website which allows the user to interact with the hoprd daemon. The hoprd daemon serves API v1 which hopr-admin uses. We would like to update hopr-admin to use API v2.

Description

Replace all API v1 endpoints (including websocket) in hopr-admin with API v2 endpoints.

Definition of Done

Developing HOPR

What is HOPR?

Find out more about HOPR at the following links:

This bounty is part of The Bounty Program

nionis commented 2 years ago

draft prize and time: $1000, 40 hours

gitcoinbot commented 2 years ago

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


This issue now has a funding of 10.0 HOPR (3.06 USD @ $0.31/HOPR) attached to it as part of the hoprnet fund.

gitcoinbot commented 2 years 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, 9 months from now. Please review their action plans below:

1) developerfred has applied to start work _(Funders only: approve worker | reject worker)_.

I have experience in typescript and javascript would love to do this migration 2) stackedq has applied to start work _(Funders only: approve worker | reject worker)_.

I'm going to replace Api v1 to v2 on admin, and change the websocket 3) lolboysg has applied to start work _(Funders only: approve worker | reject worker)_.

Hey, I've already reviewed your codebase so I am going to change all the api endpoints pretty easily on v2 4) mastercodercat has applied to start work _(Funders only: approve worker | reject worker)_.

Hi, I've looked over the hoprdnet repository and hopr-admin folder to see if it's possible to replace api endpoints. After all, I can change it by updating api integrations and api calls in the repo. 5) gall0x has applied to start work _(Funders only: approve worker | reject worker)_.

Hi, I’d like to tackle on this bounty. I’ll replace the generic logic "APIROOT/command" implemented in hopr-admin to use the API v2 endpoints described in the Swagger schema. **6) osamuelalmeida has applied to start work (Funders only: approve worker | reject worker)_.**

I'd like to work on this bounty. After taking a look at the code, my work plan is:

Thanks for your post. I just saw your post and understood everything what you want. This is my workplan.

  1. Researching API V1 and API V2 in detail.
  2. Replacing with API V1 and API V2 Let's discuss about your project in detail via call or chat. I will looking forward to hear from you. Have a nice day 8) imkrish7 has applied to start work _(Funders only: approve worker | reject worker)_.

Learn about hopr platform and update 9) vinnievh has applied to start work _(Funders only: approve worker | reject worker)_.

fulltime full stack developer (React/C#) 80%/20%. I can help out on this project if needed. 10) f1nv3rs3 has applied to start work _(Funders only: approve worker | reject worker)_.

Replace all API v1 endpoints (including websocket) in hopr-admin with API v2 endpoints.

Definition of Done hopr-admin uses only API v2 endpoints Developing HOPR running HOPR locally What is HOPR? Find out more about HOPR at the following links:

HOPR Website hoprnet monorepo hoprnet docs discord 11) anicolaides has been approved to start work.

I have extensive experience with Next.js projects using Typescript. I'd love to take on this task to help out the hopr project grow. 12) gvincenta has applied to start work _(Funders only: approve worker | reject worker)_.

I have 2 years of industrial experience working as frontend dev and liaising with backend developers to make api contracts, whilst reading various kinds of docs too. will be happy to work on this.

Learn more on the Gitcoin Issue Details page.

nionis commented 2 years ago

PR ready for first round of review by @nionis, #3615

gitcoinbot commented 2 years ago

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


Work for 3300.0 HOPR (528.31 USD @ $0.16/HOPR) has been submitted by:

  1. @anicolaides

@nionis please take a look at the submitted work:


nionis commented 2 years ago

open PR https://github.com/hoprnet/hoprnet/pull/3647 is still a draft - I will sync with original author @anicolaides so we can push this PR to the end

nionis commented 2 years ago

No additional work done here, maybe pick it up next sprint once we have new release?

nionis commented 2 years ago

was not worked on this sprint

nionis commented 2 years ago

Merged all changes from master, remaining tasks:

  1. fix doc generation
  2. test
gitcoinbot commented 2 years ago

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


The funding of 3300.0 HOPR (316.12 USD @ $0.1/HOPR) attached to this issue has been approved & issued to @anicolaides.

tolbrino commented 2 years ago

The regressions were fixed. This task is finished.