@crytic/echidna
v0.0.6
Published
Ethereum smart contract fuzzer
Downloads
11
Readme
Crytic for Javascript
This repo contains glue-code that provides easy access to the crytic suite of tools via npm
Modules
- Echidna: Simple wrapper around echidna binaries and a script that selects the correct one to run. Also contains some pre-made echidna contracts for fuzz-testing common use-cases such as ERC20 contracts.
- Python: (coming soon) Check out PyNPM about providing access to slither via npm
- Solidity: (coming soon) contracts for unit-testing common solidity edge cases eg misbehaving ERC20 tokens, low-liquidity exchanges + scripts for deploying them, etc
How To
Upgrade Echidna
Don't worry about downloading new versions of the binary when Echidna cuts a new release. Instead, increment the echidna version in ./versions
and run bash ops/download-echidna.sh
to have that done for you.
Once the new version is confirmed to work, you are welcome to delete the old binaries from ./bin
.
Publish on npm
Don't worry about manually incrementing the package version & running npm publish
. Instead, just run bash ops/npm-publish.sh
which will ask you for the new version & provide some sensible guardrails while publishing.