Questions tagged [ipfs]

IPFS (the InterPlanetary File System) is a new hypermedia distribution protocol, addressed by content and identities. IPFS enables the creation of completely distributed applications. It aims to make the web faster, safer, and more open.

Filter by
Sorted by
Tagged with
0 votes
0 answers
65 views

how to get the json file of a music file from pinata (IPFS)?

i am going to create a web3 music player and have uploaded a music file on Pinata site. now i need the json file of this music file for the rest of my code. how can i retrieve this json file?
1 vote
0 answers
135 views

When updating NFT metadata for a game, how can I ensure that the content in the passed tokenURI reflects the on-chain metadata?

I'm working on a game. There is a "equipment" item that has some stats such as experience, level, and rarity. The equipment is an NFT. I'm storing these stats (metadata) on-chain via a ...
1 vote
3 answers
901 views

How to upload folder of images using pinata - ipfs?

How to upload a folder of images, by giving only path using npm's pinata sdk ? I only want to give folder's path. using javascript.
0 votes
1 answer
323 views

How to upload NFT Metadata of multiple images after you get base-URI of folder using coding instead of manually doing it?

How to upload NFT Metadata of multiple images after you get base-URI of folder using coding instead of manually doing it ? So, After I upload my Image through Pinata/IPFS, I get a Base-URI. Now I want ...
0 votes
0 answers
70 views

How to store files in private IPFS Network in a content addressable archive manner?

I have created a private IPFS network and I want to store files in this network in a content addressable archive manner. So that I get same URL for all tokens which would be only differentiated by ...
1 vote
0 answers
142 views

IPFS: Add file in frontend through public gateway, pin file in backend by its CID

This is more of a generic question. I want to give people the chance to upload their file through my front-end using "ipfs-http-client": var ipfs = ipfsHttpClient.create('https://ipfs.infura....
  • 51
1 vote
1 answer
757 views

Upload metadata as JSON to IPFS

I am uploading NFT-metadata files to the IPFS using Pinata-API and axios: var metadata = { "title": "Asset Metadata", "type": "object", &...
  • 51
0 votes
1 answer
25 views

Is it a problem If I keep my nft meta data ipfs link public?

So I have deployed a nft smart contract. And I kept my ipfs metadata address public. Is it a major issue? Should I verify my samart contract?
0 votes
0 answers
234 views

Minted NFT not show in opensea and baseuri not return {tokenID}.json

The minted NFT item and detail not displayed on test net Opensea on rinkeby network . pls kindly advise where gone wrong I duplicate sol from this https://etherscan.io/address/...
  • 37
0 votes
0 answers
111 views

ipfs-core or ipfs-http-client connect to Cloud go-ipfs

I am trying to connect to go-ipfs app on my cloud server. I am using ipfs-http-client. WHen I try to connect to Gateway its works fine, but just when I try to connec to my go-ipfs, I have a TIMEOUT. ...
0 votes
0 answers
14 views

go-ipfs v0 api address for ipfs-http-client

I have go-ipfs on linux machine. I am trying to use it as gateway to IPFS network. How can I connect to go-ipfs using ipfs-http-client? I tried pass my host IP as url like documentation said but it ...
0 votes
1 answer
32 views

Complexity of IPFS files

I'm fairly new to IPFS and I was wondering how complex the files that you host in IPFS can be? Can you keep an event listener continually listening for input without downtime? Can you retrieve ...
  • 519
0 votes
0 answers
17 views

Is there a way to publish text to the blockchain and for it only to be visible to certain people?

Is it possible to store styled text - text with some formatting such as CSS or Markdown - on the blockchain and make it impossible for anyone to read it except whoever holds the key? So someone who ...
0 votes
0 answers
32 views

OpenSea - change your 'Content-Type' header from 'text/html' to 'application/json'"

I have deployed my test contract on the rinkeby network: However I get: My contract looks like the following. I am using openzeppelins standard contracts for Ownable etc. I deployed a single file via ...
  • 120
0 votes
1 answer
88 views

Uploading simple files to IPFS with oracles within the smart contract

When I search google "How to upload files to IPFS within smart contract" I get the same answer: "You cannot do that. You need an oracle to do that" but no further information. Is ...
  • 188
0 votes
0 answers
102 views

ERC-721 Solidity Openzeppilin Code Append More NFT Token

I hope I can describe the problem properly. Let's say I have 100 NFT tokens stored in an IPFS storage at some location say, ipfs://abc I have a smart contract ready where I use the constructor to set ...
  • 123
0 votes
1 answer
96 views

What is this CDN in NFT marketplace ? it this the replacement for IPFS.? any leads or links related to the same would be great help

I would like to know what exactly this CDN is? I know that we can deploy and publish the metadata through IPFS. But would like to know the alternatives for it and recently came across this CDN. Since ...
0 votes
0 answers
162 views

can somebody explain me what is IPFS swarm?

I was going through this document ( https://docs.ipfs.io/reference/cli/#ipfs-swarm ) but I had hard time understanding. I went through few white papers regarding Swarm. After reading white paper I ...
0 votes
0 answers
166 views

IPFS .cat() method doesn’t return the content

I work with JavaScript and Browserify tool in Windows 10. With Browserify, One can require NodeJS modules on browser side. I required ipfs module for my JavaScript code in a .js file then browserfied ...
  • 471
0 votes
0 answers
44 views

How to send my content to a global IPFS node?

To use IPFS in NodeJS, I require ipfs module. To connect a IPFS node I try: const IPFS=require("ipfs"); const node= await IPFS.create(); After that, When I run NodeJS in PowerShell, The ...
  • 471
0 votes
0 answers
18 views

Prevent malicious activity on IPFS public node is a social media website

I have built a Social Media website based on Ethereum blockchain. I am saving all my content on ipfs. I am using ipfs-http-client in order to communicate with ipfs. I saw a post on ipfs discussion ...
  • 65
0 votes
0 answers
27 views

How to set ipfs's Addresses.API

When I set Address.API to 0.0.0.0, I get an error. How does it work? I deploy ipfs gateway, on my server, I need to set the value of Address.API to 0.0.0.0, in order to be able to access webui.
  • 13
0 votes
0 answers
50 views

FreeCodeCamp Solidity Tutorial (youtube): Not getting a metadata file when deploying an NFT

I'm working through Patrick C's freeCodeCamp solidity tutorial. I'm trying to create an NFT with this python script: from brownie import AdvancedCollectible, network from scripts.helpful_scripts ...
0 votes
0 answers
321 views

pinJSONToIPFS from Pinata with fetch and sveltekit without Pinata SDK

Not a question but a solution After looking for a simple example and not finding anything I decided to share my solution (super simple) but may help others trying to pinJSON using svelteKit and fetch ...
0 votes
1 answer
89 views

Piñata files not being found

I have uploaded two folders, one with .mp4 files and one with .png files. The name of each file ranges from 1 to 10000. But for some reason I can't access the files with this link pattern: ipfs://[...
  • 468
0 votes
1 answer
312 views

NFT image not able display in matemask (only grey image)

I just created a NFT and deployed it on Rinkeby to test it. I'm able to add my NFTs to wallets but I don't see the image I provided when minted it. What could be the reason? i ve json and metadata as ...
  • 37
0 votes
1 answer
616 views

Wich method is faster for fetch data in IPFS

I got a site that fetchs data from ipfs network i am currently using it with axios.get("http://ipfs.io/ipfs...") and sometimes the blockchain is really slow, so i dont know is there another ...
  • 103
0 votes
1 answer
31 views

How to link a Ethereum token as a file?

With IPFS you get a file hash for every file you store in it, I want to create a DAPP that is based on IPFS storage and link an ERC20, ERC721, etc. or even NFT to the ipfs hash file. It's possible? ...
2 votes
1 answer
775 views

Read ipfs json from solidity contract

It is possible to read json value from ipfs file in solidity contract?
1 vote
0 answers
219 views

Extracting metadata from IPFS URI in contract

I have the IPFS URI that contains the metadata of an NFT. I need to access attributes from the metadata inside the smart contract. How would I go about doing that? I've tried using provable api 0.5 ...
  • 31
0 votes
0 answers
277 views

Store JSON on smart contract vs use IPFS

I want to store a relative small JSON (around 4KB) on Blockchain and I have two options: Store it on a String field or Store the URL of IPFS I know that using the URL of JSON stored in the IPFS ...
  • 101
0 votes
0 answers
67 views

Need some help about burn model implementation ERC-721

I am working on ERC-721 project where holders will be able to burn n ERC-721 token if the attributes "type" are the same. Here is the metadata stored on IPFS: { "dna": "...
  • 25
0 votes
1 answer
212 views

Is there any way to upload a list or array of addresses on ipfs, and access it from a smart contract?

I am planning to make a decentralized voting application. The addresses of eligible voters should be uploaded on IPFS for anyone to access. This file on IPFS will be used in the contract to make sure ...
1 vote
1 answer
105 views

There is a way to implement a breed system with a ERC-721 on IPFS?

I'm having a question on how can works a Breed System on ERC-721. What I know I understand well who to make a smart contract with limited supply and how to import all images and metadata to IPFS ...
  • 184
0 votes
0 answers
272 views

OpenSea doesn't load images with 2 digits

So, I've created two folders on IPFS. One folder for the images: link to the folder One folder has the metadata: link to the folder Images CID: QmRcEhMDmSMQuXFZXsg73w76eKqVEFZGy8cSvn9PfUw7bH Folder ...
  • 188
0 votes
0 answers
87 views

ERC1155 with descentralized jsons

Hopefully this has a simple answer: rather how to solve it or the confirmation that it can't be done: When deploying an erc1155 contract, we assign the url at the constructor with the proper standar ...
1 vote
1 answer
2k views

Encrypting/Decrypting data on IPFS using Ethereum Public/Private key?

I would like my app to connect to a Web3 wallet, store encrypted data on IPFS, then retrieve that data and decrypt it (without the user exposing their private key to my app). Is this possible? If not, ...
0 votes
0 answers
12 views

Uploading NFT using marketplace can it still issue in ownership of data?

i am trying to build a NFT market place where users can upload their NFT using Pinata JS API. For the purpose of customer experience, i was thinking to use a lambda in the backend to upload user ART ...
0 votes
1 answer
64 views

Cannot resolve symbol "ipfs' android

Hello i am trying to send some files from android to IPFS.I am following this article on medium but can't import packages that are required ` import io.ipfs.api.IPFS; import io.ipfs.api.MerkleNode; ...
  • 147
0 votes
0 answers
33 views

Hosting React Dapp on ipfs

When I am trying to upload my Dapp's frontend(in React) on ipfs, index.html is loading but the entire content is not getting injected in the root div. What am I doing wrong?
0 votes
0 answers
300 views

504 Gateway Time-out openresty

am trying to upload my Dapp's frontend on Ipfs. Published it using the command ipfs name publish QmZrYkpey266J6N5z6ed38zS1hLANwu3wNRZEwSsf1KTPy also ipfs daemon is running. But I am getting this ...
0 votes
1 answer
676 views

How do I fix ERR_UNKNOWN_URL_SCHEME when trying to GET an ipfs url?

For example, I want to render some NFTs that have urls like this: ipfs://QmZ5fD3UTRh8ALZCpMdypHkhMQSXyi4yyCz3Ea19kPmtXg/0.jpg but when I try to fetch this uri in my react app, I get this error: GET ...
0 votes
1 answer
300 views

cant connect to ipfs external node on infura.io via curl

im trying to to store data to ipfs via php , i use curl to communicate with api , it works find on my local node , but i want to use external node from infura.io but for some reason ipfs.infura.io is ...
  • 3
0 votes
0 answers
409 views

How to get "dna" from the metadata file of a ERC721 token in Solidity

here is the context, I would like to be able to burn n ERC721 token based on the "dna" and the attributes "type" in the metadata (see below): { "dna": "602472F&...
  • 25
0 votes
1 answer
842 views

How to upload images to IPFS with the certain baseURL?

I have uploaded one image and set the baseURL for that. https://gateway.pinata.cloud/ipfs/QmQGTQMWRxK33PF4fvnxanyz8aWPPaweYUZeNTVW4gqpQb Now, I am going to upload more images with the same baseURL, ...
1 vote
1 answer
97 views

DNSLINK for ERC721

I'm working on a dynamic NFT project where the images will periodically be updated and I would like to do this with DNSLINK but I'm not sure how to link my tokenURI to the IPFS CID returned by DNSLINK....
  • 11
0 votes
1 answer
88 views

Accidentally published a useless contract when working in Remix. How can I withdraw the contract from IPFS? Should I care?

I am working on a versity exercise, a small and basic contract. Beginner as I am and tired as I was, I accidentally pressed Publish to IPFS instead of the Deploy button. How would I withdraw that ...
0 votes
1 answer
184 views

Is it necessary to convert a file into a "Buffer or Readable stream" before adding it to IPFS?

I've uploaded some files using js-ipfs without converting it into Buffer or Readable stream, and it works just fine. since IPFS converts the file into blocks anyway, why use buffer/stream! what are ...
  • 73
1 vote
1 answer
936 views

How to create directory to IPFS by using "ipfs-http-client"?

Now I am trying to create new directory to ipfs by using "ipfs-http-client"? const auth = 'Basic ' + Buffer.from(projectId + ':' + projectSecret).toString('base64') const ipfs = new ipfsAPI({...
2 votes
1 answer
388 views

read data from ipfs in a solidity contract

Is there a way to read data from an IPFS address inside of a solidity contract? I found questions about writing to ipfs, which isn't what solidity should be used for, but I can't find anything ...

1
2
3 4 5
7