Happy new year guys!
I am thinking of minting an on chain NFT collection by using various SVG layers. I want to layer the SVGs on top of each other to make a “complete” SVG, and I would like to nest it twice.
For example, I want to make a computer NFT, so I would need to have a keyboard layer, a monitor layer, a touchpad layer, a webcam layer and each layer has 5 types, e.g. there are 5 keyboards. If I have 4 layers and each layer has 5 types, that would create 625 possible permutations.
With my design software, my SVG code is about 2500 lines, and Remix keeps crashing when I try to deploy to testnet - I cannot even get an estimate of how much gas would it take.
I am concerned that storing the SVG data for these layer-types would be very costly on-chain, but there seems to be a hype around on-chain NFTs and I would like to avoid IPFS/API.
Is there any other more efficient way to generate on-chain NFTs without the use of:
- IPFS/APIs
- Storing the SVG layers on-contract
Thank you!