Agregate Leaderboards: USD ADA
We want to increase the credibility of published donations. This can be done in many ways, some fancy others simpler. The only bulletproof way is to make charities publish Cardano addresses so that SPOs can show that they actually sent money to that specific charity. Unfortunately this is a solution that is a very long way of. To have a standardized information pool about donations and at least enable some degree of trust and auditability in that, we created this repository.
You cannot merge on your own to this repository (even admins cannot), you need to submit a PR which will be reviewed by the CI and one member of the CardanoMDP github organization (see: Members List).
- Fork this repo
- In your fork:
- Create a folder named like your pool's
Ticker
- Add your donation files
- Create a
donations.yml
(see: example.donations.yml) If you are unfamiliar with Yaml check out this 5 minute tutorial - Submit a pull request.
- Create a folder named like your pool's
- Once a pull request is created the members of the
CardanoMDP
github organization will be notified - Make suree the CI tests pass. If the middle check in your PR is red there are errors in your donations.yml that you need to fix
Click on
details
to see what check went wrong (typically either a file reference is incorrect or a required field is missing).
This repository is meant to represent a dedicated space to each SPO. The intended folder structure is as follows
-| TICKER
|- donations.yml (required)
|- donation-proof-2020-12.jpg <- You will be referencing these images. You are free to name them as you like.
|- donation-proof-2021-01.jpg
|- donation-proof-2021-02.jpg
|- Some_Folder <- you can also organize your extra files in folders, just don't forget to add the folder names to the paths in donations.json
| TICKER
| TICKER
| TICKER
| TICKER
| TICKER
| TICKER
For a documented example see example.donations.yml.
For a realworld example see the SPEC folder.
If you have been given write permissions to CardanoMDP/Donations
you can now aprove Pull Requests. To do this, please keep the following things in mind.
- Check that the uploaded receipts identify the name of the operator or the pool
- Check that the dates match (timezone issue might arise here)
- Importantly Check the reported values that are being claimed
Some other things to keep in mind are:
- Is this receipt unique? Ideally a receipt should have some sort of official tx id
- Is the receiving party a real charity (they should have a website and ideally some sort of bank account info)
- Is there a possibility the operator is paying themselves?
Formating checks:
- Ensure that
ada
andusd
values aredot
denominated42.1
is fine,is not!42,1
When you submit a PR, if your submitted branch isn't up to date with the CardanoMDP/Donations
repository we will not be able to merge your PR.
Because of that you need to make sure that your forked repo is up to date with with ours.
Two ways of doing this:
- Using the github page of your repository
- Using git CLI
-
Using the github page of your repository
-
Using the git CLI
- Clone your fork and navigate to the root of your repository
- Add the upstream repository
git remote add upstream git://github.com/CardanoMDP/Donations.git
- Fetch upstream
git fetch upstream
- Merge upstream main branch with your main branch
git merge upstream/main main
- Push the up-to-date repository to your fork
git push origin