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

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay