Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

BugBountyAgent

Decentralized bug bounty platform on ProbeChain Rydberg Testnet.

Features

  • Create funded bug bounty programs with scope and max reward
  • Submit bugs with severity levels (Info, Low, Medium, High, Critical)
  • Triage bugs with accept/reject and reward assignment
  • Automated bounty payouts
  • Reporter reputation tracking
  • Program funding and closure

Setup

npm install
cp .env.example .env
# Edit .env with your private key
npx hardhat compile
npm run deploy

Contract: BugBountyPlatform

Function Description
createProgram(name, scope, maxReward) Create program (payable)
submitBug(programId, severity, reportHash) Submit bug report
triageBug(bugId, accepted, reward) Triage a bug
payBounty(bugId) Pay accepted bug bounty
closeProgram(programId) Close and withdraw

Network