Skip to main content

Democratic Governance 1

  • Team Name: Solidbit GmbH
  • Payment Address: CHF (22 November, 2023, 08:57 UTC)
  • Level: 1

Project Overview 📄​

Overview​

Encointer has started the development of a pallet that facilitates democratic voting based on Proof-Of-Personhood. We believe that this work can be a basis for Proof-Of-Personhood based governance protocols for varios applications such as DAOs or parachains, which could benefit from improved legitimacy when using a democratic over a plutocratic design. We are interested in building this project as it builds on top of our expertise with Proof-Of-Personhood and it lays an important foundation to facilitate non-plutocratic governance in Web3.

Project Details​

You can find the PR with the current state of the pallet here and the node side of it here. There also exists a documentation of the protocol and a tracking issue that tracks the work still to be done for the democracy pallet.

In this project we will continue building the democracy pallet as well as improve the CLI and integration tests for the protocol. The following tasks will be implemented:

  • Decide which matters can be voted on and implement (1.5 days)
  • Use timestamps instead of blocks to be consistent with cycles (1.5 days)
  • Use reputation commitment pallet for proposals (0.5 days)
  • Pass proposal enactment errors to user (0.5 days)
  • Lazy proposal update (0.5 days)
  • Persist electorate size in proposal (0.5 days)
  • Add more events (0.5 days)
  • Refactor integrations tests to be independent and systematically cover all potantial voting scenarios (1 day)
  • Extend CLI (Show vote status, make enactments queriable) (1 day)
  • Tutorial (0.5 days)

Ecosystem Fit​

This project helps to build the foundation of a One-Person-One-Vote paradigm for varios governance systems in Web3. We believe that Proof-Of-Personhood and demorcatic voting will become essential in many Web3 applications, and thus Dotsama as a whole will profit from having a protocol like this available in the ecosystem.

Team 👥​

Team members​

  • Piero Guicciardi (Project Lead & Developer)
  • Alain Brenzikofer (Advisor Protocol)
  • Christian Langenbacher (Advisor Implementation)

Contact​

  • Registered Address: General Wille Strasse 99, CH-8706 Meilen, Switzerland
  • Registered Legal Entity: Solidbit GmbH (CHE-267.620.734)

Team's experience​

Piero has been a core protocol developer for Encointer for the last two years and has recently become a member of the Polkadot Technical Fellowship. Among other projects, he designed and implemented a democracy module on top of Encointer's persoonhood reputation system. Please check out the pull request and the high level documentation.

Below you can find a list of other contributions by Piero:

Encointer core protocol:​

Misc:​

Non rust contributions:​

The two project advisors Alain Brenzikofer and Christian Langenbacher both are known figures in the Dotsama ecosystem. Alain is the founder of Encointer and Integritee and Chris is the tech-lead of both of those projects.

Encointer has previously received a W3F grant.

Team Code Repos​

Please also provide the GitHub accounts of all team members. If they contain no activity, references to projects hosted elsewhere or live are also fine.

Team LinkedIn Profiles​

Development Status 📖​

You can find the PR with the current state of the pallet here and the node side of it here. There also exists a documentation of the protocol and a tracking issue that tracks the work still to be done for the democracy pallet.

Development Roadmap 🔩​

Overview​

  • Total Estimated Duration: 1 month
  • Full-Time Equivalent (FTE): 0.4 (8 person days)
  • Total Costs: 8320 CHF

Milestone 1 Example — Protocol enhancements​

  • Estimated duration: 1 month
  • FTE: 0.4 (8 person days)
  • Costs: 8320 CHF
NumberDeliverableSpecification
0a.LicenseGPLv3
0b.DocumentationWe will provide both inline documentation of the code and a basic tutorial that explains how a user can (for example) spin up one of our Substrate nodes and send test transactions, which will show how the new functionality works.
0c.Testing and Testing GuideCore functions will be fully covered by comprehensive unit tests to ensure functionality and robustness. In the guide, we will describe how to run these tests.
0d.DockerWe will provide a Dockerfile that can be used to test all the functionality delivered with this milestone.
0e.ArticleWe will publish an article in the Encointer book that explains the functionality of the democracy module.
1.Democracy PalletWe will implement the above described tasks in the Encointer democracy pallet.
3.CLI and Integration TestsWe will implement the above described tasks in the CLI and extend the existing integration tests.

Future Plans​

We will keep track of all future work in the tracking issue. The main vision is to build a protocol where Dotsama users can globally participate in governance using their personhood instead of their tokens. Already defined steps are:

  • Limit active proposals per reputable per cycle
  • Use generic dispatchables for proposal actions
  • Define protocol for inter-community voting

Referral Program (optional) 💰​

Additional Information ➕​

How did you hear about the Grants Program? I heard about it from Alain Brenzikofer.