Polkassembly Logo

Head 1
Head 3
Head 4
Create Pencil IconCreate
TRACKS
ORIGINS
Report an issueNeed help with something?
Foot 1
Foot 2
Foot 3
Foot 4
OpenGov
View All Medium Spender

[Retroactive] Subsquare 12 months maintenance and common features development

inMedium Spender
10 months ago
Executed

Subsquare has been providing services to the polkadot ecosystem in the past years, and won trust and praise from the community by the team members' hard work. This proposal seeks a retroactive funding for the past 12 months(2023.10.01 - 2024.09.30) maintenance and common features development.

img_v3_02fi_ac6049aa-27fa-4e92-a5fc-24347c49ccfg

Infrastructures

ItemsDetailsper monthMonthsTotal
Servers5 servers + 500GB volume$14512€1740
Domain1 io domain-12$47.99
Ali email service-12$24
IPFS pin service-12$8.11
OpenAI-1225
Total-12$1845.1

Maintenance

The maintenance work includes:

  • Server deployment maintenance: daily server monitor, upgrading products versions, emergency handling, etc.
  • Codebase maintenance: code refactor, bug fixes, UI tweaks, dependency upgrading, etc.
  • Answer user questions, collect user feedbacks and then design new features.
  • Collaboration with other teams to provide api support and some governance explanation.

Picked work includes:

  • Performance enhancement by lazy loading resources.
  • Theme color enhancment.
  • RPC endpoints connection enhancement
    • Pick fast endpoint.
    • cache metadata.
  • More extensions support and code refactor.
  • Account panel enhancement on overview page.
  • Take place of one time query with on chain info subscription.
  • Open graph links.
  • Improve eslint rules and github CI process.
  • Take place part of redux slices with context.
  • Refactor account connection related code and support multisig solutions like mimir and signet.
  • Westend testnet support.

Please check the changelog and commits for more details. We will request 15 FTE equivalent work per month.

Development

Referendum detail page enhancements

  • Statistics on referendum detail page.
  • DV vote status under the votes bubble.
  • Deciding & confirming information enhancement.
  • Call view enhancement and information extraction.
  • Kill/Cancel a referendum.
  • Stable coin support.
  • comments filter.

Referenda track status page

Each track is a referenda queue for the community decision, and each track has its capacity and other properties. We created a track status page to visualize how track works and their status. Check here for the tracks status page.

New referenda and templates

It will be very easy for the community to create new referenda on subsquare with this feature. Users can first create preimages and then create referenda. We also developed several templates which can help users quickly create new referenda. Currently the templates include:

  • local treasury spend
  • stable coin treasury spend
  • remark
  • kill/cancel a referendum

Preimages management

Preimages are basic elements for governance and other on chain actions. Subsquare preimages feature includes:

  • A list to show all on chain preimages
  • An user can filter out a preimage by its hash
  • A connected user can filter out preimages with his own deposits.
  • A connected user can create a preimage by composing an extrinsic or by filling a template.
  • A connected user can unnote a preimage with his deposit.

Work also includes the support for pallet preimage updates, for example this update.

Account and profile page enhancements

On the first release of the account/profile page, users can manage their votes or see other accounts' votes. We developed more features so users can check more information of their accounts.

  • Deposits management. Subsquare will check and show deposits by referenda, fellowship, democracy, treasury, identity, and preimages. Users can also remove these deposits when available.
  • Delegation status. Users can see their received delegations and delegations to others.
  • Users can check their history transfers on their profile page.
  • Users can check their identity history(timeline) on their profile page.

Treasury spends and multi assets treasury support

Treasury spends are another way which is different from proposals and bounties. A treasury spend can spend any assets in polkadot via XCM. After approval by a referendum, a spend will be created. The beneficiary can claim the fund in a predefined limited time or the spend will become expired.

The work includes:

  • Scan scripts which scan related business, extract data and save them to the database.
  • Backend APIs to serve treasury spends business data.
  • A spend list page which shows all treasury spends and their basic properties including requested token and amount, propose, title, etc.
  • Treasury spend detail page on which
    • We can see the binded referendum and corresponding comments.
    • Requested fund details.
    • Valid and expiration visualization(countdown components).
    • Timeline.
    • A payout button with which users can claim the fund.

Assethub basic features

These features will help users manage their assets on assethub. With these features, users can:

  • See all their assets and balances.
  • Transfer their assets.
  • See transfer history.
  • Check all on chain active assets.
  • See any other address' assets on the profile page.

Bounty enhancement

New features include:

  • Show bounty curator. If the curator address is a proxy or multisig address, we will show the proxied and multisig signatories addresses.
  • Support creating a new child bounty. It can work with mimir if the curator is controlled by a multisig address.
  • Support proposing a curator on child bounty.
  • Support accepting curator on parent/child bounty.
  • Support claiming a parent bounty.

Development cost:

ItemWorkloadCost
Referendum detail page enhancement5 FTE * 6 weeks, 1200 hrs$108,000
Referenda track status page3 FTE * 2 weeks, 240 hrs$21,600
New referenda and templates3FTE * 3 weeks, 360 hrs$32,400
Preimages management3FTE * 3 weeks, 360 hrs$32,400
Account and profile page enhancements4FTE * 4 weeks, 640 hrs$57,600
Treasury spends and multi assets treasury support4FTE * 3 weeks, 480 hrs$43,200
Assethub basic features3FTE * 2 weeks, 240 hrs$21,600
Bounty enhancement3FTE * 2 weeks, 240 hrs$21,600
Total3,760 hrs$338,400

Total cost

ItemWorkloadCost
Infrastructures12 months for servers, domains, email, IPFS and AI services$1845.1
MaintenanceCode refactor, UI tweaks and polish, bug fixes, etc;129,600
Common features developmentPlease check the development section$338,400
Total-469,845.1

Q&As

1. What's your plans?

Subsquare will be a full-featured dapp for polkadot. It will help the community to understand polkadot, track polkadot status and perform actions on polkadot. Our next concrete plans includes identity, more discussion data decentralization features, proxy/multisig enhancement, coretime, etc. We are also doing research about quadratic funding and trying to figure out a solution for the polkadot ecosystem.

2. How many users are using subsquare?

We didn't collect user data, so we didn't know the exact aggregated user numbers. Currently, our monthy unique visitors are about 175K and daily unique visitors are 10k.

Comments (5)

10 months ago

Will you be adding support for being able to reply to referendum using your Governance Proxy account?

This issue was recently brought up in Element, but we haven't heard back from your team with regards to providing a fix.

Currently, Subsquare only shows the Proxy account in the reply area to pending referendum (NOT the stash/proxied account as it should be showing when logged in under a Governance Proxy account).

For example, I'm replying here using my Governance Proxy - it should show as "Flez" - my actual identity - but instead it shows my Proxy account ID.

10 months ago

huge AYE :) impressive work folks!

Load more comments
PleaseLogin to comment

Requested

USDT
469.85K USDT

Proposal Passed

3

of 3

Summary

0%

Aye

AyeNay

0%

Nay

Aye (108)0.0 DOT

Support0.0 DOT

Nay (14)0.0 DOT

Help Center

Report an Issue
Feedback
Terms and Conditions
Github

Our Services

Docs
Terms of Website
Privacy Policy

A House of Commons Initiative.

Polka Labs Private Limited 2025

All rights reserved.

Terms and ConditionsTerms of Website
Privacy Policy