Skip to content

This project was created to assist participants and judges in Code4rena bot races

License

Notifications You must be signed in to change notification settings

0x6980/bot-racer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot Racer

This project was created to support Code4rena Bot Races with useful stats and tools.

A live website is available here.

Vercel Status

Contributing

Races

To add a new race, follow these steps:

  1. Fork this project
  2. Modify public/data/races.json
  3. Keep the same format as this template:
{
    "name": "",
    "data": {
        "judge": "",
        "winner": [ ],
        "A": [ ],
        "B": [ ],
        "C": [ ],
        "prize": {
            "winner": 0,
            "A": 0,
            "B": 0
        }
    }
}
  1. Open a pull request

Findings

To add a finding for your bot, follow these steps:

  1. Fork this project
  2. Modify public/data/findings.json
  3. Find an existing issue to match your bot
  4. Add your bot name as key and the message as value (follow the issue rules below)
  5. Open a pull request

Issue Rules

  1. Follow an alphabetical order when adding a new bot:
// good
{
    "Hound": "Incomplete NatSpec @return",
    "IllIllI-bot": "NatSpec @return argument is missing"
}

// bad
{
    "IllIllI-bot": "NatSpec @return argument is missing",
    "Hound": "Incomplete NatSpec @return"    
}
  1. Don't use markdown symbols (e.g. ` or *), copy-paste the title as it is shown on the markdown:
// good
{
    "Hound": "Incomplete NatSpec @return",
    "IllIllI-bot": "NatSpec @return argument is missing"
}

// bad
{
    "Hound": "Incomplete NatSpec `@return`",
    "IllIllI-bot": "NatSpec `@return` argument is missing"      
}

Development

  1. Clone this repository
  2. Run yarn install
  3. Run yarn start
  4. A local webserver will be available at http://localhost:3000/

About

This project was created to assist participants and judges in Code4rena bot races

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 74.3%
  • SCSS 19.1%
  • HTML 6.6%