Skip to content

DevProof is a blockchain-powered platform that tracks and rewards developers for their contributions on GitHub. It leverages smart contracts to ensure fair and transparent reward distribution based on the quality of contributions.

Notifications You must be signed in to change notification settings

manicdon7/DevProof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Dev Proof

Overview

DevProof is a blockchain-powered platform that tracks and rewards developers for their contributions on GitHub. It leverages smart contracts to ensure fair and transparent reward distribution based on the quality of contributions. Developers can stake Core tokens, earn rewards, and generate additional yield through a weekly leaderboard system. AI is integrated into the platform to validate the legitimacy of commits, ensuring that only meaningful contributions are considered for rewards. This helps maintain fairness and prevents spam or low-quality submissions. With DevProof, developers are incentivized to make impactful contributions while benefiting from a decentralized and trustless reward system.

Features

  • Weekly GitHub contribution tracking
  • Fair reward distribution using Core tokens
  • Staking mechanism with MetaMask integration
  • Leaderboard ranking system
  • AI-powered commit verification using Pollinations API
  • Email notifications for updates
  • Chatbot support for developer queries

Technologies Used

  • Frontend: Vite, React.js, TailwindCSS, JavaScript
  • Backend: Node.js, Firebase, Hardhat
  • Blockchain: Solidity, Ether.js
  • APIs: GitHub REST API, Pollinations API
  • Authentication: GitHub OAuth
  • Email Notifications: NodeMailer

Project Links

How It Works

  1. Developers connect their GitHub and MetaMask wallets.
  2. They stake Core tokens to participate in the weekly reward system.
  3. GitHub contributions are analyzed using the Pollinations API.
  4. Points are assigned based on contribution quality and quantity.
  5. The top contributors are ranked on a leaderboard and rewarded accordingly.
  6. Yielding mechanism allows for additional rewards over time.

Challenges Faced

  • Ensuring fair reward distribution while avoiding spam and low-quality contributions.
  • Managing GitHub API rate limits for efficient data fetching.
  • Optimizing smart contracts to reduce gas fees.
  • Implementing security measures to prevent fraudulent activities.

Future Plans

  • Expanding support for additional version control platforms.
  • Introducing more staking options and reward mechanisms.
  • Enhancing security with advanced fraud detection.
  • Improving AI algorithms for better commit evaluation.

Team Members

  • Manikandan
  • Naveen Rajan
  • Ganesh

Getting Started

Prerequisites

  • Node.js installed
  • MetaMask wallet setup
  • GitHub account

Installation

# Clone the frontend repo
git clone https://github.com/manicdon7/DevProof.git
cd DevProof
npm install
npm run dev

# Clone the smart contract repo
git clone https://github.com/manicdon7/devproof-contracts.git
cd devproof-contracts
npm install
npx hardhat compile

Running Locally

  1. Start the frontend:
    npm run dev
  2. Deploy smart contracts:
    npx hardhat run scripts/deploy.js --network <network-name>
  3. Start backend services if needed.

License

This project is licensed under the MIT License.

Folder Structure

DevProof/
├─ client/
│  ├─ components/
│  │  ├─ BotButton.jsx
│  │  ├─ ChatStorage.jsx
│  │  ├─ ClickSpark.jsx
│  │  ├─ CoreMate.jsx
│  │  ├─ CustomConnectButton.jsx
│  │  ├─ EmpowerSection.jsx
│  │  ├─ FeaturedSection.jsx
│  │  ├─ FuzzyText.jsx
│  │  ├─ GithubProvider.jsx
│  │  ├─ HeroSection.jsx
│  │  ├─ HowItWorksSection.jsx
│  │  ├─ JoinSection.jsx
│  │  ├─ LeaderBoardSection.jsx
│  │  ├─ navbar.jsx
│  │  ├─ NewsLetterSection.jsx
│  │  ├─ RotatingText.jsx
│  │  ├─ SpotLightCard.jsx
│  │  ├─ WhyChooseSection.jsx
│  ├─ context/
│  │  └─ index.jsx
│  ├─ hooks/
│  │  ├─ usePinata.js
│  │  └─ useSigner.js
│  ├─ json/
│  │  └─ abi/
│  │     ├─ RewardDistribution.json
│  │     ├─ Staking.json
│  │     └─ YieldPool.json
│  ├─ pages/
│  │  ├─ Dashboard.jsx
│  │  ├─ GithubPermission.jsx
│  │  ├─ Home.jsx
│  │  ├─ LeaderBoard.jsx
│  │  ├─ NotFound.jsx
│  │  ├─ Rewards.jsx
│  │  ├─ Stake.jsx
│  ├─ public/
│  │  ├─ fonts/
│  │  │  ├─ Lexend[wght].ttf
│  │  │  ├─ Rubik-Regular.ttf
│  │  ├─ core.png
│  │  ├─ devproof-logo.png
│  │  ├─ vite.svg
│  ├─ src/
│  │  ├─ Api/
│  │  │  └─ Github.js
│  │  ├─ Providers/
│  │  │  ├─ Protected.jsx
│  │  │  ├─ RainbowKitProvider.jsx
│  │  ├─ services/
│  │  │  └─ githubServices.js
│  │  ├─ App.jsx
│  │  ├─ index.css
│  │  ├─ main.jsx
│  ├─ utils/
│  │  └─ ContractIntegration.js
│  ├─ .env
│  ├─ .env.example
│  ├─ .gitignore
│  ├─ eslint.config.js
│  ├─ firebase.config.js
│  ├─ index.html
│  ├─ LICENSE
│  ├─ package-lock.json
│  ├─ package.json
│  ├─ README.md
│  ├─ vercel.json
│  └─ vite.config.js
├─ server/
│  ├─ lib/
│  │  ├─ schema/
│  │  │  └─ index.js
│  │  ├─ Connect.config.js
│  ├─ utils/
│  │  ├─ classify.js
│  │  ├─ coreMateUtils.js
│  │  ├─ SendEmail.js
│  │  ├─ Templates.js
│  ├─ .env
│  ├─ .gitignore
│  ├─ index.js
│  ├─ package-lock.json
│  ├─ package.json
│  ├─ vercel.json
└─ README.md

About

DevProof is a blockchain-powered platform that tracks and rewards developers for their contributions on GitHub. It leverages smart contracts to ensure fair and transparent reward distribution based on the quality of contributions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •