🚨🚧 Everything in this repo is still a work in progress and higly experimental. It is not secure to use any of this code in production (mainnet) until proper security audits have been conducted.
This is a smart contract implementation of a basic liquid democracy with three initial main functionalities: vote()
, delegate()
and revoke()
. It mainly consists of LiquidDemocracy.sol
and its corresponding test file LiquidDemocracy.test.js
. This is the starting point of a roadmap that seeks to bridge Sovereign app with blockchain features. Please make sure you check out the Waffle board and the milestones for more information.
PRs and feedback are welcomed. A good place to start is to review the current open issues, please feel free to engage with us by commenting in a specific issue. Remember you can also check out the Waffle board to understand what's being worked on now and what is coming up next.
Project is being developed with NodeJs and Truffle, please make sure you have the latest version of npm before continuing. First follow the instructions to install Truffle:
$ npm install -g truffle
Then clone or fork the repo, do an npm install
, and you can start running the tests. You will need to run truffle develop
to start a testing blockchain and then test
to execute testing files. Please read the Truffle docs to learn more about the tool.