You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to **Aragonette**, the sleek and snappy UI template designed for lightning-fast prototyping with Aragon DAOs and plugins! Built with the power of Next.js and the speed of Bun.js, Aragonette is your go-to toolkit for bringing your Aragon DAO visions to life with style and efficiency. π¨β¨
4
4
5
-
This project is a versatile host UI including common tools, services and a set of example modules to build custom DAO apps. The following example plugin UI's are available:
5
+
## Getting Started π
6
6
7
-
### Proposal section
8
-
9
-
This section displays all the proposals which need to be ratified by the community of token holders. Proposals follow an optimistic governance flow. They created by the Council and token holders have the chance to veto them for a certain amount of time.
10
-
11
-
This flow attempts to find a good balance between efficiency, agility, prevent spam or attacks and decentralization.
12
-
13
-
### Multisig Council
14
-
15
-
This section features a multisig plugin which is only visible to the Council members. It allows to create, approve and eventually relay proposals to the community section described above.
16
-
17
-
### Security Council
18
-
19
-
This section is also a multisig plugin, with the difference that a super majority of the Security Council can approve and execute proposals that are time critical. This plugin may be disabled in future iterations of the DAO but for the time being, it allows respond to potential security threats in a much quicker way.
20
-
21
-
The metadata and the actions of the proposal are encrypted until the proposal has been executed. See [Encryption and decryption flows](#encryption-and-decryption-flows) below.
22
-
23
-
### Members section
24
-
25
-
This section shows a recap of the delegates who publish an announcement, as well as the Security Council members. Delegates can use this section to create their own profile while token holders can browse delegates and can eventually delegate to a candidate of their trust.
26
-
27
-
## Encryption and decryption flows
28
-
29
-
In proposals where metadata needs to be kept private until the end, we implement a two-layer encryption model which combines symmetric and asymmetric keys.
30
-
31
-
The data that we need to encrypt includes:
32
-
-**Human readable data**, explaining why the proposal should be approved
33
-
- The **actions to execute** if the proposal passes
34
-
35
-
### Encryption steps
36
-
37
-
1. A user signs a static payload using his/her wallet. The resulting hash is used as a 256-bit private key to generate an ephemeral, in-memory key pair
38
-
2. One of the multisig members generates a random symmetric key and uses it to encrypt the metadata and the actions
39
-
3. The member fetches the public keys corresponding to the current Security Council members
40
-
4. For each member's public key, he uses it to encrypt the key from step (1)
41
-
5. This generates a payload with:
42
-
- The (symmetrically) encrypted metadata and proposals
43
-
- The (asymmetrically) encrypted keys that only each member can recover
44
-
6. The payload is pinned on IPFS
45
-
- The IPFS URI is published as the proposal metadata
46
-
- The hash of the unencrypted metadata is also published as part of the proposal
47
-
48
-

49
-
50
-
### Encryption steps
51
-
52
-
1. One of the multisig members fetches the proposal, along with the pinned IPFS metadata
53
-
2. The member signs the same predefined payload to generate the in-memory key pair
54
-
3. The user locates the key that was encrypted for his/her wallet
55
-
4. He then uses it as the symmetric key to decrypt the metadata and the proposal actions
56
-
57
-

58
-
59
-
## Getting Started with the UI
60
-
61
-
Before you start, make sure you have Bun installed on your machine. If not, hop over to [Bun's official documentation](https://bun.sh/) for installation instructions.
7
+
Before you dive into the world of DAOs and decentralized governance, make sure you have Bun installed on your machine. If not, hop over to [Bun's official documentation](https://bun.sh/) for installation instructions.
62
8
63
9
Once you're set with Bun, clone this repository to your local machine:
Got a plugin idea that's going to revolutionize the Aragon ecosystem? Adding it to the Governance App Template is easy:
27
+
Got a plugin idea that's going to revolutionize the Aragon ecosystem? Adding it to Aragonette is as easy as pie:
80
28
81
29
1.**Duplicate a Plugin Directory**: Navigate to the `/plugins` directory, pick a plugin that closely resembles your idea, and duplicate its directory.
82
30
2.**Rename Your Plugin**: Give your plugin a unique and catchy name that captures its essence.
83
31
3.**Register Your Plugin**: Open the `index.tsx` file inside the `/plugins` directory and add an entry for your new plugin.
84
32
85
-
And that's it!
33
+
And that's it! Your plugin is now part of the Aragonette universe. π
86
34
87
35
## Leveraging Aragon OSx Primitives π
88
36
89
-
Governance App Template is built to work seamlessly with Aragon OSx primitives, such as `IProposal` or `MajorityVoting`. This means you can focus on the fun part of creating and experimenting, without sweating the small stuff. Your plugin should integrate smoothly into the UI, making your development journey as breezy as a blockchain. π
37
+
Aragonette is built to work seamlessly with Aragon OSx primitives, such as `IProposal` or `MajorityVoting`. This means you can focus on the fun part of creating and experimenting, without sweating the small stuff. Your plugin should integrate smoothly into the UI, making your development journey as breezy as a blockchain. π
90
38
91
39
## Contributing π€
92
40
93
-
Got ideas on how to make this template even better? We're all ears! Whether it's a bug fix, a new feature, or a plugin that could benefit everyone, we welcome your contributions. Check out our [contributing guidelines](CONTRIBUTING.md) for more information on how to get involved.
41
+
Got ideas on how to make Aragonette even better? We're all ears! Whether it's a bug fix, a new feature, or a plugin that could benefit everyone, we welcome your contributions. Check out our [contributing guidelines](CONTRIBUTING.md) for more information on how to get involved.
94
42
95
43
### You can configure your repository to pull changes from this repository with:
Stuck on something? Our community is here to help! Join our [Discord channel](https://discord.gg/aragonorg) for support, advice, or just to share your awesome plugin creations with fellow Aragon enthusiasts.
52
+
Stuck on something? Our community is here to help! Join our [Discord channel](https://discord.com/invite/eqQJkdp) for support, advice, or just to share your awesome plugin creations with fellow Aragon enthusiasts.
105
53
106
54
## License π
107
55
108
-
The Governance App Template is released under the AGPL v3 License.
56
+
Aragonette is released under the AGPL v3 License.
57
+
58
+
---
59
+
60
+
Happy prototyping! With Aragonette, the future of decentralized organizations is in your hands. Let's build something amazing together! ππ
0 commit comments