-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Adding a new utility
Feist Josselin edited this page Jun 13, 2019
·
3 revisions
Slither can be used as a library to create new utilities. Official utils are present in https://github.com/crytic/slither/tree/master/utils
We recommend following the developper installation.
The skeleton util is present in utils/demo
To enable an util from the command line, update entry_points
in setup.py.
Installing Slither will then install the util.
- Favor the
logging
module rather thanprint
- Favor raising an exception rather than
sys.exit
- Add unit-tests (ex: scripts/travis_test_find_paths.sh)
Join our slack channel to get any help (#ethereum).