Inspiration
The majority of the Akyra team is the Davi employees who are deeply committed to creating an improved onchain governance for anyone to use. Under the philosophy, we specifically wanted to improve executability of multi proposal voting, reduce costs associated with the execution, and make the voting easier in order to promote and achieve wider adoption of the voting generally.
What it does
It provides an off-chain component to the traditional voting scheme as such that a voter can be waived of paying gas costs to execute the voting transaction. It delegates the execution to anyone willing to execute on behalf of people with voting rights.
How we built it
We built this as an extension to the existing Davi repo by re-writing some of the code. A user can send an array of votes to be executed, allowing the voting of multiple proposals in just one transaction. This mechanism works both for on- and off-chain voting (executeVotes and executeSignedVotesBatches respectively). https://github.com/DXgovernance/dxdao-contracts/pull/222/files
Challenges we ran into
We found it difficult to apply a merkle tree in a way that makes us verify the signature of each transaction securely. We still are working on this for improvement.
Accomplishments that we're proud of
Despite the difficulty of making the verification work, we have a working product that is more than a mvp. We credit ourselves for achieving this under the tight schedule and time pressure.
What we learned
We learnt that finding an optimal architecture design in detail for such a product is indeed hard. Here, we have in mind the merkle tree and how to apply it for verification.
What's next for AKYRA
Increase security and ensure that the signing and verification check run correctly and pass tests. We still need to work on a bit more on the off-chain signing part to execute each request on a stable manner.
Log in or sign up for Devpost to join the conversation.