You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[admin@centos-stream-9 extras]$ sugar launch
Starting Sugar launch...
>>> sugar validate
[1/1] Loading assets
?
missing `properties.category` for nft Number #0000, defaulting to image
????? Validating 2 metadata file(s)...
Validation complete, your metadata file(s) look good.
>>> sugar upload
[1/4] Loading assets
Found 2 asset pair(s), uploading files:
+--------------------+
| images | 2 |
| metadata | 2 |
+--------------------+
[2/4] Initializing upload
????? Connected
[3/4] Uploading image files
Sending data: (Ctrl+C to abort)
[00:00:01] Upload successful ??????????????????????????????????????????????? 2/2
[4/4] Uploading metadata files
Sending data: (Ctrl+C to abort)
[00:00:00] Upload successful ??????????????????????????????????????????????? 2/2
2/2 asset pair(s) uploaded.
>>> sugar deploy
[1/2] Creating collection NFT for candy machine
Collection mint ID: B3sPoCnsB33SpZzqSmxa16jhaM5y4yXgezanv1E1HY8V
[2/2] Creating candy machine
Candy machine ID: 26v2c3uoNp2LyQSaaLH1F2eUz2AfNkMM4pyyxhzbDWTo
Candy machine with hidden settings deployed.
Hidden settings hash: Dm1c2NXJfT46Ph68qk4pg4feJerBYtns
Updating candy machine state with new hash value:
[1/2] Loading candy machine
Candy machine ID: 26v2c3uoNp2LyQSaaLH1F2eUz2AfNkMM4pyyxhzbDWTo
????? Done
[2/2] Updating configuration
????? Update signature: 4wyqRNv5zV3eizP4prWwRTSJaV6n4NujbDcV7gdddGTvqQekC2VphZ7ztp9uJFVxi9zJmiRtqguMdHwVPswVwXiJ
>>> sugar verify
[1/2] Loading candy machine
????? Completed
[2/2] Verification
Hidden settings enabled. No config items to verify.
Verification successful. You're good to go!
See your candy machine at:
-> https://www.solaneyes.com/address/26v2c3uoNp2LyQSaaLH1F2eUz2AfNkMM4pyyxhzbDWTo?cluster=devnet
Command successful.
The log for 'sugar mint':
[admin@centos-stream-9 extras]$ sugar mint
[1/2] Loading candy machine
Candy machine ID: 26v2c3uoNp2LyQSaaLH1F2eUz2AfNkMM4pyyxhzbDWTo
????? Done
[2/2] Minting from candy machine
Minting to ANSZHujDTya5QsGQBNzgefkUi96DGbsj6rhNrRxRfp9u
????? 1 item(s) remaining
Mint: 5rPEzvXzswgi48XU3AEiypT7K4vhEHSZgS5vAJPio5B4
Signature: 4jd1UfsXqKc1ogNd5gcFe6bUF2v328EpZBiAcFDjqH7EwsSRMiHsdoMkY7C853QDU1uWw????? Mint success
Command successful.
The log for 'sugar reveal':
[admin@centos-stream-9 extras]$ sugar reveal
[1/4] Loading items from the cache
????? Done
[2/4] Getting minted NFTs for candy machine 26v2c3uoNp2LyQSaaLH1F2eUz2AfNkMM4pyyxhzbDWTo
????? Found 1 accounts
[3/4] Matching NFTs to cache values
????? Done
[4/4] Updating NFT URIs from cache values
[00:00:13] Updating NFTs... ???????????????????????????????????????????????? 1/1
Reveal complete!
Command successful.
[admin@centos-stream-9
Now I can see one collection and one nft in my phontom wallet.
Then I want to append new nft to the same collection.
I append 1.json and 1.png to the asserts folder, the 1.json shows that:
[admin@centos-stream-9 extras]$ sugar launch
Starting Sugar launch...
>>> sugar validate
[1/1] Loading assets
?
missing `properties.category` for nft Number #0001, defaulting to image
missing `properties.category` for nft Number #0002, defaulting to image
????? Validating 3 metadata file(s)...
Validation complete, your metadata file(s) look good.
>>> sugar upload
[1/4] Loading assets
Found 3 asset pair(s), uploading files:
+--------------------+
| images | 1 |
| metadata | 1 |
+--------------------+
[2/4] Initializing upload
????? Connected
[3/4] Uploading image files
Sending data: (Ctrl+C to abort)
[00:00:01] Upload successful ??????????????????????????????????????????????? 1/1
[4/4] Uploading metadata files
Sending data: (Ctrl+C to abort)
[00:00:00] Upload successful ??????????????????????????????????????????????? 1/1
3/3 asset pair(s) uploaded.
>>> sugar deploy
[1/1] Loading candy machine
Candy machine ID: 26v2c3uoNp2LyQSaaLH1F2eUz2AfNkMM4pyyxhzbDWTo
Candy machine with hidden settings deployed.
Hidden settings hash: 53oanTXG1D5vkfYyPn2nfWWqZcKxsFWp
Updating candy machine state with new hash value:
[1/2] Loading candy machine
Candy machine ID: 26v2c3uoNp2LyQSaaLH1F2eUz2AfNkMM4pyyxhzbDWTo
????? Done
[2/2] Updating configuration
????? Update signature: 51hmVf6xy5efyvsHvU2YA7fjipZpJstxZrRZ8mZEJyc2JYsZSM9Zr32ZcT64P5616jumFq8HcRJ9og5dRMe7w3NH
>>> sugar verify
[1/2] Loading candy machine
????? Completed
[2/2] Verification
Hidden settings enabled. No config items to verify.
An item has already been minted. Skipping candy machine collection verification...
Verification successful. You're good to go!
See your candy machine at:
-> https://www.solaneyes.com/address/26v2c3uoNp2LyQSaaLH1F2eUz2AfNkMM4pyyxhzbDWTo?cluster=devnet
Command successful.
and run 'sugar mint':
[admin@centos-stream-9 extras]$ sugar mint
[1/2] Loading candy machine
Candy machine ID: 26v2c3uoNp2LyQSaaLH1F2eUz2AfNkMM4pyyxhzbDWTo
????? Done
[2/2] Minting from candy machine
Minting to ANSZHujDTya5QsGQBNzgefkUi96DGbsj6rhNrRxRfp9u
????? 1 item(s) remaining
Mint: 4Fxqam1jZCtjJ8euF5u8PcYWgBUZ6JGaRMYZk7ihnVkx
Signature: 2tmfrimdXFuS4UbzqHZwtcndhzdKeo2S3MFE2mRpcB7x8nv9i5ZYf2GTwWFQxBxnGqgPF????? Mint success
Command successful.
and run 'sugar reveal', but it shows error:
[admin@centos-stream-9 extras]$ sugar reveal
[1/4] Loading items from the cache
????? Done
[2/4] Getting minted NFTs for candy machine 26v2c3uoNp2LyQSaaLH1F2eUz2AfNkMM4pyyxhzbDWTo
????? Found 2 accounts
[3/4] Matching NFTs to cache values
????? Done
[4/4] Updating NFT URIs from cache values
Error running command (re-run needed): No URI found for number: 0001
I use the following config file for sugar-cli to create the initial candy machine:
the "hash" in "hiddenSettings" is random generated.
The asserts folder contain the following files:
The 0.json shows that:
The collection.json shows that:
The log for 'sugar launch'
The log for 'sugar mint':
The log for 'sugar reveal':
Now I can see one collection and one nft in my phontom wallet.
Then I want to append new nft to the same collection.
I append 1.json and 1.png to the asserts folder, the 1.json shows that:
I update the config.json to modify "number": 1 to "number": 2
Then I run 'sugar config update'
The log for 'sugar config update'
and run 'sugar launch':
and run 'sugar mint':
and run 'sugar reveal', but it shows error:
I can see the new nft in my phontom wallet, but it doesn't show the pic. I can't find it by solcan
https://solscan.io/account/4Fxqam1jZCtjJ8euF5u8PcYWgBUZ6JGaRMYZk7ihnVkx?cluster=devnet
but the nft by 0.png can be viewed:
https://solscan.io/account/5rPEzvXzswgi48XU3AEiypT7K4vhEHSZgS5vAJPio5B4?cluster=devnet
The cache.json listed here:
I wonder why the new nft appended can not work well.
Is there any problem with the above process?
The text was updated successfully, but these errors were encountered: