/Solana-Bounty-Program

The Bounty Program makes it easy to find enthusiastic developers for open-source projects.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Solana Bounty Program

GitHub contributors GitHub license GitHub Language Figma Notion

screencapture-solana-bounty-program-vercel-app-explorer-2022-08-17-03_03_51 screencapture-solana-bounty-program-vercel-app-explorer-2022-08-17-03_04_07
Table of Contents
  1. Target audience
    1. How does this software benefit each group?
  2. Tech stack
  3. Development process
    1. Design
    2. Back-end
    3. Web3
  4. Team members

Target audience

This software aims to benefit the following groups of people:

  • Maintainers:
    • Owners of open-source repositories who wish to find talented and driven contributors and developers.
  • Hunters
    • Hackers wanting to join Web3 space or discover new, rewarding projects - without committing to a full-time position.
  • Funders
    • Crypto and open-source fans that want to drive the development of their favourite projects.

How does the software benefit each group?

  • Maintainer:
    • The Bounty Program makes it easy to find enthusiastic developers for open-source projects.
    • Open-source contributors get compensated for their work, enabling them to participate without becoming full-time developers.
    • It can additionally be used as an effective project management tool.
  • Hunter:
    • Completing bounties nets the bounty hunter levels, showcasing their commitment to open-source development as well as your past performance on the project.
    • Bounties are created by the maintainers of a project, and are assigned to contributors who are interested in working on the project.
  • Funder:
    • Funding bounties with crypto ensures that the projects you love have the resources to continue to grow and attract the most driven developers.
    • Transactions are performed on the powerful and reliable Solana network, and payments can easily be performed using Solana Pay.

Tech stack

Development process

Design

The UI was designed in a circular manner. Basic prototypes were created in Figma to establish the style system and map out basic interactions. Afterwards, the front-end was implemented using TailwindCSS. This approach allowed for the design to be iterated upon over time, without sacrificing agility during development and ensuring a rapid turnaround time.

Back-end

The backend is based primarily on Drill, a Web3 ecosystem by Heavy Duty that includes web services as well as NPM packages allowing the creation of bounty programs that are deeply integrated with Solana and GitHub. Using GitHub Actions, Drill automates the process of creating, funding, closing, and claiming bounties (with hunter, owner, and additional metadata stored as GitHub issues interacted with via authenticated GitHub API requests), of which only the critical information is stored on-chain. Therefore, the Bounty Program can be thought of as a fully-managed, two-part service that leverages both the GitHub API and Solana’s spl-token library for all of its transactions.

Web3

Crypto integration required the implementation of a custom Solana-based wallet adapter to ensure the flow of the design system remained consistent. The claiming and funding flows were achieved using Solana’s web3.js library and SWR. Solana Pay QR Code are dynamically added to smoothen the funding process for users.

Demo & verification

Team members

Hares Mahmoood
Hares Mahmoood
Héctor Reyes Manrique
Héctor Reyes Manrique
William Wang
William Wang
Zeyad Tarek
Zeyad Tarek