Foundry x Huff Integration Tooling
Huff is a low-level EVM programming language designed for developing highly optimized smart contracts.
To learn more about Huff, visit the Huff Website or read the docs.
If you don't already have huffc
installed, run:
curl -L get.huff.sh | bash
huffup
This repository provides scaffolding for integrating Foundry into your Huff project.
First, install foundry dependencies with forge install && forge update
.
Then, you can run forge test
to test the example .huff
contract in the src/
directory.
As with any .huff
contract, you can compile each contract directly by using huffc
(the Huff compiler). For example, to compile src/SimpleStorage.huff
, run: huffc -b src/SimpleStorage.huff
.
// TODO: Scripting
// TODO: Anvil
// TODO: Deployment
- Huff Language
- @dabit3's Foundry Cheatsheet