Find resources about other languages in the Programming Languages Reference List.
Huff is an extremely low-level language for writing smart contracts. It compiles to EVM bytecode, so it functions on all blockchains that run an EVM. It is designed to make extremely gas-efficient smart contracts, at the cost of user-readability and developer sanity. It is similar to solidity assembly, with the notable distinction that it uses "macros", which can be easily tested on their own. It was developed by the AZTEC protocol team while writing their Weierstrudel
smart contract.
Source Code Repository
Example Code
Guides
- Smart contract programming in Huff - part 1 (Also see parts 2, 3, and 4)
- Huffing for Crypto with Weierstrudel