Open 1Crypt0 opened 2 years ago
Looks like Metaplex is now adding a file extension onto the .cache/mainnet-beta-temp and making it .cache/mainnet-beta-temp.json and that's why it's failing, because it can't find it.
As I commented, your pull request is correct, but to be on the safe side, I would like to support both previous filename without .json and the new filename with .json.
So I made this fix, which first tries without the .json extension, then tries with the .json extension: https://github.com/0xEnrico/arweave-nft-uploader/commit/3acbd913ca67ba426e166e51969af89c3c0b9fd0
Please let me know if it works correctly, as I can't test it directly.
Ah, I didn't think of that. Great! It works.
Hi Enrico, Thanks for sharing this!
I see an error when first running this tool about funds and then re-running I get the init error, any ideas please? :)
'Transfer: insufficient lamports 1352748523, need 16713695280', 'Program 11111111111111111111111111111111 failed: custom program error: 0x1
Cache file .cache\mainnet-beta-temp is not initialized with a candy machine program