No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.eslintrc.js
README.md
index.js
package-lock.json
package.json
yarn.lock

README.md

Installation

NodeJs

If you haven't installed NodeJS yet, run the following commands

# Install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
# Install latest node
nvm install node

Install solcjs

# Install solcjs
npm i -g solc

Install our tools

npm i -g aflsol

How to fuzz

  1. Create Project folder
cd /your/project/folder
aflsol init # it will create contracts/ and testcases/ folder
  1. Copy .abi and .bin file of your contract to contracts/ folder.
  2. Run fuzz in your project folder, for example: your abi file name is fuzzer.abi
cd /your/project/folder
aflsol fuzz fuzzer.abi 600 # 600 is duration in seconds