All Projects → 1Hive → credao

1Hive / credao

Licence: other
Aragon DAOs for Github; leveraging SourceCred for token airdrops

Programming Languages

javascript
184084 projects - #8 most used programming language
PLpgSQL
1095 projects
HTML
75241 projects

credao

This is super early days for this project. Just a barely working, very insecure, proof of concept!

Credao is a Github App. The [rough] goal is to enable github users to install the app to their org or repo and have an Aragon dao automatically made. SourceCred cred is retrieved and used as a metric for airdropping tokens into the Aragon dao. A modified version of the Aragon client is hosted and serves to facilitate use without the user having any initial understanding of Ethereum keys.

kind of done/working in some fashion:

not done:

  • counterfactual wallets
  • aragon client modified to use counterfactual wallets
  • backend security/access restriction
  • todo.md
  • design, much consideration for ux

being worked on:

  • airdropping cred diffs

Probably this will not work:

  1. clone and yarn
  2. create .env file with following (filled in):
export GITHUB_APP_ID=                                                   # github app id assigned to app you created
export GITHUB_CLIENT_ID=                                                # github client id assigned to app you created
export GITHUB_CLIENT_SECRET=                                            # github app secret assigned to app you created
export GITHUB_TOKEN=                                                    # a _user_ github access token for running sourcecred
export SESSION_SECRET=keyboard cat                                      # some secret phrase, put anything here
export SOURCECRED_BIN=/some_path_to/sourcecred/bin/sourcecred           # path to sourcecred binary
export SOURCECRED_OUTPUT=$PWD/data/cred
export KEY_PATH=$PWD/some_private_key.pem                               # for json web token
export PGUSER=postgres
export PGPASSWORD=postgres
export DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:5432/credao
export PORT=4000
  1. npm run db:setup (need postgres installed)
  2. npm run dev
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].