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...
How to Learn (Crypto)
Outlining my approach to quickly learning new subjects, and how you too can become a crypto expert in less than you think.In the past few months, I went from knowing almost nothing about crypto to minting NFTs, launching my own token, and getting a job at a crypto startup (TBA). While part of this was definitely being in the right place at the right time, the rest is most likely thanks to a learning strategy I’ve developed over the years, and that helped me structure my dive into the crypto w...
<100 subscribers
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...
How to Learn (Crypto)
Outlining my approach to quickly learning new subjects, and how you too can become a crypto expert in less than you think.In the past few months, I went from knowing almost nothing about crypto to minting NFTs, launching my own token, and getting a job at a crypto startup (TBA). While part of this was definitely being in the right place at the right time, the rest is most likely thanks to a learning strategy I’ve developed over the years, and that helped me structure my dive into the crypto w...
Share Dialog
Share Dialog
Hey! I’m Miguel, and last week I dropped out of university to work on crypto. I’ll be using Mirror to share my crypto journey and talk about projects I work on and things I learn.
Up next, I’ll be publishing about how I built a Mirror client with Next.js (and how you can build apps on top of Mirror), some thoughts on the future of web3 apps and why I think Mirror is one of the most exciting projects on the space, and a look at how “Login with your wallet” flows are implemented.
If this sounds exciting, you can follow me on Twitter to keep up with me and get notified when those posts go live.
See you around!
Hey! I’m Miguel, and last week I dropped out of university to work on crypto. I’ll be using Mirror to share my crypto journey and talk about projects I work on and things I learn.
Up next, I’ll be publishing about how I built a Mirror client with Next.js (and how you can build apps on top of Mirror), some thoughts on the future of web3 apps and why I think Mirror is one of the most exciting projects on the space, and a look at how “Login with your wallet” flows are implemented.
If this sounds exciting, you can follow me on Twitter to keep up with me and get notified when those posts go live.
See you around!
No comments yet