Waffle is a library for writing and testing smart contracts.
Sweeter, simpler and faster than Truffle.
Works with ethers-js.
Simpler: Minimalistic, few dependencies.
Sweeter: Nice syntax, easy to extend.
Faster: Focus on the speed of tests execution.
Sweet set of chai matchers,
Easy contract importing from npm modules,
Fast compilation with native and dockerized solc,
Fixtures that help write fast and maintainable test suites,
Versions and ethers compatibility¶
0.2.3with ethers 3 and solidity 4,
1.2.0with ethers 4 and solidity 4,
2.*.*with ethers 4, solidity 4, 5 and ability to use native or dockerized solc.
3.*.*with ethers 5, solidity 4, 5, 6 and ability to use native, dockerized solc or dockerized vyper.
- Getting Started
- Basic testing
- Chai matchers
- Deprecated matchers
- Mock contract
- Migration guides