OpenSquare's treasury proposal for doTreasury polkadot integration

3yrs ago
1 Comments

As you may know we developed dotreasury with 2 milestones funded by Kusama. Generally now dotreasury provide a detailed accounting info and a place for community members to comment the expense. Please check following links for more details.

  • The initial post and discussions: link
  • 1st milestone work report: link
  • 2nd milestone proposal page: link
  • 2nd milestone work report: link

Or just check here for the dotreasury project page on dotreasury. We propose to integrate polkadot to dotreasury.

Work

Code refactor

Now the code is highly coupled with Kusama, and we need to refactor all the packages(scan, restful server, react app) to support multiple chains.

  • We don't plan to use 2 subdomains for kusama and polkadot separately, so the front page url may become from /proposals to /[ksm|dot]/proposals. Benefit is user don't have to login again after switching chains.

Price tracker

Some metrics now in dotreasury are ranked by the token amount, while it will be better if we can rank them with the fiat cost. Generally we will create a price ticker and call the api of some exchanges(maybe binance, huobi, ok) maybe every minute. Finally we may show the fiat value with the proposed time price and we don't have to make it so accurate to reduce development cost.

Others

  • A polkadot archive sync node will be deployed on our server to better scan performance
  • Expense related links will be collected to show on the corresponding pages.
  • Collect the funded projects, show the list the detailed page with the timeline.
  • Listen the direct transfers to treasury address.
  • Polish. For example, we may provide a link to the staking remaining explanation pages to user to better understand the inflation. Some UX tips will also be improved.

Cost and delivery

Cost details

  • 3 developers * 2 weeks equivalent work = $3500 * 3 = $10500
  • Server fee for 2021.03 and 2021.04: (8vCPU + 16GiB + 500GiB SSD + 10Mbps) * 2 = $800
  • Auxiliary work from 1 designer and 1 executive intern = $0

So the final price is $11300. Taking dot price as $30, the request dot amount is 376.

We will deliver it as soon as possible, but since we are developing other products as well, we hope deliver it no later than one month. Output will be:
Output:

Possible questions

  1. Why not develop the M3(credit model) first, and the polkadot?

    • We want the credit building rules are fully discussed before we finally build it. Even so, we may build it by steps. But the work of M1 and M2 is meaningful to polkadot too.
    • Though polkadot integrated, M3 work will be done for kusama, and then polkadot when no big disputes.
    • Better to adjust code structure first before add big new features from the view of development.
  2. How to discuss the credit model?
    We have a draft doc for it and will create a post soon for discussion. But it may be posted in the kusama polkassembly first.


We are OpenSquare team, dedicated to facilitate the collaboration between projects and developers.

Up
Comments
No comments here