Metaplex.js File Rename #32
Unanswered
TustyBusty
asked this question in
Help + Q&A
Replies: 1 comment
-
That is correct. you can change the line. I've added a fix to the Solana util to automatically account for the start index so this is no longer an issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Noticed that in line 62, code makes it so that the imgs in the build/solana/img folder will have 1 edition less than the build/img folder. For example 1.png in build/img will become 0.png in solana/build/img.
Now, I would like my collection to start at Name #0.png. In the config.js file, I put startStart as 1, but that will mean that the first image in build/solana/img will be 0.png. Was wondering if I can change line 62 in metaplex.js to
let newEditionCount = editionCountFromFileName
instead?Was worried in changing this code here as the config.js says to make sure tokenID start matches with smart contract. New to smart contracts, not sure if this will change anything. Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions