Crates.io | git-turbine |
lib.rs | git-turbine |
version | 0.0.4 |
source | src |
created_at | 2024-06-29 05:20:32.176224 |
updated_at | 2024-06-30 02:19:38.846771 |
description | Cryptocurrency for commits! |
homepage | |
repository | https://github.com/fossable/turbine |
max_upload_size | |
id | 1287159 |
size | 188,366 |
turbine distributes cryptocurrency to contributors of git repos.
Issue bounties can be counterproductive as they discourage collaboration and often attract minimum-quality solutions.
Instead of rewarding specific contributions like bug bounties, turbine reduces unfriendly competition by rewarding all contributions. Multiple authors can even work on the same issue and all get paid independently.
Although a complex change might deserve a larger award than a minor typo fix, turbine doesn't factor the magnitude of changes. Instead, a developer's award amount starts out small and increases over time as they make more contributions.
This incentivizes contributors to stick around and break their changes up into smaller chunks (which is often good for other reasons too).
It's up to the discretion of the person that merges PRs to make sure contributors aren't unfairly boosting their rewards. In the unbelievable event that such an injustice occurs, maintainers can cancel payouts or ban contributors.
turbine
owner steals the project's funds?Since turbine
is self-hosted, the crypto wallet is fully under control of the
project owner. We have to trust them not to misuse funds deposited in turbine
,
just like we have to trust them not to include a backdoor in the software (for example).
When you fund a project's turbine
, those funds directly support further development
of that project. It's entirely up to the maintainer what issues get worked on,
unlike the bug bounty model.
turbine
as a funderFirst, you need to find a repository that's hosting a turbine
. Here are some examples:
The turbine
homepage has the crypto wallet address that allows you to add funds.
turbine
as a contributorAll contributor commits must be GPG signed (because otherwise someone could impersonate your name in git history).
If you don't already have a GPG keypair, generate a new one:
gpg --full-generate-key
Make sure to use the same email address as your git config: git config user.email
.
Turn on commit signing globally (or on a per-repo basis):
git config --global commit.gpgsign true
git config --global user.signingkey <public key ID>
To allow turbine
to find your public key and verify commits, upload it to this
keyserver:
gpg --keyserver hkp://keys.gnupg.net --send-keys <public key ID>
Add your payment address to a signed commit message so turbine
knows who to pay.
If you ever update your GPG key or wallet address, this commit can be made multiple
times and the last one takes effect.
git commit --allow-empty -m "turbine: XMR <wallet address>"
Contribute as normal and turbine
will pay you automatically.
turbine
turbine
is fully dockerized and requires no persistent state.
docker run \
-e MONERO_WALLET_ADDRESS=<address> \
-e MONERO_WALLET_SPENDKEY=<private key> \
-e MONERO_WALLET_VIEWKEY=<private key> \
fossable/turbine \
--stagenet \
--repo <repo clone URL> \
--branch master \
--monero-block-height <wallet initial block height> \
--monero-wallet-password 1234