/audit-reports-2

check code4rena and sherlock for new reports and push as notification to discord

Primary LanguageGoMIT LicenseMIT

audit-reports

Go reference GitHub Workflow Status Go Report Card go version license GitHub Release

audit-reports will check https://code4rena.com/reports/ and https://app.sherlock.xyz/audits/contests for new reports and inform you via discord / log.

discord message

Getting started

Installing and building

git clone git@github.com:zaskoh/audit-reports.git

make build

Run

With the flag --config you can define the path to the config file.

If you want to get informed via discord you need the token and channel (add them to your config or set as environment variables DISCORD_TOKEN + DISCORD_CHANNEL).

If you just want to get the log in your terminal, use --no-discord flag.

Examples

go run main.go --config=config.yml --no-discord

DISCORD_TOKEN=xyz DISCORD_CHANNEL=zzz ./build/audit-reports

DISCORD_TOKEN=xyz DISCORD_CHANNEL=zzz ./build/audit-reports --config=/path/to/config.yml

Note

If you want to get informed in discord, you need a token and channel env. How to get them you can checkout https://github.com/zaskoh/discordbooter