https://github.com/giveth/givback-calculation
Calculate givback calculation for giveth donors
https://github.com/giveth/givback-calculation
Last synced: about 1 year 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 (over 4 years ago)
- Default Branch: staging
- Last Pushed: 2025-02-19T13:48:47.000Z (over 1 year ago)
- Last Synced: 2025-03-23T17:22:43.358Z (about 1 year ago)
- Language: TypeScript
- Size: 793 KB
- Stars: 23
- Watchers: 13
- Forks: 5
- Open Issues: 4
-
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