Fexi.net

Madridyeth's Ethereum Experiments

My First Smart Contract Was a Mess

December 2018

Wrote my first Solidity contract this month. It’s ugly, but it taught me a lot. I tried to build a simple voting system, but I didn’t understand gas costs or event logs. The thing barely worked on testnet.

I kept running into reentrancy issues because I didn’t know what that even was. Googled every error for hours. Half the tutorials were outdated, and I didn’t realize Solidity versions mattered.

Still, when it finally deployed, I felt like a wizard. It was broken, but it was mine. Now I know why people say “start small.” Next time, I’ll plan better and read the docs first.