DEV Community

Cover image for I've made Huff docs Simple Storage page simpler for newcomers
Murat Can Yüksel
Murat Can Yüksel

Posted on

I've made Huff docs Simple Storage page simpler for newcomers

To all web3 devs & security researchers and auditoooors who are interested in learning the hashtag#huff language, I've made some changes on the Simple Storage example on the official docs. Because I found that part quite difficult to understand, and had to use chatgpt extensively to understand those low level operations like getting the first 4 bytes for calldata, or shifting the 32 bytes arguments to the right by 28 bytes (224 bits). Even when writing, bytes, bits, words, confuses me bro.

Huff helps me understand the EVM better, I suppose. Also it is a fun thing to interact with the machine directly. It makes me feel like I'm a cool hacker 😋

Since the original repo is archived and not actively maintained, I couldn't create a pull request so I just forked the repo and redeployed (hey, I was a web developer. I'm happy those skills are still handy).

You can access the modified docs page here => https://huff-docs.vercel.app/tutorial/simple-storage/#simple-storage-implementation

So, if you're a newbie and want to learn more about Huff and the EVM, heck it out.

If you're a seasoned web3 dev, auditooor or optimizoooor, please check it out and correct any mistakes I might have made. I don't want to spread false info.

x0x0 gossip dev

Top comments (0)