Demo / Video: https://youtu.be/K63IxGqn9iA
Contract Deployment: Ethereum Sepolia Testnet - 0xC381B1dd37B82810356EdD61Cb584e3228457aC7
Pitch Deck: https://docs.google.com/presentation/d/16OzAvUcfoifWxi6DJ5HUZrg5FovBUR2P-ktCL7ZGiJ0/edit?usp=sharing
Helix is a blockchain-backed platform that makes open-source collaboration trustless, fair, and secure. It combines a two-sided staking protocol (for both repository owners and issue solvers) with verifiable AI agents and secure user verification to eliminate collusion, overruns, Sybil attacks, and identity fraud.
Deployed on: Ethereum Sepolia testnet
This ensures predictable incentives, protected contributors (especially new developers), and verified AI assistance β all enforced through smart contracts and on-chain identity proofs.
- Collusion and code appropriation: Maintainers may view PRs and reuse code without merging or rewarding contributors.
- Incentive misalignment: Experienced developers can unintentionally overrun newcomersβ PRs, leading to unfair outcomes.
- Centralized trust dependency: Platforms like Gitcoin depend on manual fund releases by maintainers.
- Fake accounts and Sybil attacks: Multiple identities distort fairness and reward distribution.
- Unverified human contribution: Without verified identities, human participation cannot be proven.
Helix enforces fairness and transparency through:
- Two-Sided Staking β Both owners and solvers lock tokens; stakes are returned or slashed based on verified outcomes.
- Smart Contract β GitHub API Reconciliation β Each issue corresponds to a contract struct synchronized with GitHub metadata, detecting off-platform merges or policy violations.
- Verifiable AI Agents β Auditable AI models assist in PR review and code evaluation. Their actions and reputations are tracked on-chain.
- Prevent collusion or copying: Owners cannot bypass contributor PRs without losing their stake.
- Prevent unauthorized merges: Only assigned contributorsβ PRs can be merged; mismatches trigger slashing.
- Align incentives: Owners are economically motivated to follow Helixβs workflow, ensuring fairness.
- Sybil resistance: Staking deters spam and fake registrations.
- Exclusive assignment: Stakers gain exclusive rights and deadlines to resolve issues.
- Beginner protection: Unstaked overruns are excluded from rewards, ensuring fair opportunity.
- Verified identity: Secure verification proves genuine human participation.
- Each issue is a smart contract struct containing metadata and state.
- Owner stakes are released only when all associated issues are resolved and validated.
- Off-platform actions, unauthorized merges, or violations lead to slashing or redistribution of stakes.
- Auditable computation: AI agents generate outputs backed by verifiable proofs.
- Reputation system: Agent performance and trust metrics are stored on-chain, influencing task selection.
- Collaborative review: Multiple AI agents analyze PRs collectively to produce verifiable recommendations.
- Automated fairness: Smart contracts handle reward release without manual intervention.
- Beginner protection: Deadline-based staking ensures fair competition.
- Verified human contribution: Secure verification confirms authenticity.
- Sybil and DoS resistance: Contributor staking and nullifier checks prevent abuse.
- Transparent AI: All AI decisions are auditable and verifiable on-chain.
- Frontend: Next.js 14, TypeScript, TailwindCSS, Wagmi, Viem
- Backend: Python FastAPI, uAgents Framework
- Blockchain: Ethereum Sepolia testnet, Solidity Smart Contracts
- Smart Contract Development: Foundry (Forge, Cast, Anvil)
- AI: MCP Protocol, Multi-Agent Systems, ASI One API
- Identity Layer: Secure verification using advanced cryptographic proofs
- AI Agents: Distributed verifiable agents for code analysis, PR evaluation, and trust scoring
- GitHub Integration: Smart contract state continuously reconciled with GitHub issue and PR data
- Node.js 18+ and npm/yarn
- Python 3.8+
- MetaMask wallet
- GitHub account
- Sepolia ETH (get from Sepolia Faucet)
git clone https://github.com/your-username/helix.git
cd helixCreate monorepo/.env.local:
# NextAuth.js Configuration
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-nextauth-secret-key-here
# GitHub OAuth (Create at: https://github.com/settings/applications/new)
GITHUB_CLIENT_ID=your-github-client-id
GITHUB_CLIENT_SECRET=your-github-client-secret
# WalletConnect Project ID (Get from: https://cloud.walletconnect.com/)
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your-walletconnect-project-id
# Smart Contract Address (Sepolia)
NEXT_PUBLIC_CONTRACT_ADDRESS=0x14553856B61C2f653Cc167E31069068AC2c3f1d0
# Self.xyz Integration (Optional)
NEXT_PUBLIC_SELF_APP_NAME=Helix
NEXT_PUBLIC_SELF_SCOPE=
NEXT_PUBLIC_SELF_ENDPOINT=Create .env in root directory:
# GitHub API Token (Create at: https://github.com/settings/tokens)
GITHUB_TOKEN=your-github-personal-access-token
# Fetch.ai Agent Configuration
AI_IDENTITY_SEED=your-agent-identity-seed
# ASI One API Key (Get from: https://asi.one/)
ASI_ONE_API_KEY=your-asi-one-api-key
# Logging Configuration
LOG_LEVEL=INFOcd monorepo
npm install# Install Python dependencies
pip install -r requirements.txt
# Install uAgent dependencies
cd uagent
pip install -r requirements.txt
cd ..
cd uagent2
pip install -r requirements.txt
cd ..- Go to GitHub Developer Settings
- Create a new OAuth App:
- Application name: Helix
- Homepage URL: http://localhost:3000
- Authorization callback URL: http://localhost:3000/api/auth/callback/github
- Copy Client ID and Client Secret to your
.env.local
- Go to GitHub Personal Access Tokens
- Generate a new token with these scopes:
repo(Full control of private repositories)read:user(Read user profile data)user:email(Access user email addresses)
- Copy the token to
GITHUB_TOKENin your.env
- Visit WalletConnect Cloud
- Create a new project
- Copy the Project ID to
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID
The contract is already deployed on Sepolia at 0x14553856B61C2f653Cc167E31069068AC2c3f1d0.
If you want to deploy your own contract:
Prerequisites:
- Install Foundry
- Get Sepolia ETH from Sepolia Faucet
- Get API keys from Infura or Alchemy
Setup Environment:
cd contracts
cp .env.example .env
# Edit .env with your private key and API keysDeploy Contract:
# Compile contracts
forge build
# Deploy using the interactive script
chmod +x deploy.sh
./deploy.sh
# Or deploy manually with Foundry
forge script script/Deploy.s.sol:DeployDecentralizedIssueTracker \
--rpc-url https://rpc.sepolia.org \
--broadcast \
--verify \
--etherscan-api-key YOUR_ETHERSCAN_API_KEY \
-vvvvUpdate Frontend:
After deployment, update NEXT_PUBLIC_CONTRACT_ADDRESS in monorepo/.env.local with your new contract address.
cd monorepo
npm run devpython api_server.py# Start main agent
python main_agent.py
# In another terminal, start secondary agent
cd uagent2
python agent.py- Frontend: http://localhost:3000
- API Server: http://localhost:5000
- Agent Dashboard: Check console logs for agent endpoints
- Issue Management: Create, assign, and resolve issues on-chain
- Two-Sided Staking: Both maintainers and contributors stake ETH
- Reputation System: Track contributor and maintainer performance
- Automated Payouts: Smart contract handles fund distribution
- Slashing Mechanism: Penalize bad actors automatically
- Repository Analysis: Understand codebase structure and needs
- Issue Generation: Create meaningful issues based on repo analysis
- PR Review: Multi-agent code review with consensus
- Vulnerability Detection: Identify security issues and bugs
- Market Alignment: Suggest features based on market demand
- Wallet login (MetaMask)
- GitHub OAuth integration
- Issue listing + difficulty tiers
- AI-powered repo analysis view
- Automated PR review terminal
- Stake deposits + withdrawals
- Fairness verification logs
cd monorepo
npm run testcd contracts
forge testpython -m pytest tests/cd monorepo
npm run build
# Deploy to Vercel or your preferred platform# Docker deployment
docker build -t helix-backend .
docker run -p 5000:5000 helix-backend- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Helix brings trustless accountability to open-source collaboration through a hybrid of staking, verifiable AI, and zk-identity verification. By ensuring that every contribution is genuine, auditable, and economically aligned, Helix restores transparency, fairness, and trust to the open-source ecosystem.