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

DadeKuma/bot-racer

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/<year>.json
  3. Keep the same format as this template:
{
    "name": "",
    "data": {
        "judge": "",
        "winner": [ ],
        "A": [ ],
        "B": [ ],
        "C": [ ],
        "prize": {
            "winner": 0,
            "A": 0,
            "B": 0
        }
    }
}
  1. The Bot name must be available in bots.json
  2. The Judge name must be available in judges.json
  3. Open a pull request

Adding a new Bot/Judge

  1. Modify bots.json to add a new Bot
  2. Modify judges.json to add a new Judge
  3. The order must be alphabetically sorted, ignoring the case

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •