-
Notifications
You must be signed in to change notification settings - Fork 4
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
About: NFTv2 attachments, how/when can we store some data? #58
Comments
Thanks for the question. Data for an NFT of VSYS's NFT contract can be stored as the token description (see the code). The token description accepts any string. So, to store a picture, we have the following options:
It is recommended to store data in a structured fashion(e.g. as a JSON string) in the NFT token description for easier parsing on clientside. cc @ncying |
Thanks a lot I will give myself some time to make some tests! |
The previous images can both be stored within less than 16Kb, the smaller weights only 12Kb leaving us place to other metadata such as tags as you suggested, it is quite good, while the seconde images generates within ms in scaled bigger google vision api can label it efficiently and other AI services might too, thus we can store HD images within the DB of vsystems or in token description while out of a few request label them before put them into the token, everything 1:1 is possible stored awesome! Another question arise, aside we can develop a private search engine while syncing the blokchain and an API like elastic search, does it is possible to search by parameters of parsed JSON metadata directly from the API soon? I suppose it is not, but it is okay I think, no problem but I've heard of namespacing features within database API, what exactly is that? Cheers, |
|
Description
Hello,
I am founder of https://pixa.pics/ a FOSS based on web technologies which converts pictures into art, pixel art that scales up awesome for personal experience-based NFTs that respect privacy!
Most artwork are between 10 to 100Kb in average, Sunny told myself some time ago, we can already store some data into VSYS DB systems, is that alright if we work in the way to store some data into NFT contract? I saw the wallet supports it, but are NFTs stored 1:1 into it?
The text was updated successfully, but these errors were encountered: