Adding 3000+ cubes into 1 transaction

Hi Everyone!

I need help adding 3000+ cubes to without it crashing the website.

Maybe something like adding 2 cubes as 1 set, then an option to repeat the set x desired amount.

Your assistance is greatly appreciated.

The max block size on Ethereum is about 30 million gas while it can take 0.02 to 1 million gas for a cube. Thus it’s not possible to use 3000+ cubes, unfortunately.