Skip to main content
edited title
Link
Sina Rahimi
  • 432
  • 8
  • 21

What is NFT token metadata or URI?

added 76 characters in body
Source Link
Sina Rahimi
  • 432
  • 8
  • 21

I am developingwant to develop a user interfaceuser interface which accepts aan image file from the user, and a ERC1155 smart contractERC1155 smart contract capable of minting tokens backed by the uploaded image. In other words, I need my ERC1155 tokens to represent a specific image. However, there are some obscurities for me regarding this topic:

  • What is Token URI? What are its use cases? What does it offer to users?
  • What is Token Metadata? Is it different from Token URI?
  • What are our options if we want to host our token URI somewhere? Is it necessary to host the URI on a decentralized storage such as IPFS? What happens if we keep the URI on the smart contract?
  • Why there are there third party services ( like Infura and NFT.storage ) for establishing connection and uploadingto IPFS to upload the NFT image to the IPFS. I mean why we cannot directly get connected to the IPFS?

Thanks in advance for the clarification

I am developing a user interface which accepts a image file from the user, and a ERC1155 smart contract capable of minting tokens backed by the uploaded image. However there are some obscurities for me regarding this topic:

  • What is Token URI? What are its use cases? What does it offer to users?
  • What is Token Metadata? Is it different from Token URI?
  • What are our options if we want to host our token URI somewhere? Is it necessary to host the URI on a decentralized storage such as IPFS? What happens if we keep the URI on the smart contract?
  • Why there are third party services ( like Infura and NFT.storage ) for establishing connection and uploading the NFT image to the IPFS. I mean why we cannot directly get connected to the IPFS?

Thanks in advance for the clarification

I want to develop a user interface which accepts an image file from the user, and a ERC1155 smart contract capable of minting tokens backed by the uploaded image. In other words, I need my ERC1155 tokens to represent a specific image. However, there are some obscurities for me regarding this topic:

  • What is Token URI? What are its use cases? What does it offer to users?
  • What is Token Metadata? Is it different from Token URI?
  • What are our options if we want to host our token URI somewhere? Is it necessary to host the URI on a decentralized storage such as IPFS? What happens if we keep the URI on the smart contract?
  • Why are there third party services ( like Infura and NFT.storage ) for establishing connection to IPFS to upload the NFT image. I mean why we cannot directly get connected to the IPFS?

Thanks in advance for the clarification

Source Link
Sina Rahimi
  • 432
  • 8
  • 21

What is NFT token URI?

I am developing a user interface which accepts a image file from the user, and a ERC1155 smart contract capable of minting tokens backed by the uploaded image. However there are some obscurities for me regarding this topic:

  • What is Token URI? What are its use cases? What does it offer to users?
  • What is Token Metadata? Is it different from Token URI?
  • What are our options if we want to host our token URI somewhere? Is it necessary to host the URI on a decentralized storage such as IPFS? What happens if we keep the URI on the smart contract?
  • Why there are third party services ( like Infura and NFT.storage ) for establishing connection and uploading the NFT image to the IPFS. I mean why we cannot directly get connected to the IPFS?

Thanks in advance for the clarification