Tooling to compute Cred scores for the Ocean Collective using the Sourcecred social algorithm.
- Node (10.x.x - 12.x.x)
- Yarn
- Serve (npm -i -g serve) (To deploy the Frontend graph locally)
git clone https://github.com/sourcecred/sourcecred.git
cd sourcecred
yarn install
See Spec
- Sources
- Ocean Protocol Official Discourse forum (AKA Port)
- Ocean Collective Github Org
- Weights Spec (WIP NOT Active using defaults)
Cred Scores can be updated locally by running the following commands:
export SOURCECRED_GITHUB_TOKEN=YOUR_GITHUB_TOKEN # You can generate a personal API Token here -> https://github.com/settings/tokens
export sc=PATH_TO_YOUR_SOURCECRED_LOCAL_REPO
./update.sh
serve ./docs # Frontend will be available at http://localhost:5000
The Github action is in charge of both re-computing the Community Cred scores and updating the Public UI Graph every week (Sun at 23:59)
- Apache License, Version 2.0, (LICENSE or https://www.apache.org/licenses/LICENSE-2.0)