-
Notifications
You must be signed in to change notification settings - Fork 972
Adding a new utility
Josselin edited this page May 11, 2022
·
3 revisions
Slither can be used as a library to create new utilities. Official utils are present in tools
We recommend following the developper installation.
The skeleton util is present in tools/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).