Aracred CLI runs SourceCred on a Discorse server, creates files for scores and user labels, and then lets you mint tokens for contribors in an Aragon DAO.
- First you need an Aragon DAO with the Transactions app installed.
- Then download and install the AraCred CLI.
- Then you'll need to download and install SourceCred.
- Then you can run
aracred
in the SourceCred folder to get a scores. - Then upload the scores to the DAO.
- Then vote to approve the new mint.
You can find a more detailed guide on this process here.
Clone the SourceCred Repo and install deps.
git clone https://github.com/sourcecred/sourcecred.git && cd sourcecred && npm i
Install the aragonCLI globally. If you have trouble installing the cli, check out this guide.
npm i -g @aragon/cli
Clone this repo and install deps.
git clone https://github.com/pythonpete32/aracred-cli/ && cd aracred && npm i
Create a secret.json
file in the root directory and add your github token.
{
"key": "YOUR_KEY_HERE"
}
Build the project.
npm run build
Link the package so it can be refrenced globaly.
npm link
Navigate back to the SourceCred folder and type aracred
into the terminal. This will create toMint.csv
and addresses.csv
files.
Edit addresses.csv
to add user's addresses and use aracred addresses
to obtain a new addresses.json
file that can be uploaded as local labels in Aragon Client.
This function says hello.
name
Some name to say hello for.
Returns any The hello.