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

Baseimage uri #47

Closed
EvilShaggz opened this issue Sep 6, 2021 · 9 comments
Closed

Baseimage uri #47

EvilShaggz opened this issue Sep 6, 2021 · 9 comments

Comments

@EvilShaggz
Copy link

EvilShaggz commented Sep 6, 2021

Hi everyone i am wanting to store my images and metadata on ipfs for persistence is there a way to make this program generate the baseimgeuri as an ipfs cid and store this in the metadata?

@beepboprobop
Copy link

Having this problem also

@EvilShaggz
Copy link
Author

Solid logic except the ipfs link is is individual to each png and is not a simple incremental

Thanks ponda

@EvilShaggz
Copy link
Author

Thats great news ponda now i have to figure out how to program a app to go through each json file and update the baseimageuri can you point me in the right direction?

@migsdeving
Copy link

You can actually do that by creating a folder on IPFS. That folder will have an unique CID then you can later add a "/image.png" to the end of the link and it will show you the image inside that folder. For example. You create a folder and you put an image called 'image.png' inside. Your link to that image will be : https://ipfs.io/ipfs/'FOLDERCID/image.png
This works but has two problems: People can figure out which NFT's will correspond to each image before minting. You won't be able to ever edit those images too.

@EvilShaggz
Copy link
Author

every time i add a file to the ipfs folder I created it changes the folders hash so I can't use that as the baseimage uri am I missing something?

@migsdeving
Copy link

migsdeving commented Sep 7, 2021 via email

@EvilShaggz
Copy link
Author

all Good i appreciate the help anyway,

back to learning fumbling my way through coding videos -_-

@Ponda1
Copy link

Ponda1 commented Sep 7, 2021

@EvilShaggz did my comments not give you the solution? I deleted them because not only is this issue out of the scope of this repository but also because id rather have someone experienced give a "proper" coding solution to this problem rather than using my "trick".

@EvilShaggz
Copy link
Author

EvilShaggz commented Sep 7, 2021

Hey ponda no it didnt really fix the issue and is this really out of scope conidering the code has baseimgaeuri in it happy to close and look elsewhere if others agree

Thanks

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

4 participants