Awesome Lists

awesome-huff

by devtooligan

awesome listpushed almost 3 years ago

A curated list of resources for Huff language

AI summary

Huff toolkit

A curated collection of resources and tools for developing optimized smart contracts in the Huff programming language

stars
308
forks
28
watching
7
awesome list
1
entries
109
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/devtooligan/awesome-huff/links.svg)](https://awesome.facts.dev/awesome/devtooligan/awesome-huff)
HTML
<a href="https://awesome.facts.dev/awesome/devtooligan/awesome-huff"><img src="https://awesome.facts.dev/shield/devtooligan/awesome-huff/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/devtooligan/awesome-huff/links.svg

What's in the list

109 links in 14 sections, with live GitHub stats.activeno commit in 2y

Join the movement on Twitter

  • @huff_language

    Follow to keep up with the latest news and announcements - notifications on, anon!

  • @Zac_Aztec

    Follow and , the original creators of Huff

  • Jet Jadeja

    Follow The young prince of the Huff empire

  • @vex_0x

    And a few other Huff chads: , , , , , , , , , ,

Drop a gm in the Discord

  • Huff discord

    Huff is still young, but it already has a thriving community. People on the are helpful, friendly, and chill

Start here

  • Huff landing page

    The landing page for all things Huff. Here you can find links to , , and

  • The Huff Docs

    ➸ START HERE ➸ Here you'll find installation guides, reference, tutorials and everything you need to know about Huff. What are you waiting for, anon?

  • EVM Through HUFF

    A video walk-through of SimpleStore.huff to get you started

  • Huff GitHub List

    A curated Github list of Huff language resources, libraries, tools, and more by

Official huff-language Github repo

  • huff-rs

    You'll be installing this, the new compiler built in Rust, developed by the community and recently released to the public. After installing it's time to start hacking! Write your first Huff function, anon. Start with something simple like adding two numbers. See the tutorials in the docs

  • huff-project-template

    A template for bootstrapping new Huff projects. Includes Foundry

  • huffmate

    A library of modern, hyper-optimized, and secure Huff contracts. Currently the gold standard of Huff libraries

  • vscode-huff

    A VSCode extension for Huff with syntax highlighting. Also available from within your VSCode in the Extensions Marketplace

  • huff-examples

    Currently has wip versions of ERC20 and ERC721

  • huff-breakage

    💎 💎 A repo containing incorrect, breaking, and footgunned Huff contracts. You'll learn a lot about Huff by reading what not to do in this excellent resource by

  • huff-debug

    An easy hevm debug integration for hardhat-huff projects

  • foundry-huff

    Foundry support for Huff. Includes HuffDeployer to compile and test Huff contracts

  • hardhat-huff

    Huff support for Hardhat

Huff tooling

  • Bytepeep

    Bytepeep is a minimal bytecode peephole optimizer by

  • Murph

    Transpile EVM bytecode into Huff

  • vim-huff

    Huff syntax highlighting for vim

  • hufflime

    A Sublime Text package for Huff syntax highlighting

  • huff-stacker

    Automatically generate stack comments for huff macros

  • Huff-Console

    Console logging functionality for debugging Huff contracts during development. Allows you log out the stack, memory and calldata easily and dynamically by

  • Huffpoint

    Create breakpoints in your Huff code to use with Foundry debugger

Huff articles

Huff videos

Projects using Huff in the wild

  • HyVM

    Run arbitrary code on the EVM, part of

  • Weierstrudel

    This is the project that Huff was written for (written for the original version of Huff) and is used by the

Huff projects you can learn from and contribute to

  • huffmate

    A library of modern, hyper-optimized, and secure Huff contracts. Currently the gold standard of Huff libraries

  • 8-bit-array

    An implementation of an array in huff. It can store up to 32 8-bit values in a single storage slot

  • TSOwnable-huff

    An Ownable Implementation using Two-Step Transfer Pattern written by

  • huffbound

    A Soulbound token contract implementation using Huff by

  • huff-clones

    Rewrite of clones-with-immutable-args in Huff

  • erc721h

    Gas optimized version of ERC721A in Huff

  • huff-ethernaut-magic-number

    Ethernaut MagicNumber Solver

  • huff-goo-issuance

    GOO(Gradual Ownership Optimization) issuance implementation using Huff by

  • huff-safe

    Safe multi-sig rewritten in huff

  • grim-reaper

    Gas optimized liquidation bot for Aave V3 in Huff

  • huff-learning

    Some math and other functions implemented in Huff

  • huff-math

    👷🚧 Implementation of basic math operations using Huff by

  • huff-merkle

    Merkle distributor written in Huff

  • proxies

    A few Ethereum delegate-call proxies written in raw bytecode via Huff

  • quicksort-huff

    DsSort implemented in Huff

  • huff-snark-verifier

    Generate an optimized Groth16 SNARK verification smart contract for use on EVM-based blockchains

  • huff-tools

    A WIP set of tools for use with the huff language. Contains useful SafeMath functions by

  • huff-vrgda

    Huff Implementation of VRGDAs

  • meth-weth

    👷🚧 WETH implementation in Huff by

  • doppelganger

    Huff smart contracts for deploying arbitrary bytecode to deterministic CREATE2 addresses

  • hufflove

    Rewrite of commonly used contracts by

  • huff-binarySearch

    Binary Search implemented in Huff

  • huff-single-byte-dispatcher

    A jumptable-based function dispatcher in Huff by

  • Damn-Vulnerable-DeFi-V3-CTF

    Damn Vulnerable DeFi solutions with Huff

  • Ethernaut-CTF

    Ethernaut solutions with Huff

  • Yul2Huff

    Simple tool to convert Yul expressions to Huff

  • huff-puzzles

    Learn Huff in increments by solving puzzles that start easy and get harder by

  • SaltMiner

    A utility for finding the salt for a CREATE2 address for a UniV4 Hook

  • Secp256k1-huff

    Secp256k1 elliptic curve library written in Huff by

  • MinimalAccount

    First (and most optimized) ERC-4337 smart contract account written in Huff

  • HuffBits

    A library for performing bitwise manipulations of data written in Huff by

  • HorseRiders

    A Complex Math and Fast Fourier Transform library in Huff made by folks at

  • Uniswap-V2-Huff

    Uniswap V2 Pair contract and it's libraries Written in Huff Language by

  • Secp256r1/P256-Verifier-Huff

    Optimized Secp256r1/P256 Verifier Huff Implementation by

  • Zyclone

    Optimized token mixer for Ethereum utilizing zkSNARKs. 500% cheaper than Tornado cash by , and

  • UniswapX-Filler

    An Optimized UniswapX Filler contract written in Huff language by

  • Optimized-MiMC-Sponge-Hash

    An optimized implementation of the MiMC Sponge hash algorithm written in huff language by

  • Huffs

    Implementation of popular (and unpopular) solidity contracts and libraries in Huff Language by

  • Dynamic-Huffidity

    Huffidity (Appending huff bytecode to solidity runtime code and jumping to it for efficient computation), but let's you jump back to Solidity runtime execution from Huff runtime execution restrictions by

  • MiMC-Hash-Huffidity

    Using Dynamic Huffidity to embed MiMCSponge Hash bytecode by tornado cash to a solidity contract by

  • ERC7399-Huff-Reference

    ERC7399 Flash Loans Huff Reference Implementation by

  • Bit Magic Speedrun

    Bit manipulation tricks and techniques

We heard you like ERC20 implementations

  • huffmate ERC20

    This is the current gold standard of Huff ERC20 (includes EIP-2612 Permit) and passing all tests

  • erc20-huff

    An ERC20 with Foundry tests

  • huff-pg

    An ERC20 implementation with SafeMath

  • huff-examples-ERC20

    Currently has wip versions of ERC20 and ERC721

  • Solmate ERC20

    ERC20 implemented on Huff fully complete with all functionality

Know your roots, anon

  • AztecProtocol/huff

    This is the original version of Huff, developed by the team

  • Weierstrudel

    This is the project that Huff was written for. Good luck with that math, anon

  • Oliver

    An elliptic curve point multiplication on the Baby-JubJub curve also developed by the team

  • huffc

    The rewrite in Typescript that was deprecated on 4-Jul-2022

Advanced EVM articles

EVM opcodes

  • evm.codes WITH HUFF PLAYGROUND

    This is a fork of evm.codes with Huff language support in the playground. Prototype, practice, and learn Huff with real time feedback and interactive debugger

  • evm.codes

    The ultimate resource for evm opcodes. The playground will soon have Huff support!

  • evm-puzzles

    10 puzzles to get you thinking like an evm

  • more-evm-puzzles

    10 more puzzles!

Huff honorable mentions

More related projects

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.