Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.22 KB

index.rst

File metadata and controls

46 lines (37 loc) · 1.22 KB

Waffle Documentation

logo.png

Waffle is a library for writing and testing smart contracts.

Sweeter, simpler and faster than Truffle.

Works with ethers-js.

Philosophy:

  • Simpler: Minimalistic, few dependencies.
  • Sweeter: Nice syntax, easy to extend.
  • Faster: Focus on the speed of tests execution.

Features:

  • Sweet set of chai matchers,
  • Easy contract importing from npm modules,
  • Fast compilation with native and dockerized solc,
  • Typescript compatible,
  • Fixtures that help write fast and maintainable test suites,
  • Well documented.

Versions and ethers compatibility

  • Use version 0.2.3 with ethers 3 and solidity 4,
  • Use version 1.2.0 with ethers 4 and solidity 4,
  • Use version 2.*.* with ethers 4, solidity 4, 5 and ability to use native or dockerized solc.
  • Use version 3.*.* with ethers 5, solidity 4, 5, 6 and ability to use native, dockerized solc or dockerized vyper.
.. toctree::
   :maxdepth: 2
   :caption: Contents:

   getting-started.rst
   compilation.rst
   basic-testing.rst
   matchers.rst
   fixtures.rst
   mock-contract.rst
   ens.rst
   configuration.rst
   migration-guides.rst