The four things that help Code4rena wardens to do their best work are:

  1. A self-contained repository - with working commands that will build (at least) all in-scope contracts, and commands that will run tests producing gas reports for the relevant contracts

    <aside> <img src="/icons/info-alternate_purple.svg" alt="/icons/info-alternate_purple.svg" width="40px" /> Please check all code and tests on a fresh clone (using the specific commit that will be audited), and ensure that all tests are running smoothly.

    If some tests are expected to fail, and you don’t expect to fix them prior to your audit, please inform staff so we can note that for the auditors.

    </aside>

  2. Organized repo & readme, including well-commented code

  3. Video walkthrough, if possible (you can link this from the repo and also pop it into your warden-facing channel in our Discord). Here’s an example.

  4. Your presence in the C4 Discord - easy access for questions via DM or private threads

Repo setup tips

Technical notes for your engineers

In order to increase the chances of wardens finding all bugs in your code, there are a few technical things your team can do to contribute to the quality of the audit:


Next: Marketing and promotion