Inspiration
As a full-stack developer, I’ve always believed in the power of collaboration. I’ve spent countless hours contributing to various repositories, fixing bugs, enhancing features, and learning from brilliant minds. But over time, I noticed a recurring frustration among developers—despite the dedication and effort we put into improving open-source projects, there was often no tangible reward beyond recognition on a contributor's list.
One evening, after successfully merging a pull request, I felt a mix of pride and frustration. While contributing felt rewarding, I realized that many contributors, especially those who commit their free time, deserved more than just a mention in a changelog. There needed to be a way to offer fair, decentralized incentives for this effort, something that could drive more innovation and engagement in open-source projects.
Around the same time, I was delving deeper into blockchain technology and discovered Tezos. Its energy-efficient, secure platform with low transaction fees immediately caught my attention. It was then that the idea struck me: What if I could combine my experience as a full-stack developer with blockchain to create a system that automatically rewards contributors when their pull requests are merged? This would bring transparency and trust to the process, motivating developers to contribute more meaningfully.
That’s how my project was born—a decentralized application (dApp) built on the Tezos blockchain, integrated with GitHub. This dApp allows repository owners to reward contributors using smart contracts, providing not only recognition but also financial incentives. By combining my love for open-source with my skills in full-stack development and blockchain, I aim to create a system that fosters stronger collaboration and continuous innovation in the open-source world.
What it does
Automatically rewards GitHub contributors for successful pull request merges via Tezos smart contracts, fostering decentralized, transparent open-source development.
How we built it
Frontend: Developed using React for the user interface, allowing contributors and repo owners to log in, track repositories, and view contributions.
Backend: Built with Node.js and Express to handle authentication, communicate with the GitHub API, and trigger the payment process on successful pull requests.
Database: PostgreSQL was used to store repository data, contributor details, and pull request information for efficient access and querying.
GitHub Integration: Integrated GitHub's API and webhooks to track pull request submissions and merges in real-time.
Tezos Blockchain: Smart contracts were written using Michelson or SmartPy on the Tezos blockchain to securely automate payments.
Wallet Integration: Integrated Tezos wallets for repository owners and contributors, enabling seamless token transactions.
Payment Flow: Once a pull request is successfully merged, the backend triggers a smart contract, transferring funds from the repo owner's wallet to the contributor's wallet.
Challenges we ran into
GitHub API Rate Limits: Handling frequent API calls to track repository and pull request data may hit GitHub's rate limits, affecting real-time updates.
Smart Contract Complexity: Writing robust smart contracts on Tezos requires ensuring security and efficiency, especially when dealing with funds, to prevent vulnerabilities.
Blockchain Transaction Delays: Tezos blockchain transactions, though faster than some, still involve confirmation times, potentially causing delays in rewarding contributors.
Security Risks: Ensuring secure handling of user credentials, wallet integrations, and API keys is critical to prevent breaches.
Accomplishments that we're proud of
(Add your accomplishments here)
What we learned
We learned GitHub integration, smart contract development on Tezos, secure wallet management, and building decentralized, automated payment systems.
What's next for GitFund
Next for GitFund: expand blockchain support, enhance contributor reputation, introduce flexible payments, grow community engagement, and develop a bounty marketplace.
Built With
- nextjs
- tezos
Log in or sign up for Devpost to join the conversation.