Notice: 2025-06-14#
Development progress is summarized here.
https://zenn.dev/nakamura196/books/41693d2d017082
Overview#
Starting with the following article, I have been prototyping a digital cultural heritage management system using blockchain.
This time, I modified the system so that uploaded data is recognized as NFTs.

This is a learning process, so there may be incomplete aspects, but I hope it serves as a helpful reference.
Usage Page#
The file upload method remains the same as before. A link to the detail page was added to the list page displayed after upload.

Clicking the link navigates to the following detail screen.

Implementation#
This section was written by AI.
1. Making the Contract NFT-Compatible#
The existing digital cultural heritage management contract was modified to comply with the ERC721 standard as an NFT contract.
Main Changes:#
1. Adding OpenZeppelin Libraries
2. Changing the Contract Inheritance Structure
3. Updating the Initialization Function
4. NFT Minting on Cultural Heritage Registration
To support the standard NFT metadata format, server-side metadata generation and upload functionality was implemented.
1. Metadata Generation in API Route
2. Frontend Integration
Summary#
I hope this serves as a helpful reference in the process of learning Web3 and NFTs.