IPFS with ERC-1155 tokens

Hi all,
I am developing a new token using the ERC-1155 EIP.

I have successfully created the smart contract and I am looking at how to store the URI on IPFS.

What I am trying to do is have a single CID endpoint, for example https://ipfs.io/ipfs/QmSKwnVKzGRkEuKsKd54QyXZEgg3inJZszffp9DVnbeWkt/

What I was hoping to do was to generate all my NFT’s as individual json files and add them into the folder.

As this folder is data itself, that obviously changes the CID.

In trying to construct an NFT using the smart contract currently it relies on a set URI.

for example
constructor() ERC1155(“https://ipfs.io/ipfs/Qmc7NpCyiLbDjrzUJMfhjBby7RuU2siQ6vFi4gynxYYm5d/{id}.json”) {

The ID would look something like this 0000000000000000000000000000000000000000000000000000000000000001.json

What I am looking for is the best practise for this.

Do I need to mint my batch of NFT’s and then update the URI inside my smart contract? (this sounds problematic with links perhaps being out of date whilst re-propagating the network)

What would you recommend on this?

Also I am very interested to know if you there is any persistence planned for IPFS itself and any recent progress/timeline for this feature.

Thanks for any and all help/hints and information.

Can anyone help? :slight_smile:

Really hard to get information from cutting edge technologies. I will end up designing my own system otherwise.