Skip to content
Cryptocurrency donation daemon
Go Nix
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows Implements global dashboard Jan 19, 2020
dashboard
database
deploy Fix url Jan 12, 2020
donate-ci Show only 10 top issues Jan 30, 2020
.gitignore Ignore binaries Jan 13, 2020
LICENSE
README.md Update README.md Feb 3, 2020
default.nix
deps.nix
go.mod lib/cryptocurrency -> 1.5.1 Jan 19, 2020
go.sum
helpers.go Refactor Jan 15, 2020
main.go Bump version Jan 19, 2020
pay.go Do not send to same address Jan 16, 2020
query.go Check on pull request should be after a check on the error Jan 17, 2020

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 and Cardano).
  • 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.

You can’t perform that action at this time.