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
1 answer
31 views

Where does ipfs store the pathing data that resolves the content?

So, my understanding is that ipfs uses the ipld format to link data. Once a file is uploaded it is divided up and hashed. The whole thing is then bundled up in a Merkle dag. How to resolve the blobs ...
  • 243
1 vote
1 answer
34 views

Image not being displayed when uploading to IPFS with NFT.Storage

I am trying to upload an image that is generated by the stable diffusion to IPFS via NFT.storage but when I check my image ipfs link it displays a small grey box in the center of the screen. Which I ...
0 votes
1 answer
5 views

How can I get the IPFS key for using the Aragon OSx SDK?

I'm trying to set up the configParams for the SDK and don't know where to find the IPFS key. Do I need a different key depending on the network I'm in?
0 votes
1 answer
17 views

Missing Metadata Files

When uploading the metadata & images to IPFS, some files(json) and images (png) were deleted from the initial file upload due to poor art output. Example: 100 NFTs Deleted: 3, 17, 88 Uploaded: 97 ...
0 votes
2 answers
33 views

what is the best technique to encrypt any document before storing (uploading) on IPFS?

I want to encrypt document before uploading to IPFS and enable more than user to decrypt it and note that the number of users may increase or decrease in any time?
1 vote
1 answer
47 views

Decreasing size of the images, fetched from IPFS, before rendering

In my project, there is a section where dozens of NFTCards get rendered, including NFT's pictures and other information. Since the quality of those images is high and their sizes are usually too large ...
1 vote
0 answers
11 views

React multipage dApp not working on IPFS

I am creating a create app with multiple pages and it uses web3-react (npm package) but when I publish this on IPFS, it doesn't work as expected, and I have tried react-snap for creating static HTML ...
1 vote
1 answer
35 views

Is dedicated gateway a need for marketplace projects?

I am developing an NFT marketplace. It has a section showing images of NFTs ( NFTCards with some information ) of a specific contract address. Since the number of minted NFTs by the contract is high, ...
0 votes
0 answers
28 views

Mint an NFT with IPFS

I want to mint a NFT with IPFS. I followed this documentation from IPFS: https://docs.ipfs.tech/how-to/mint-nfts-with-ipfs/#minty but I get this error: TypeError: Cannot destructure property 'cid' of ...
1 vote
0 answers
19 views

Is it possible to use cors or something similar to reject all API calls not from a particular ENS Domain, Unstoppable Domain, or IPFS hash?

I love decentralized domain projects. I have worked with Unstoppable Domains, ENS domains, Handshake domains, and even just simple IPNS domains and IPFS hashes. The domain name system used by web2.0 ...
0 votes
0 answers
20 views

Can not view my listed NFTS on my NFT Marketplace frontend

I followed alchemy road to web3 tutorial on NFT market place. After listing the NFTs and then go to the market place to view my listed NFTs I get a has been blocked by CORS policy error. I used "...
0 votes
1 answer
121 views

my nft image not showing in opensea testnet

when ever i mint an nft with my frontend dapp and check it on opensea i will just see the name without the nft image. here is my deploy.js file. this is the tutorial i am following https://dev.to/...
1 vote
4 answers
97 views

How to upload URL to IPFS API

I'm working on a project where I wish to upload some images to IPFS, but the issue is I have the URL for the images, is there any way to upload the image using the URL? Like I was searching for ways ...
0 votes
1 answer
41 views

setState is not working

This is a function where I try to pin an NFT metadata on IPFS and then store the URL in a state variable called tokenUrl. Once the pinning process is done, I need my related state variable to be ...
1 vote
1 answer
27 views

Infura is not working with Nader Dabit tutorial for NFT Marketplace. How can I use Infura again?

I was trying to build an NFT Marketplace demo using Nader Dabit tutorial. Whenever I try to click on 'Create an NFT' button after file submission, I run into an Unhandled Runtime Error: TypeError: ...
0 votes
0 answers
85 views

IPFS public gateway problem

I put a 10sec video in my IPFS local node ( after ipfs daemon command I've imported the file in my IPFS desktop . now I can see the file on the local host but I cannot see the file on public gateway ( ...
  • 7
0 votes
1 answer
33 views

Unpin NFT metadata from IPFS from react

I am minting NFT's and storing their metadata in the Infura IPFS. Is there a way to unpin the NFT from the IPFS from react?
0 votes
0 answers
36 views

How to setup metadata on IPFS for newly generated metadata?

I've been studying on how devs usually go about handling the metadata for NFT collections and from what I've seen, this reply on this post sums up the whole process: Best way to set metadata in ERC721 ...
  • 1
0 votes
0 answers
23 views

Choosing the best tool to upload NFT metadata on IPFS

I am working on an NFT creation user interface. I have recently encountered a crucial situation where I need to choose between the available tools to utilize the most efficient one to host my NFT ...
0 votes
1 answer
71 views

What does pinning mean in Pinata and how is it different from Filecoin?

I recently came across pinata that is used for pinning the nfts and uses IPFS in the backend. My question is: what does that pinning actually mean? And if it is keeping pieces of the data in multiple ...
0 votes
1 answer
554 views

What is NFT token metadata or URI?

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 ...
0 votes
1 answer
35 views

Send project id from IPFS Infura Java Android

In this tutorial show how in the following code how to connect to the infura project using android devices, but today this code shows the error "project id is required" Is there a way to ...
0 votes
2 answers
122 views

How to fetch IPFS data on Polygon Smart contract?

On a project in solidity, on Polygon/Matic, I need to fetch data from IPFS. So, an Oracle is mandatory, and I found 2 possible oracles: Provable (old Oraclize) seems do not accept 2nd layer Polygon. =&...
  • 61
0 votes
1 answer
92 views

correct solidity type for a cid?

Im writing a function in solidity where the user enters a CID from an IPFS link, which looks like: QmcQvCyLAncpEzvmYtKfvVPVayGqFvTQrYpUpPAJeoXGke So far im using string type, and it works. Which is ...
0 votes
0 answers
49 views

Java IPFS Infura error 401 - Unauthorized

I`m tring to connect with ipfs infura, but send me the response code 401 I created an IPFS project and I have my projectId and secretKey protected void onCreate(Bundle savedInstanceState) { ...
0 votes
1 answer
8 views

IPFS connection not working with aragonOSx sdk

I couldn't get an ipfs connection with aragonOSx SDK (https://github.com/aragon/sdk). Error: Could not pin the metadata on IPFS
0 votes
0 answers
39 views

Problem to Connect to infura with Java Android

I downloaded the IPFS library as the following article But it doesn't show how to pass the credentials, like projectid and secretid Follow the article, show me this error "android_getaddrinfo ...
0 votes
2 answers
166 views

Can a contract write to IPFS?

I'm accustomed to IPFS as a store of data for the metadata of NFTs. But is it possible for a smart contract to write to ipfs? In my use case, I would like my NFT to pull its metadata, alter a few ...
0 votes
1 answer
21 views

Creating a smart contract with ipfs

I created a site with the help of ipfs, my goal is to create a smart contract with the ipfs CID of this site. but i have no idea about this, can anyone help?
  • 1
0 votes
0 answers
21 views

Make sure an IPFS file is decentralized enough and can't be unpinned

I'd like to find a way to verify, in a smart contract, that the URI of a IPFS file is correctly distributed and should not be unpinned if the user wishes to. The idea is that a user could send a file, ...
0 votes
1 answer
53 views

can an ipfs node identify a partner in file transfer?

I just finished reading the whitepaper. It seems to me that IPFS does not provide anonymity in case of files with narrow use. Specifically, if I add a file to my IPFS node, and provide its hash to ...
1 vote
2 answers
28 views

Does IPFS works over etherium?

Does IPFS has etherium smart conttacts? Is it a whole other Blockchain?
  • 21
0 votes
0 answers
20 views

Fetching Multiple erc-721 token IPFS Metadata in one HTTP request?

Currently I am using an Infura IPFS gateway to read data from an NFT collections. My question is: What would be the best way to fetch say multiple NFT's (in the same collection) metadata? For example, ...
  • 1
0 votes
0 answers
69 views

CORS error on accessing web3.storage IPFS gateway

I'm trying to display files stored on IPFS via web3.storage like this in my front end application: const makeGatewayURL = (cid, path) => { return `https://${cid}.ipfs.dweb.link/${...
  • 167
0 votes
1 answer
148 views

How to create many ERC721 tokens sharing the same metadata tokenURI but different TokenId?

I'm actually trying to create an NFT Marketplace, where a user can upload his NFT (create/mint new NFT) and other users can give some Ether and mint the same NFT. Trying to achieve this with the ...
  • 383
0 votes
1 answer
42 views

How to solve IPFS Desktop stuck in "IPFS is starting"?

I just install IPFS CLI and Desktop then run it. I have no idea what to do with my IPFS Desktop where stuck in "IPFS is starting", so many ways I have done with to solve this problem: ...
  • 3
0 votes
1 answer
459 views

How to pin a file to Pinata and also pin json to Pinata using next js

I am just wandering arround to find a way to pin the file to Pinata Though I have a method to do it from server side but don't know how to do it from client side like React.js: This is server side ...
1 vote
1 answer
48 views

Update ERC721 to IPFS after minting

I have an older ERC721 collection that I want to update to be hosted on IPFS, Is that something that is possible? The collection is just on testnet and only owned by friends and family so is mainly ...
  • 43
1 vote
2 answers
275 views

How can I fix an connection timeout error when attempting to use the ipfs-http-client javascript module to upload to ipfs using a public gateway

I am currently trying to learn to use ipfs in conjunction with ethereum to create web applications. To help gain an understanding of how ipfs works, I am creating a simple React application that ...
  • 21
0 votes
0 answers
14 views

Is all NFT data public after it's uploaded to IPFS?

Let's say we have some NFT primary market, where you can mint the NFT from some collection, if the smart contract uses IPFS for storing data, anyone can see the whole collection, before the sale ...
  • 1
1 vote
0 answers
23 views

does opensea treats differently ERC721 and ERC721URIStorage? What about using pinata vs custom IPFS server?

I developed a contract and uploaded it to the polygon chain. I wanted to use my own IPFS node to be as "decentralized as possible", so I used URIStorage. It costs more gas but because in ...
0 votes
1 answer
28 views

IPFS upload is creating uselless subfile

I am using Web3 Storage in order to upload my data to IPFS. The link always ends up being ipfs://CID/1.png instead of ipfs://CID. This is my code: import { Web3Storage, getFilesFromPath, CIDString } ...
  • 123
0 votes
2 answers
103 views

IPFS for media files

I'm trying to build an nftmarketplace that takes in an audio file, can I use IPFS for storing my URi, was wondering if the file would be too large as all the tutorials I've worked with mainly used ...
  • 3
1 vote
1 answer
1k views

Error uploading file to IPFS: HTTPError: project id required

Currently making a rudimentary DApp for posting chats, similar to twitter except built on a smart contract. I am using hardhat and running my app on localhost. When creating a profile I want users to ...
0 votes
1 answer
148 views

Why are clouds like Pinata are used to host NFTs rather just using IPFS desktop?

I have been working on some NFT projects and came across Pinata to upload files to IPFS. But there is also IPFS desktop that provides the same functionality and is free. So why do people use Pinata ...
0 votes
1 answer
191 views

How to get baseURI for NFTs in IPFS using Fleek?

I have been trying to use Fleek to host my NFTs. But the folder link they are providing, which I wants to use as baseURI in my contract, is using their own storage API, rather an IPFS link. Is there ...
0 votes
0 answers
70 views

Is it a good pratice to reference a NFT by its IPNS link?

So I was wondering if it is actually a good practice for one to use an IPNS link from the IPNS protocol as a mean to point for a NFT? The need for the IPNS link instead of the normal IPFS link is ...
0 votes
0 answers
9 views

Generate series of ERC1155 tokens or rather batches of ERC721?

My idea is to allow users to create several series of tokens, like 100 tokens of 10$ and 10 tokens of 1000$ to participate in financing a project. And those who support can buy as many of these tokens....
  • 101
0 votes
0 answers
51 views

Make smart contract change 1 byte of an ipfs hosted file

So I am storing a file on ipfs and would like anyone to be able to change 1 byte a minute with a smart contract. However, I cannot save the file directly to the blockchain The Blockchain must be able ...
  • 1
0 votes
0 answers
31 views

How to encrypt data stored on a blockchain?

I'm really new to web3 development and blockchain in general, so please excuse me if I am understanding something wrong. So let's say a person wants to start a marketplace selling an item that they do ...

1
2 3 4 5
7