Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding external url to metadata for node update_info.js #1581

Open
grappling1 opened this issue Dec 10, 2023 · 2 comments
Open

Adding external url to metadata for node update_info.js #1581

grappling1 opened this issue Dec 10, 2023 · 2 comments

Comments

@grappling1
Copy link

grappling1 commented Dec 10, 2023

Hi thank you for taking the time to read this.

I'm trying to figure out how to update metadata by adding external url and auto incrementing the url for example......

// General metadata for Ethereum

const external_url = "https://www.some website.com/book/1/index.html............I want to auto increment 1,2,3,4 etc. after adding line then running node update_info.js

I added to module.exports in config.js external_url
in main.js
generate_metadata I imported and added
still stuck on it.

Any suggestions?

Thanks for the help.

@0xOptimistic
Copy link

0xOptimistic commented Dec 11, 2023

use item.edition with external url in update_info so it will be incremented for each token.

@grappling1
Copy link
Author

Thank you so much for your response, I used it in update_info it worked great but now it created a path problem.
node:internal/fs/utils:351
throw err;

errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'C:\Users\17188\Desktop\hashlips_art_engine-1.1.2_patch_v6/build/json/https://

It seems after the build it updates json file but then is looking for a url pathway inside the json build folder, which says it doesn't exist in the folder directory. I'm looking through trying to figure out why that happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants