> For the complete documentation index, see [llms.txt](https://smart-explorer.gitbook.io/smart/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smart-explorer.gitbook.io/smart/running-smartexplorer/batch-mode.md).

# batch-mode

## Quick Start

Contracts in a directory can be executed in a batch,  i.e., MagicMirror will fuzz them one by one until all `.sol` contract files are fuzzed. When a contract file contains multiple contracts, MagicMirror will fuzz all and only the fully implemented contracts that are not inherited by another contract, since such contracts are often only used as parent contracts in most cases and not deployed on their own. &#x20;

As an example, to start fuzzing all contracts in `./sample_contracts/`, execute the following command.&#x20;

\*Note, the command is meant to be executed in the same directory where the `MagicMirror` executable resides.&#x20;

```
./smartexplorer batch-mode --folder_dir ./sample_contracts
```

The output format will be the same as `single-file-mode`. that was previously mentioned [here](https://smart-explorer.gitbook.io/smart/running-smartexplorer/single-file-mode). &#x20;
