The NFT-Minter Project is an open-source, blockchain-based application designed to simplify the NFT creation process. It allows users to upload their NFT images, generate JSON metadata for the NFT, and interact with a dynamic NFT marketplace.
[x] Add a 'Download JSON' button to the right of the 'Copy to Clipboard' button inside the Metadatajson.js component (path: src/components/Body/CreateNft/MetadataJson.js).
[x] Attach an on-click handler to the download button that:
[x] Creates a .json file with a filename based on the Unix timestamp when the user clicks the 'Download JSON' button (e.g., 1697743200.json).
[x] Places the NFT metadata's JSON object inside the .json file and initiates the download.
Tasks:
Metadatajson.js
component (path:src/components/Body/CreateNft/MetadataJson.js
)..json
file with a filename based on the Unix timestamp when the user clicks the 'Download JSON' button (e.g.,1697743200.json
)..json
file and initiates the download.