22. serial maker, purple-haired dev @worldcoin, core ConstitutionDAO, friendly ambitious nerd.
Web3 is not a space, but a tool
Brain dump on post-crypto perspective, and re-exploring who I want to be.I learnt to code because I wanted to "build things". For years, I built app after app, not only as a way to learn more and more, but also to bring my ideas to life. I learned how to do frontend, backend, design, even how to do marketing and to PM myself, in a quest to achieve all the skills necessary to create everything I wanted to. To learn enough to be dangerous. Getting into crypto derailed this a little bit, and I f...
Web3 is not a space, but a tool
Brain dump on post-crypto perspective, and re-exploring who I want to be.I learnt to code because I wanted to "build things". For years, I built app after app, not only as a way to learn more and more, but also to bring my ideas to life. I learned how to do frontend, backend, design, even how to do marketing and to PM myself, in a quest to achieve all the skills necessary to create everything I wanted to. To learn enough to be dangerous. Getting into crypto derailed this a little bit, and I f...
Gas Optimizations for the Rest of Us
The basics of optimizing Solidity contracts, explained for regular coders.Writing smart contracts is hard. Not only do you get a single chance to write bug-free code, but depending on exactly how you write, it’ll cost your users more or less to interact with it. When you compile a smart contract, every line of Solidity gets converted into a series of operations (called opcodes), which have a set gas cost. Your goal is to write your program using as little opcodes as possible (or replace the m...
Gas Optimizations for the Rest of Us
The basics of optimizing Solidity contracts, explained for regular coders.Writing smart contracts is hard. Not only do you get a single chance to write bug-free code, but depending on exactly how you write, it’ll cost your users more or less to interact with it. When you compile a smart contract, every line of Solidity gets converted into a series of operations (called opcodes), which have a set gas cost. Your goal is to write your program using as little opcodes as possible (or replace the m...
Decentralized Comments for Mirror
You can now comment on my Mirror entries! Here’s how I implemented it in a decentralized way.For a while now I’ve been maintaining a custom Mirror client. This allows me to use a custom domain (m1guelpf.blog instead of miguel.mirror.xyz), provide an RSS feed and retain some control over the design. So, when I came across The Convo Space, a “conversation protocol” built on top of IPFS & Libp2p, I decided to try my hand at building a decentralized commenting system for the client.Follow the Con...
Decentralized Comments for Mirror
You can now comment on my Mirror entries! Here’s how I implemented it in a decentralized way.For a while now I’ve been maintaining a custom Mirror client. This allows me to use a custom domain (m1guelpf.blog instead of miguel.mirror.xyz), provide an RSS feed and retain some control over the design. So, when I came across The Convo Space, a “conversation protocol” built on top of IPFS & Libp2p, I decided to try my hand at building a decentralized commenting system for the client.Follow the Con...
Going Down the EIP-712 Rabbit Hole
I spent way too much time figuring out how to generate and validate typed data signatures so you don't have to.For a project I’m working on, I need users to sign some data with their wallet. Normally, I’d just use personal signatures, but in this case, the data has a specific format, and I wanted to get the wallet signature prompt looking a little bit nicer than usual.The World of Ethereum SignaturesWhen signing some data with an Ethereum wallet, there are multiple signature types you ca...
Going Down the EIP-712 Rabbit Hole
I spent way too much time figuring out how to generate and validate typed data signatures so you don't have to.For a project I’m working on, I need users to sign some data with their wallet. Normally, I’d just use personal signatures, but in this case, the data has a specific format, and I wanted to get the wallet signature prompt looking a little bit nicer than usual.The World of Ethereum SignaturesWhen signing some data with an Ethereum wallet, there are multiple signature types you ca...
It's Showtime!
👋 Hey! I couldn't be more excited to announce I'm joining Showtime to help build the best crypto social network.A short recap of my life until nowI’ve been coding for a while now, almost 10 years. I started with open-source and slowly shifted gears to become an indie maker. I managed to build an audience around my indie journey and my projects, meet amazing people and have lots of fun. I’m also 19, and while my plan has always been to make a living from writing code, last year I de...
It's Showtime!
👋 Hey! I couldn't be more excited to announce I'm joining Showtime to help build the best crypto social network.A short recap of my life until nowI’ve been coding for a while now, almost 10 years. I started with open-source and slowly shifted gears to become an indie maker. I managed to build an audience around my indie journey and my projects, meet amazing people and have lots of fun. I’m also 19, and while my plan has always been to make a living from writing code, last year I de...