Decentralized bug bounty platform built on Stacks blockchain, enabling trustless vulnerability reporting and automated rewards.
Contract Address: SP31PKQVQZVZCK3FM3NH67CGD6G1FMR17VQVS2W5T
- Trustless escrow system for bounty funds
- Multi-tier severity classification
- Automated payout on approval
- Researcher reputation tracking
- Dispute resolution mechanism
- Real-time bounty dashboard
bounty-vault.clar Core contract managing bounty creation, submissions, and payouts.
reputation.clar Tracks researcher credibility and historical performance.
dispute-resolver.clar Handles conflicts with community arbiter voting.
escrow.clar Milestone-based escrow system for locked payments between employers and workers. Supports creation, milestone tracking, activation, release, disputes, and refunds.
React application with Stacks Connect integration for wallet management and contract interactions.
The platform is deployed and ready to use on Stacks mainnet!
- Connect your wallet at Solve-Earn (coming soon)
- Browse bounties and start reporting vulnerabilities
- Earn rewards for valid submissions
# Verify deployment
cd scripts
node test-readonly.js
# Setup your wallet
cp .env.example .env
# Add your STACKS_PRIVATE_KEY to .env
# Run interactive tests
node test-interactive.js📚 Full Testing Guide: READY_TO_TEST.md
git clone https://github.com/yourusername/solve-earn.git
cd solve-earn
# Test contracts
clarinet test
# Run frontend
cd frontend
npm install
npm run devVisit: http://localhost:5173
- READY_TO_TEST.md - Complete testing guide
- MAINNET_DEPLOYMENT.md - Deployment details
- scripts/README.md - Testing scripts overview
- scripts/TESTING.md - Comprehensive testing docs
- docs/API.md - Contract API reference
- docs/ARCHITECTURE.md - System architecture
bash scripts/deploy-mainnet.shThe frontend reads VITE_STACKS_NETWORK from environment variables to connect
to the correct Stacks network. Copy the example env file and set the desired
network:
cd frontend
cp .env.example .env
# Edit .env: set VITE_STACKS_NETWORK to mainnet, testnet, or devnetCLI scripts use STACKS_NETWORK (without the VITE_ prefix):
STACKS_NETWORK=testnet node scripts/test-readonly.jsbash scripts/build-frontend.sh- Connect wallet
- Create bounty with reward tiers
- Review submissions
- Approve/reject findings
- Automatic payouts on approval
- Connect wallet
- Browse active bounties
- Submit vulnerability reports
- Earn reputation and rewards
- Participate in dispute resolution
create-bounty: Initialize new bounty programsubmit-vulnerability: Submit security findingapprove-submission: Accept and pay researcherreject-submission: Decline submissionclose-bounty: End program and withdraw remaining funds
register-researcher: Create profileupdate-reputation-on-acceptance: Boost scorecalculate-success-rate: Get researcher metrics
- IPFS integration for report storage
- Multi-signature approval workflow
- Automated vulnerability scanning
- Cross-chain bridge support
- Mobile application
Contributions welcome. Please open issues or submit pull requests.
MIT License - see LICENSE file
Built with Stacks - Secured by Bitcoin