I continued exploring data compression and created this on-chain generative 3D roller coaster.
🎢 100% on-chain
🗜️ Compresses ~600kb (minified) scripts to ~200kb
✅ Uses native browser tech
👇🧵
I often need to do simple on-chain reads given a contract address. Etherscan works great but I wanted somethin faster.
So I built https://t.co/NDPkBJ5mle.
It's a simple way to query ethereum via urls like: https://t.co/5tgkBHkK44...
flowchart explaining the rough process
data contracts/sstore2 are well understood at this point so will skip that
main unlock is using compressed data, then decompressing and loading at runtime via an injected helper script in the data uri
"on-chain npm" etc should be possible
Ive uploaded fonts on-chain a few times and I know of other teams that have done this as well - thousands of dollars spent. I’m not sure if on-chain SVGs are the future, but if they are, I propose we fund an on-chain font registry that all projects can use.
Something like this:
We just minted 1 million NFTs for less than $2 🤯
Introducing: Infinite - ERC721i
Our gigibrain Cofounder @robsecord has done it again and innovated a brand new token standard that could make minting obsolete.
Learn more 👇
https://t.co/TFx3DkDFfj
@GaussianProcess Very cool! ❤ Gauss.
.
Any thoughts about a Fibonacci (linear recurrence) arbitrary ratio of integers strategy? https://t.co/KbcQjREJ4C
.
Would love to see it expressed as Solidity too!! Compare the gas IRL measurements.
.
@z0r0zzz you seen this?
.
From @bestape as @SeedTreeDB .
Check out our MozFest presentation: "how to remote control a raspberry pi using web monetization"
https://t.co/2Pmp6aZZFi
Thank you @hyperaudio ! Looking forward to getting it translated into more languages 🤖🙏
ERC20 token with experimental "poison pill" feature, preventing a wallet from exceeding a specified % of maxSupply. Happy Friday 🎉 https://t.co/ta5hKuKfy6
recent lil gas savers in solidity:
// ++i rather than i++
// unchecked { ++ }
// payable functions
// structs to enforce array matching
// set array length in memory
// in for loops that write storage, use var in memory to collect updates, then push at end of loop