Home

Awesome

<img src="./assets/huff.png">

awesome-huff

What the heck is Huff?

Huff is a low-level programming language designed for developing highly optimized smart contracts that run on the Ethereum Virtual Machine (EVM). Huff does not hide the inner workings of the EVM. Instead, Huff exposes its programming stack and provides useful tools like constants and macros.

Initially developed by the Aztec Protocol team, Huff was created to write Weierstrudel, an on-chain elliptical curve arithmetic library that requires incredibly optimized code which neither Solidity nor Yul could provide. Huff was later rewritten by Jet Jadeja in Typescript, and finally it has been rewritten in Rust as huff-rs which is the version we use today.

Huff can be used to write highly-efficient smart contracts for use in production, or it can serve as a way for beginners to learn more about the EVM.

Join the movement on Twitter

Drop a gm in the Discord

Start here

Official huff-language Github repo

This is your main GH org for all things Huff: https://github.com/huff-language.

Huff tooling

Huff articles

Huff videos

Projects using Huff in the wild

Huff projects you can learn from and contribute to

We heard you like ERC20 implementations

Know your roots, anon

Advanced EVM articles

EVM opcodes

Huff honorable mentions