Huff compiler plugin for the eth-ape development framework
To build binaries from source when a pre-built binary isn't available the build tool cargo
must be installed. Refer to the cargo
documentation for instruction on installing it.
$ pip install ape-huff
To use the ape-huff
plugin simply include huff contracts (files with the .huff
extension) in your project's contracts/
directory.
By default ape-huff
will use the latest stable huff release to compile contracts. To customize the version used
update your ape-config.yaml
to include the following:
huff:
version: 0.3.1