Cryptocurrency donation daemon.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dump_stack() 23f842ba3a
Follow redirect
3 weeks ago
.github/workflows Follow redirect 3 weeks ago
dashboard go mod tidy 1 month ago
database go mod tidy 1 month ago
deploy Reboot after upgrade 1 month ago
donate-ci Bump version 1 month ago
.gitignore Ignore binaries 6 months ago
LICENSE Initial 6 months ago
README.md Note about cryptocurrency library 1 month ago
default.nix Backward compatibility with 19.09 1 month ago
deps.nix Update deps.nix 1 month ago
go.mod go mod tidy 1 month ago
go.sum go mod tidy 1 month ago
helpers.go Refactor 5 months ago
main.go Bump version 1 month ago
pay.go lib/cryptocurrency -> 2.0.1 1 month ago
query.go lib/cryptocurrency -> 2.0.1 1 month ago

README.md

GitHub Actions Donate Donate

donate

Cryptocurrency donation daemon.

Goals:

  • KISS.
  • Zero-fee (the fee is voluntary as a donation to the project).
  • Self-hosted.
  • Multiple cryptocurrencies (Bitcoin, Ethereum, Cardano, and you can add other by yourself).
  • Multiple hosting (so far GitHub only).

How it works:

  1. (optional) The owner of the repository does setting up a donation daemon.
  2. The owner of the repository adds GitHub action (it’s the easiest way to work with GitHub).
  3. Someone opens an issue, then GitHub action shows cryptocurrency addresses (and updates from time to time).
  4. Someone solves the issue, adds to commit message Fixes #N, then put to pull request his BTC, ETH, ADA addresses in the format: BTC{address}, ETH{address}, ADA{address} et cetera;
  5. GitHub Action triggers payout on donation daemon.
  6. If no one acquired money then payout going to donation address (default is donating to this project).

This project uses Semantic Versioning.

API

Query donation address for issue:

curl -s 'https://donate.dumpstack.io/query?repo=github.com/jollheef/appvm&issue=3'

List all issues with cryptocurrency wallets address for repo:

curl -s 'https://donate.dumpstack.io/query?repo=github.com/jollheef/appvm' | json_pp

Trigger payout:

curl -s 'https://donate.dumpstack.io/pay?repo=github.com/jollheef/appvm&issue=3'

Run locally (with Nix)

nix run -f https://code.dumpstack.io/tools/donate/archive/master.tar.gz -c donate

Deploy

See deploy/README.md.