Max0x90 pfp

Max0x90

@maxcoto

27 Following
29 Followers


Max0x90 pfp
Max0x90
@maxcoto
Using Eliza Day 0: To avoid all kind of problems when installing Eliza using pnpm be sure you have exactly Node 23.3.0. You can install multiple versions of Node using nvm (Node Version Manager).
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
8/8 These optimizations saved our users over 5 ETH in gas fees last year. Want more gas optimization threads? Drop a 🔥 below! #Web3Dev #Solidity #NFTs
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
7/8 Use custom errors instead of require strings. Saves ~50 gas per check!
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
6/8 Remove unnecessary SLOAD operations:
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
5/8 Batch mint operations using ERC721A. Regular mint (5 NFTs): ~874,542 gas ERC721A mint (5 NFTs): ~254,763 gas
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
3/8 Optimized:
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
4/8 Use unchecked blocks for safe math. Example: incrementing tokenId in mint function Saves ~35 gas per mint:
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
2/8 Unoptimized:
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
1/8 First, the obvious but crucial: Use packed storage Before: 813,562 gas ⛽️ After: 793,147 gas ⛽️ Code comparison 👇
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
5 Gas Optimization Patterns I Learned Building NFT Protocols. After deploying 10+ NFT contracts, here are the patterns that actually save gas: 🧵
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
Eliza, DeFi & coffee. GM everyone!
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
If you cross your eyes enough you can almost see it
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
You can try Open Zeppelin wizard, open in remix, compile and select the Base network on deploy. wizard.openzeppelin.com DM me if you need more help ❤️
1 reply
0 recast
1 reaction

Max0x90 pfp
Max0x90
@maxcoto
We keep pivoting until we find a market fit, really soon TAISERs (Tokenized AI SERvices) based on Eliza will be joining our fundable deals. This has the potential of disrupt the SaaS market as we know it. Crazy times coming 😃
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
What is your opinion about developing daos.fun but in EVM instead of Solana and open source? Should I get started?
2 replies
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
What makes me happy?
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
I couldn’t agree more
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
Let me know if you have any questions! Happy to help
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
Have fun mate!
0 reply
0 recast
0 reaction

Max0x90 pfp
Max0x90
@maxcoto
Thank you sir, hope you like it!
0 reply
0 recast
0 reaction