New answers tagged

0 votes

read data from ipfs in a solidity contract

It depends on what data you're refering to here. For example ERC721 has a token URI option that stores the URI of the IPFS link where your NFT attributes and details are stored and if it is in openSea ...
user avatar
1 vote
Accepted

Can I delete, change or add a new metadata?

Yes, but not directly from the IPFS. Anything uploaded to IPFS cannot be altered further. However, if you want to change metadata of your NFTs you can upload updated version of your files(JSON ...
user avatar
0 votes

Can I delete, change or add a new metadata?

You need to elaborate more. How are you storing the URI in the contract? Do you want to change the URI of the directory that contains the metadata of all NFTs or just one specific NFT? Can the data be ...
user avatar
0 votes

Does IPFS require Internet access?

Yes, you can find the docs explaining how it works here: https://docs.ipfs.io/concepts/what-is-ipfs/#what-is-ipfs
user avatar
  • 184
1 vote
Accepted

Is it possible to write protect an IPFS base url?

If you are publishing to a URL that starts with ipfs://ABC then: Anybody can inspect all the files in all paths starting at ABC. Nobody can change the contents of the paths starting at ABC. This is ...
user avatar
0 votes

Getting rid of .json file extension when uploading NFT metadata to IPFS

Thanks to the replies guys, I almost had an heart attack with this .json file extension removal situation. If your smart contract code has string public baseExtension = “.json”, you won’t have a ...
user avatar
0 votes

Error: /api/v0/object has been removed, use /api/v0/dag instead

Luckily it's started working. I have to use the script in my HTML header. <script src="https://unpkg.com/ipfs-api@9.0.0/dist/index.js" integrity="sha384-...
user avatar

Top 50 recent answers are included