Practical overview
When it fits
Use Scribble when a Solidity testing workflow needs runtime checks for specified contract properties, particularly before property-based testing or analysis with compatible off-the-shelf tools.
Who it is for
- Solidity developers adding explicit behavior or security properties to contract tests.
- Smart-contract auditors and testing teams preparing instrumented source for fuzzing or analysis.
Documented uses
- Express contract properties as Scribble specifications.
- Instrument Solidity source so properties can be checked during testing.
- Prepare contracts for property-based testing or analysis with tools such as Diligence Fuzzing or Mythril.
Requirements & limits
The project README documents npm installation for the CLI and identifies the project as Apache-2.0 licensed.
- The documented primary interface is a CLI that accepts a Solidity source file.
- Scribble handles specification and instrumentation; property-based testing or analysis is carried out as part of a broader workflow.
- The project notes that some properties may be difficult or impossible to express.
- VS Code syntax highlighting and hover hints are provided by a separate extension and repository.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install Scribble and instrument a Solidity file
Install the CLI and pass a Solidity source file to Scribble for instrumentation.
Before you start
- npm
- A Solidity source file, such as sample.sol
Steps
Install the package globally with npm install -g eth-scribble.
Run scribble sample.sol, replacing the example filename with the Solidity source file to use.
Consult scribble --help for available CLI features.
Expected outcome
The documented CLI invocation applies Scribble to the supplied Solidity source file.
Guide limitations
- The README does not specify the resulting file handling or a subsequent testing command.
- Some properties may be difficult or impossible to express in Scribble.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 13 October 2026
- Original website title
- ConsenSysDiligence/scribble · Official homepage title · retained in its source language

