Open bouchidocode opened 2 years ago
@bouchidocode I believe you got this code from metaplex, can you please open an issue there, as you'll be much more likely to get help.
I have a issue in json format check that please
{ "name": "ETSY SPY #1", "description": "......", "image": "ipfs://MmR4xQ1r4KhLeyrM4oqJoXfrDHzrArJati6r49k6WR5JEc/1.png", "dna": "5g2217bfe46ba28a216092b83d5525a4efe81016", "edition": 1, "date": 1653609070702, "attributes": [ { "trait_type": "BACKGROUND", "value": "background 1" }, { "trait_type": "CARD", "value": "Card Black" }, { "trait_type": "NETWORK", "value": "network 3" }, { "trait_type": "LOGO", "value": "black colour" }, { "trait_type": "TYPE", "value": "LIFETIME" } ], "compiler": "HashLips Art Engine", "creators": [ { "address": "6dh5GpbuPepsteEEhXezGzsG2rmd7yA1QmTYkTMXr1wK", "share": 100 } ] }
@bouchidocode according to metaplex/js/packages/cli/src/commands/verifyTokenMetadata/index.ts
~line 216, it expects there to be a properties.creators
value.
By default, HashLips only creates this if you're creating a solana collection.
You can add it yourself in src/config.js
~line 81:
https://github.com/HashLips/hashlips_art_engine/blob/d8ee279043d2d4a8de3bdfac0d89d0e966fb04a2/src/config.js#L80-L82
By adding
properties: {
creators: [
"creators",
],
},
inside the existing curly brackets ({}
).
ok Thank you @bolshoytoster I try that thank you very much
hello, When I generate, and copy paste imgs and json in assate folder and I whant to verify asset I have this msg issue:
BouchidoCode@Youssefs-MBP src % npx ts-node candy-machine-v2-cli.ts verify_assets -n 500 assets bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?) started at: 1653621047302 Verifying token metadata for 500 (img+json) pairs Checking manifest file: /Users/BouchidoCode/Documents/solana/metaplex-master/js/packages/cli/src/assets/1.json Cannot read property 'creators' of undefined