Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [huff]

The tag has no usage guidance.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
648 views

Working with huff contract in foundry (a few questions)

I'm trying to deploy huff contract in foundry to goerli testnet (it is deployed), BUT: Why is so that my runtime code looks like it was written in Solidity ? Is there a way to avoid this and create ...
obsessed's user avatar
1 vote
0 answers
7 views

Trying to get the result of modular exponentiation from 0x05 precompile using huff

I was trying to implement the call to the 0x05 precompile for modular exponentiation in Huff. I'm new to the language so was using this as a way to understand it better. Here's my implementation #...
thatonenerdy's user avatar
0 votes
1 answer
105 views

How to return a constant variable in huff

Let's say I have a constant variable in huff: #define constant myAddress = 0x0000000000000000000000000000000000000000 How would I make a macro to read it? Since it doesn't have a storage slot, I ...
Patrick Collins's user avatar