Credao
Aragon DAOs for Github; leveraging SourceCred for token airdrops
Install / Use
/learn @1Hive/CredaoREADME
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:
- a db schema
- a next.js app
- PostGraphile graphql interface for data access/manipulation
- create dao with airdrop template
- autogen wallets for airdrop recipients
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:
- clone and
yarn - create
.envfile 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
npm run db:setup(need postgres installed)npm run dev
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
