# Scribble

[BASE product page](<https://base.akulich.dev/en/library/scribble/>) · [Resource](<https://github.com/consensys/scribble>)

ID: scribble · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Specification\-based Solidity contract instrumentation: it converts behavioral assertions into runtime checks for smart contract logic testing\.

## Type

Test automation

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/scribble/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/scribble/#resource-access>)

Code and local use under Apache\-2\.0\.

## [Paid features and costs](<https://base.akulich.dev/en/library/scribble/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/scribble/#resource-access>)

Code and local use under Apache\-2\.0\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/scribble/#resource-tasks>)

- Test Solidity contracts against specifications
- Instrument the contract and run tests checking the added runtime assertions

## Category IDs

- quality

## Subcategory IDs

- quality\.testing

## Tags

- Scribble
- test
- Development

## Also known as

- consensys/scribble
- scribble

## [Selection purpose](<https://base.akulich.dev/en/library/scribble/#resource-selection>)

Test Solidity contracts against specifications

## [Choose this when](<https://base.akulich.dev/en/library/scribble/#resource-selection>)

- Test Solidity contracts against specifications
- Instrument the contract and run tests checking the added runtime assertions

## [Requirements](<https://base.akulich.dev/en/library/scribble/#resource-selection>)

- Solidity source with specifications and the eth\-scribble npm CLI are required; the editor extension is optional\.

## [Limitations](<https://base.akulich.dev/en/library/scribble/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: Apache\-2\.0 for the code; third\-party components retain their own terms\.
- The specification language intentionally cannot express every possible property; assertions do not prove the absence of all contract errors\.

## [Questions before use](<https://base.akulich.dev/en/library/scribble/#resource-faq>)

### What can you use for free in Scribble?

Code and local use under Apache\-2\.0\.

### What additional costs might arise with Scribble?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Scribble?

Apache\-2\.0 for the code; third\-party components retain their own terms\.

### How do you get started with Scribble?

Define expected contract properties as supported annotations\. Instrument the contract and run tests checking the added runtime assertions\. Run the check locally and save the report in CI\.

### How can Scribble be used with fuzzing?

The README positions this as runtime verification for property\-based testing: prepared contracts can be tested with Diligence Fuzzing or Mythril\. Checked properties are explicitly defined\.

### Is the VS Code extension built into the CLI?

No\. The syntax highlighting and suggestion extension is maintained in a separate repository; distinguish extension and CLI errors\.

## Sources for the selection guide

- [https://github\.com/consensys/scribble](<https://github.com/consensys/scribble>)
- [https://raw\.githubusercontent\.com/consensys/scribble/HEAD/README\.md](<https://raw.githubusercontent.com/consensys/scribble/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/consensys/scribble/HEAD/LICENSE](<https://raw.githubusercontent.com/consensys/scribble/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/scribble/#resource-scenario>)

Test Solidity contracts against specifications\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- One important workflow and its expected result\.
- A test environment with controlled data\.

## Steps

1. Define expected contract properties as supported annotations\.
2. Instrument the contract and run tests checking the added runtime assertions\.
3. Run the check locally and save the report in CI\.

## Check your result

- The check detects a deliberately broken workflow\.
- The result can be reproduced without depending on a personal session\.

## [License](<https://base.akulich.dev/en/library/scribble/#resource-license>)

Apache\-2\.0 for the code; third\-party components retain their own terms\.

## License explanations for the specified scope

### Apache 2\.0 — permissive license with patent terms

You can use and modify the code in commercial and closed\-source projects\. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided\. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks\.

[License terms](<https://www.apache.org/licenses/LICENSE-2.0>)

## [Sources](<https://base.akulich.dev/en/library/scribble/#resource-sources>)

- [Official source](<https://github.com/consensys/scribble>)
- [Official source](<https://raw.githubusercontent.com/consensys/scribble/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/consensys/scribble/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
