Examples for working with the Meadow toolbox for Ethereum smart contracts.
Tested on Windows. Should run on Mac as well, and possibly Linux.
On Windows, install:
- Visual Studio Code 1.29 - must be this older version due to a compatibility problem at time of writing
- Meadow and dependencies as described in the Meadow docs
- Visual Studio Code extensions:
- Solidity Debugger (
hosho.solidity-debugger
) - solidity (
juanblanco.solidity
) - C# (
ms-vscode.csharp
)
- Solidity Debugger (
Two demonstration contracts are included:
- Simple HelloWorld contract from Meadow example project
- Basic ERC20 token (thanks to https://github.com/giladHaimov/)
And some tests for both.
Tests can be run and debugged in VS Code using Solidity debugger as described in the Meadow docs. Place breakpoints, click Debug Test, and off you go.