-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method for contributors to receive / claim rewards #10
Comments
The push model makes sense. It seems the lightest approach would be to associate directly with where the work happens — GitHub so option 1 from the issue. On the site add a single opt-in for all contributors via a button (using Auth0 or Firebase) could authenticate the user, return a callback to a form where they submit their wallet address, and store it securely. On the backend via a quick cron job can periodically disburse funds based off of opted in users and net new contributions and have simple record keeping via a simple db (github_handle, points, points_paid_out) idk just a thought otherwise if want to go discord route tip.cc is the way to go for sure |
This tutorial demonstrates how to build a "Login with GitHub" button for a website. |
3 main parts to site generation: need github login + way to give a wallet address OR discord name |
Lit Protocol's Claimable Keys may be a good fit here. People can log in with GitHub oauth and claim a key that can claim their allocated rewards. |
We do this in our rewards platform using Privy. They support Solana and EVM. Can highly recommend. |
We want to reward contributors that create meaningful PRs to the repo, however we don't have any of their wallet information to send tokens with. How to make this as lightweight, few clicks, less code as possible?
1. Login with github on profiles page, then enter a wallet address and sign a message
Contributors just have to opt-ain once, at which point they can receive rewards continuously
We can then save the address with the wallet address somewhere secure
2. Meld discord + github accounts together somehow
If some claim, but others don't, it'd be useful to have a tracking system of who claimed and who didn't. There are tools for this as well such as https://www.drips.network/ and https://github.com/armitage-labs/armitage-monorepo, both EVM however. It's much easier to just use tip.cc IMO.
The text was updated successfully, but these errors were encountered: