Skip to content

Glossary

Huff

An assembly-like language for the EVM — exposes individual opcodes directly while adding macros and labels, used for the most gas-critical contracts.

Huff is essentially a structured-assembly language for the EVM. It exposes each opcode directly, with constants, macros, and labels layered on top — but without the abstractions Solidity or Vyper add. The trade-off is that Huff contracts can be dramatically smaller and more gas-efficient than Solidity equivalents, at the cost of much higher implementation effort and reviewer attention.

It is the language of choice for the most gas-critical primitives on Ethereum: Huff-based ERC-20 implementations, ultra-cheap proxies, and high-volume routers.