App on Distributed Signatures

Dear Ergo Community,

In this post, I would like to explain a project on top of Ergo’s Distributed Signatures capability. This idea has arisen from the discussion here on the forum by Kushti.

It was cool to see a working example of distributed signatures But the process to sign such transactions collectively is somehow complex for non-technical people and even tedious for technical ones. The aim of this project is to make this process as user-friendly and automated as possible to make it usable by everyone.

After some discussion with Kushti over email on what is potentially needed, I started developing. Now after several weeks, the code is almost ready for a demo.

This project contains two separate apps, server, and client.

The server is accessible by everyone who can propose ideas and ask for funds from a team.

Proposal page of the server, anyone can propose ideas by creating a proposal for a specific team

On the other hand, every team member has to set up the client app which will be in charge of interacting with their secret, node, explorer, and server to create the necessary proofs for approved proposals.

Client app interface, members can approve or reject each proposal

If a proposal is marked as fully approved (enough approvals have been collected based on the team’s signature), then client apps will generate necessary proofs and transactions in the background without needing any intervention by members.

some logs in client app for generating tx, simulating and assembling the final tx

Proposing entities can follow their proposal’s status in the server web pages.

proposal page of Ergo Foundation team, one proposal is approved and paid automatically by client apps

The above pictures are real processes of approving one proposal which was done in literally a few seconds. The generated tx can be found here which is an example of 4-out-of-6 threshold signature.

The code is not fully complete and needs improving but I welcome everyone for testing. You can find the server app here, and the client app here.

I have tried to keep the app and the whole process as simple and easy-to-use as possible to make it practical for real-world scenarios. I appreciate any suggestions on how to improve.

7 Likes

I’ve set up a server, made some testing multisig-protected treasuries, finally, made a 2-out-of-3 approved spending: https://explorer.ergoplatform.com/en/transactions/1e844ef99f37fe342f4f0cc88791eb9bd4af8686940384da989659a7831df422 .

Works nice! I would like to test with someone else now )

2 Likes

I can test with you :smiley:
Should I give you a public key to generate the signature, or?

2 Likes

Just discovered this, its like a breathe of fresh crypto-air! I’m so happy that I’m witnessing early days of Ergo and developments like this.

If someone can set up a server, I would like to create a testing fund and donate 2,000 ergs, with a goal to develop more privacy-friendly tools on Ergo. @Martin-mx kushti @anon_real do you guys want to be in a committee?

5 Likes

I approve any donations to anons, the only team developing privacy-friendly tools on Ergo so far, @anon_real in this case :slight_smile: Please test with @kushti and @anon_real and any other developers if possible at the moment as they will most probably eliminate the majority of bugs and bring improvements in the meantime. Foundation of course itself will deliver grants for these developments, also looks like the ZK treasury enables different experiments for the foundation to support ecosystem development in more public and exciting way. Let`s see.

2 Likes

I would be happy to participate) I think first we need to do some more testing with @anon_real though. Lemme check if I can do a server

2 Likes

That’s really generous of you @DarkSideOfBrrrrr for giving to the community.

I would recommend putting in only a smaller percentage for now initially, just to be sure before the contracts/off-chain code has been carefully inspected in case some edge case bugs still exist.

5 Likes

True, that’s why I’m starting with 2,000 Ergs. After testing, next fund will be bigger. I was lucky enough to grab some heavy bags around 2K sats.

Hopefully, other whales and miners will follow. I do not care much about that though.

5 Likes

Please continue the discussions here.

1 Like