kleros / tokens-on-trial

Kleros' token curated list of tokens.
https://kleros-t2cr.netlify.app
MIT License
8 stars 6 forks source link

Make a dashboard for the Token² Curated Registry [4 ETH + up to 400$ worth of PNK] #54

Open clesaege opened 5 years ago

clesaege commented 5 years ago

General Information

This dashboard will give analytics about T2CR use. See Figma for UI. See the T2CR.

Payout

It is a Gitcoin bounty. It is paid 4 ETH plus a bonus based on submission quality of up to 400$ worth of PNK.

Details

1) Total ETH deposited: The sum of all deposits for both tokens and badges. Total USD value: The sum of all deposits for both tokens and badges converted in USD with current ETH value. Graph: Should show "Total ETH deposited" across time. On mouseover information about time, Total ETH deposited and Total USD value should be displayed. Crowdfunding: Items (tokens or badges) which are on the crowdfunding state. Clicking on them open the T2CR. Twitter Feed: Twitter feed of this bot. Link: Link to the T2CR.

2) Total ETH deposited: The sum of all deposits for tokens only. Total USD value: The sum of all deposits for tokens only converted in USD with current ETH value. Total Submission: Amount of tokens submitted. Submission by state: Amount of tokens in each state.

3) Note that there is currently the Ethfinex badge and the ERC20 badge. It should support badges added in the future.

Total ETH deposited: The sum of all deposits for badges only. Total USD value: The sum of all deposits for badges only converted in USD with current ETH value. Total Submission: Amount of badges submitted. Submission by state: Amount of badges in each state.

Contracts

Code

Code to interact with.

gitcoinbot commented 5 years ago

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


This issue now has a funding of 4.0 ETH (1075.42 USD @ $268.85/ETH) attached to it as part of the @kleros fund.

gitcoinbot commented 5 years ago

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


Workers have applied to start work.

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

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

Ready to get this task completed in record time. I understand the requirements and will devote time to getting this task completed.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 5 years ago

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


Workers have applied to start work.

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

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

switch this bounty to "cooperative" as I can build the "back-end" to collect the needed data and build a DB for it then someone can work on the front-end implementation.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 5 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 5 months, 3 weeks from now. Please review their action plans below:

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

I will use Hyperledger Sawtooth to administrate the accounts represented by the UI. Further, there should be an in-browser cache to perform transactions from the interface as well. 2) faabsorg has applied to start work _(Funders only: approve worker | reject worker)_.

ETA 2 weeks. Have some ideas about the UI, open to suggestions and discussions. 3) brockelmore has applied to start work _(Funders only: approve worker | reject worker)_.

I am the creator of defirates.info

I am well versed in data viz and reading chain data. 4) jmsofarelli has been approved to start work.

Hello Clément, here are the steps I will use to approach the development of the Dashboard:

1) Create a React app 2) Configure it to use React Router and Redux 3) Define the React components that will compose the application 4) Code and test React components using dummy data [At this point I should have a version of the dashboard using dummy data] 5) Identify which functions of the smart contracts will provide the data needed for the dashboard 6) Define actions and action creators for fetching the data using web3.js 7) Code and test Redux code 8) Wire React components to Redux 9) Create integration tests

As a guideline I will try to keep the coding style as close as possible to the other Kleros Dapps, if desired.

PS1: I will work on this app as a side project, so I think I will need something between 2-4 weeks to finish, maybe a bit more. PS2: As I am also applying to work for Kleros as a Fullstack Dev. this app can be a good chance for Kleros to evaluate my code quality and skills.

Learn more on the Gitcoin Issue Details page.

clesaege commented 5 years ago

Hi @jmsofarelli,

You can start. For communication, you can come to https://slack.kleros.io/ and join the #token2-curated-list channel.

Cheers,

gitcoinbot commented 5 years ago

@jmsofarelli Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

jmsofarelli commented 5 years ago

My WIP is being pushed to the following repository: https://github.com/jmsofarelli/kleros-t2cr-dashboard

gitcoinbot commented 5 years ago

@jmsofarelli Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

jmsofarelli commented 5 years ago

The latest code was pushed to the repo some days ago https://github.com/kleros/t2cr-dashboard I had to pause the work for 3 days because of personal reasons but I am back to coding, currently working on testing.

gitcoinbot commented 5 years ago

@jmsofarelli Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

jmsofarelli commented 5 years ago

Currently, I am working on fetching the data from the Smart Contracts. I will need to create a new Smart Contract that will work as a view for the other ones, since fetching all the information with web3 would require too many requests.

clesaege commented 5 years ago

Yeah, using a contract just for views is a nice hack we already used.

gitcoinbot commented 5 years ago

@jmsofarelli Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

jmsofarelli commented 5 years ago

Replaced dummy chart component on the Home Page with a working version using Chart.js (https://www.chartjs.org/). Exploring and comparing different ways to fetch deposit data (income transactions x fee values saved inside smart contract storage under tokens/requests/round). Preparing data for visualization.

gitcoinbot commented 5 years ago

@jmsofarelli Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

clesaege commented 5 years ago

Don't worry, I snoozed that for 100 days.

jmsofarelli commented 5 years ago

Thanks!

gitcoinbot commented 4 years ago

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


Work for 4.0 ETH (668.59 USD @ $167.15/ETH) has been submitted by:

  1. @jmsofarelli

@clesaege please take a look at the submitted work:


gitcoinbot commented 4 years ago

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


The funding of 4.0 ETH (673.2 USD @ $168.3/ETH) attached to this issue has been approved & issued to @jmsofarelli.

Thanks to @kris30pl for their crowdfunded contributions to this bounty.