Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giveth/givback-calculation
Calculate givback calculation for giveth donors
https://github.com/giveth/givback-calculation
Last synced: 8 days ago
JSON representation
Calculate givback calculation for giveth donors
- Host: GitHub
- URL: https://github.com/giveth/givback-calculation
- Owner: Giveth
- License: gpl-3.0
- Created: 2021-09-28T07:22:31.000Z (about 3 years ago)
- Default Branch: staging
- Last Pushed: 2024-08-28T10:36:53.000Z (3 months ago)
- Last Synced: 2024-08-28T12:01:34.833Z (3 months ago)
- Language: TypeScript
- Size: 709 KB
- Stars: 23
- Watchers: 13
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Givback Calculation
This project has a endpoint to calculate the GIVback rewards.* The calculation formula inspired by https://github.com/Giveth/givbacks-scripts
* This is the notion notes about how we distribute the givback tokens
https://www.notion.so/Spec-GIVbacks-MVP-2d6335964e5b414082e41d7df89f9b3d* It implemented for resolving this issue https://github.com/Giveth/GIVeconomy/issues/39
## Requirements
Node 10 or higher## Instalation and run
1. `git clone https://github.com/Giveth/givback-calculation.git`
2. `cd givback-calculation`
3. `npm i`
4. `cp .env.example .env`
5. `npm start`
6. Browse http://localhost:3000/api-docs## Deploy
You just need to run docker-compose-develop.yml, and you dont need any dependency
`docker-compose -f docker-compose-develop.yml up `## Preview
It's the environment for calculate givback from aggregate donations fo https://giveth.io and https://trace.giveth.io
#### Production
https://givbacks.giveth.io/api-docs
#### Staging
https://givback.develop.giveth.io/api-docs