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 Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more