Write smart contract specifications using Scribble.
Develop Smart Contracts with runtime verification and fuzzing.
Supercharge your smart contract testing
Scribble is a specification language and runtime verification tool for translating high-level specifications into Solidity code.
Smart contracts can now be annotated with properties instead of having to be stored separately. Once the specification has been completed, Scribble transforms annotations to concrete assertions that confirm the specification.
In addition to writing properties, developers can use tools such as Hacksafe Fuzzing to test smart contracts automatically.
TAKE YOUR SECURITY TEST WITH FUZZING !!
npm install -g eth-scribble
Safe & Secure
Verify that properties are never violated by property-based testing.
Effortless
Properties cab be directly written into your smart contracts.
Verifiable
With Scribble, you can instrument smart contracts with runtime assertions to enhance your Fuzzing campaigns.
Why Scribble?
Provide a security audit that goes beyond traditional security audits by writing additional test cases and specifications to allow for specific contract properties to be verified.
- It’s easy : Scribble is based on solidity syntax. It’s easy to get started!
- It’s widely compatible : We use Solidity assertions so you can use most automatic testing tools.
- It’s accessible : Write your specification where the code is.
- It’s great for documentation : Specifications are easily tracked and they describe exactly what the code does.
- It’s testable : Extend your test suite by writing properties!
- It’s secure : Find bugs and fix them!
Sample Use Case
If a contract is designed to ensure a user’s token balance never exceeds the total token supply, this can be verified with a high degree of certainty that it will never occur.
Once a smart contract is enabled with Scribble comments, any security tool that works by checking assertions can be used for verification, including fuzz testers, symbolic analyzers, and even Solidity’s own built in SMT checker.
Our writing agency consists of experienced SEO professionals
npm install -g eth-scribble
Tutorials
Check out these tutorials to quickly get started using Scribble:
Eager to learn more?
Read through these Scribble user guides: