Gonna be in the @AnonymiceNFT spaces in about 20 minutes but wanted to share a quick tool for anyone else doing on-chain art.
This is great for quickly viewing your SVG files and figuring out what went wrong (when it inevitably does)!
svgviewer.dev/svg-to-png
1
Another small gas (and best-practice) optimization for you all today: if you have a CONSTANT variable (example: max supply, price, etc.) that you never plan on changing, then use the 'constant' keyword.
bitdegree.org/learn/solidity…
1
Mimetic Metadata: How To Create A Truly Non-Dilutive NFT Collection In 2022
LIKELY not relevant to this collection, but still an awesome read - nftchance.medium.com/mimetic…
1
Oh dang, unexpected savings!
Ensure that the libraries that you're using are gas efficient as well. We were using the Base64 implementation from Brecht Devos (similar to this version - github.com/Brechtpd/base64/b…)
(1/2)
1
Switching to the @OpenZeppelin implementation allowed us to move from a local, unmanaged file AND save about 6.4% gas per call to tokenURI (renderer information soon™)
github.com/OpenZeppelin/open…
2
1
Oh, here's one that we didn't even consider bringing up since we thought it goes without saying. But, in case it doesn't.
Don't forget to enable your optimizer!
This doesn't help your users any but is saving us an average of about 0.15e for deployments.
docs.soliditylang.org/en/v0.…
A number of people asked how much it costs to deploy a contract with on-chain assets.
Obviously, this will RAPIDLY increase if you are storing all of the traits, etc. on-chain, but here are our current deployment costs (at 75 gwei) for all of the current contracts.
In the meantime, a 🧵 on some of the cool features/(benefits?) of BingoNFT, since this week will be less exciting.
1
1
That is all of the features or benefits that we can think of, but let us know if there are any implementations or ideas that you'd like to see in the contract before we release (this month?!)!
1
Forgot to mention this, but obviously, we are on-chain! Inspired by/copied from/worked with the @AnonymiceNFT first and foremost, but also @EdgehogsNFT @EtherOrcs @_MouseDev @chain_runners and more.
1


