DevEarn is a platform for developers to solve GitHub issues and earn crypto rewards on the Solana Blockchain.
- Create Bounties: Sign up with GitHub and create a bounty to reward someone for solving issues in your selected repository.
- Submit PRs: After making a pull request (PR), post a link to your PR on the listed bounty you’ve worked on.
- Verify & Claim: The original poster of the bounty verifies the PR and accepts the submission, allowing the developer to claim the tokens allocated to the bounty.
- Reward Contributors: Airdrop rewards to repository contributors using Blinks, which can be claimed as part of an airdrop campaign (Explained better in later section).
Go to Circle USDC faucet and select solana Devnet: Circle USDC faucet
Mint address of USDC: 4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU
- /api/actions/blink-airdrop : Helps you create airdrop campaigns for your contributors via blinks. Try it out here: Dial.to
- /api/actions/blink-claim?campaignId=(id here received from blink-airdrop) : Helps the devs(repository contributors) to claim the airdrops created from blink-airdrop.
- /api/actions/airdrop?campaignId=(id created from dashboard) : Helps the devs(repository contributors) to claim the airdrop for the campaigns created from /reward-contributors dashboard.
- /signin: Sign in or sign up with GitHub.
- /bounties: View available bounties.
- /bounties/create-bounty: Create a new bounty listing.
- /your-listings: View statistics on your listed bounties.
- /bounties/[bountyId]:
- View details of your listed bounty if you are the owner and can accept submission from here.
- If you’re not the owner, submit a link to your PR if the project is live.
- /leaderboard: View the top performers on the bounties.
- /reward-contributors/create-airdrop-campaign: Create an airdrop campaign Blink to reward contributors to a repository.
- /reward-contributors: View details of your created airdrop campaigns.
- /settings: Change your username.
- Run the command
cp .env.examples .env
to set up your environment variables. - Obtain the required environment variables:
- DB Variables: From Vercel Postgres.
- RPC: From any Solana RPC provider (e.g., Helius).
- AUTH_SECRET: Run
npx auth secret
to generate it. - AUTH_GITHUB_ID and AUTH_GITHUB_SECRET: Register a new OAuth application on GitHub under Developer Settings to get these.apps and Register a new application to get them.
- RECLAIM_APP_SECRET and RECLAIM_APP_ID: Go to Reclaim Protocol and create a new application and select Github Username as the provider.
- Install dependencies with
npm i
. - Start the application with
npm run dev
.