简体   繁体   中英

Where do I store metadata of NFT

Smart contract execution needs gas fee. So all data can't be stored in blockchain. Images could be stored on ipfs like Pinata.

Do I have to develop extra backend code to maintain information like "like/dislike", "favorite", "review", "nft collection"...? I am going to use Laravel and do you think it's a right decision?

You can keep the metadatas at database with a 'json' column.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM