https://github.com/chancehudson/zkdao
https://github.com/chancehudson/zkdao
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chancehudson/zkdao
- Owner: chancehudson
- Created: 2022-12-07T02:14:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T16:42:52.000Z (over 3 years ago)
- Last Synced: 2025-08-07T04:51:27.981Z (12 months ago)
- Language: JavaScript
- Size: 224 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zkdao
Users may join the DAO by creating a proposal to add a semaphore identity to the unirep attester. This proposal must be voted on by a quorum of the current members, and the vote must be majority in favor.
Once a user has joined they may deposit into the DAO and receive positive reputation equal to the amount of wei deposited.
Users can make proposals to spend Ether from the DAO to Ethereum addresses. Users don't need to be members of the group to make such proposals.
A proposal may be executed in the epoch following it's creation, assuming it is ratified.
-- Other details
Positive rep = amount of wei contributed to the DAO
Negative rep = number of proposals voted on
Graffiti = unused
# Running the app
## 1. Installation
```shell
npx create-unirep-app
```
Then `cd` into the directory that was created.
## 2. Start a node
```shell
yarn contracts hardhat node
```
## 3. Deploy smart contracts
in new terminal window, from root:
```shell
yarn contracts deploy
```
## 4. Start a relayer (backend)
```shell
yarn relay keys &&
yarn relay start
```
## 5. Start a frontend
in new terminal window, from root:
```shell
yarn frontend start
```
It will be running at: http://localhost:3000/