{"schemaVersion":1,"id":"scribble","name":"Scribble","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/scribble/","officialUrl":"https://github.com/consensys/scribble","isCatalog":false,"description":"Specification-based Solidity contract instrumentation: it converts behavioral assertions into runtime checks for smart contract logic testing.","tasks":["Test Solidity contracts against specifications","Instrument the contract and run tests checking the added runtime assertions"],"categoryIds":["quality"],"subcategoryIds":["quality.testing"],"tags":["Scribble","test","Development"],"aliases":["consensys/scribble","scribble"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under Apache-2.0.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"Apache-2.0 for the code; third-party components retain their own terms.","selectionGuide":{"purpose":"Test Solidity contracts against specifications","chooseWhen":["Test Solidity contracts against specifications","Instrument the contract and run tests checking the added runtime assertions"],"considerInstead":[],"requirements":["Solidity source with specifications and the eth-scribble npm CLI are required; the editor extension is optional."],"limitations":["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."],"faq":[{"question":"What can you use for free in Scribble?","answer":"Code and local use under Apache-2.0."},{"question":"What additional costs might arise with Scribble?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for Scribble?","answer":"Apache-2.0 for the code; third-party components retain their own terms."},{"question":"How do you get started with Scribble?","answer":"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."},{"question":"How can Scribble be used with fuzzing?","answer":"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."},{"question":"Is the VS Code extension built into the CLI?","answer":"No. The syntax highlighting and suggestion extension is maintained in a separate repository; distinguish extension and CLI errors."}],"related":[],"sources":["https://github.com/consensys/scribble","https://raw.githubusercontent.com/consensys/scribble/HEAD/README.md","https://raw.githubusercontent.com/consensys/scribble/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Test Solidity contracts against specifications.","inputs":["One important workflow and its expected result.","A test environment with controlled data."],"steps":["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."],"checks":["The check detects a deliberately broken workflow.","The result can be reproduced without depending on a personal session."]},"sources":["https://github.com/consensys/scribble","https://raw.githubusercontent.com/consensys/scribble/HEAD/README.md","https://raw.githubusercontent.com/consensys/scribble/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"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.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Test automation","kind":"tool","pricingNote":"Code and local use under Apache-2.0. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/consensys/scribble","label":"Official source"},{"url":"https://raw.githubusercontent.com/consensys/scribble/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/consensys/scribble/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"apache-2","title":"Apache 2.0 — permissive license with patent terms","scope":null,"summary":"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.","url":"https://www.apache.org/licenses/LICENSE-2.0"}],"entryIds":[],"composition":null}