Meadow
Meadow copied to clipboard
Integrated Ethereum implementation and tool suite focused on Solidity testing and development.
Meadow
An Ethereum implementation and tool suite designed for Solidity testing and development. The unit testing framework provides fast parallelized test execution, built-in code coverage reporting, strongly typed Contract interfaces with powerful code-completion, Solidity stacktraces for reverts and exceptions, breakpoint debugging and more.
Written completely in cross-platform C# with .NET Core. Meadow can be used in VS Code, Visual Studio, and JetBrains Rider.
Builds | Windows Status | MacOS Status |
Quick start
Install .NET Core SDK v2.1.4 or higher, then run these commands in a new directory for your project:
dotnet new -i Meadow.ProjectTemplate
dotnet new meadow
Open your project directory in VSCode or your favorite C# IDE.
Guides
-
Writing unit tests - getting started writing tests against Solidity contracts and generating code coverage reports.
-
Using the CLI - contract deployment and interaction against testnode or production.
-
Configuration - Specifying gas defaults, solc version, solc optimizer, accounts, RPC host, unit test parallelism, etc..
-
Usage examples; miscellaneous - ABI & RLP encoding, ECSign / ECRecover, testing reverts, etc..
Powerful Solidity contract development, deployment, and interaction

Provides an intuitive framework for writing C# to perform contract deployments, transactions, function calls, RPC requests, and more. Solidity source files are automatically compiled and exposed as C# classes with all contract methods, events, and natspec documentation. Includes a personal Ethereum test node that automatically is setup during test executions.
Visibility into Solidity revert / exception call stacks

Better understanding and investigation of Solidity execution problems.
Solidity Coverage Reports

Perform thorough testing of Solidity codebases. Generate HTML and JSON code coverage reports showing .sol source code coverage for line, branch, and function execution.
Solidity Debugger

Solidity debugger extension for Visual Studio Code supporting breakpoints, stepping, rewinding, call stacks, local & state variable inspection.