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.

111 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
2 answers
2k views

How to use a placeholder image during minting, and then only updating metadata with the actual URI after minting?

As per the title. I want to be able to have a placeholder image for my NFTs, something like this: https://opensea.io/collection/thealcabones Then subsequently, after launch, I then update the metadata....
Welpers's user avatar
  • 61
6 votes
0 answers
646 views

how to decode/encode ipfs for contracts

It's known that IPFS can use 2 types of CID, v0 and v1. In my contract, I let users store bytes data parameter. They can store some simple text on it or even pass the ipfs hash. This question is about ...
Nika Kurashvili's user avatar
4 votes
0 answers
1k views

IPFS API calls and Connection Refused

I have a lot of errors using the API and I am wondering if there is anyway to debug it. When I use curl "http://127.0.0.1:5001/api/v0/object/get?arg=QmU5KhkgvweYgE3Gsr8A19uFQrq7mszx7dubcoo89cTmAV&...
Trevor Lee Oakley's user avatar
3 votes
0 answers
375 views

How should a dapp store & query user profile data?

We are currently working on a dApp that will store user profile data and let its users query them. We haven't been able to figure out how to do that efficiently so far, and therefore we need to ask ...
Ay3914586's user avatar
3 votes
0 answers
201 views

Evaluation of DApp (Smart Contract) storage concept with IPFS

i hope you can help me improve or validate my storage concept. I am glad for each suggestion. Since this is my first DApp, i might not consider all possible options for my problem. To understand the ...
MrMoehner's user avatar
3 votes
0 answers
384 views

How to create a git repository on swarm?

I'm running geth --testnet on ropsten testnet and attached a swarm node to it. Now I should be able to use mango to host my git repositories on swarm. I installed mango-admin and git-remote-mango ...
q9f's user avatar
  • 32.8k
2 votes
1 answer
82 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, ...
Sina Rahimi's user avatar
2 votes
1 answer
566 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 ...
David J.'s user avatar
2 votes
2 answers
699 views

Pin file to IPFS using pinata

I'm using pinata and trying to pin some files to ipfs. These files are coming from user input and not readed from the fs. Having this code: export const deployFile = async ( file: Express.Multer....
Andon Mitev's user avatar
2 votes
0 answers
323 views

Unhandled Rejection (Error): No valid "from" address specified in neither the given options, nor the default options

Unhandled Rejection (Error): No valid "from" address specified in neither the given options, nor the default options. ▶ 4 stack frames were collapsed. (anonymous function) C:/mydapp1/client/src/App.js:...
rimeh moussi's user avatar
2 votes
0 answers
201 views

error when trying to upload picture from ipfs

$("#image").change(function(event) { const file = event.target.files[0] reader = new window.FileReader() reader.readAsArrayBuffer(file) }); function saveOnIpfs(reader) { return new ...
Josue Guessennd's user avatar
2 votes
0 answers
867 views

How to connect frontend with contract backend using truffle?

Right now I'm having some trouble understanding how it all fits together if I want to make a Dapp. I did create a contract and the frontend using truffle. Then I compiled it and deployed it to ...
Merunas Grincalaitis's user avatar
2 votes
1 answer
656 views

Ethereum IPFS Integration

By now i have developed few basic example apps to execute Ethereum contracts using truffle based web application in a private blockchain. I have setup an IPFS node in my local. Able to upload files ...
Susmit's user avatar
  • 1,794
2 votes
1 answer
1k views

Ipfs. Adding files using http request in meteor

Good day, I've spent some time trying to upload file to ipfs using http request (from meteor). Meteor.startup(() => { // code to run on server at startup Meteor.methods({ ...
shultz's user avatar
  • 1,091
1 vote
0 answers
13 views

Fleek CLI Error: "No api key found" despite FLEEK_API_KEY being set in .env file

I am currently working on hosting a Next.js app for an NFT marketplace on IPFS using Fleek. I've followed the steps to install the Fleek CLI using npm i -g @fleekhq/cli, built the app with npm run ...
Web3Phoenix's user avatar
1 vote
0 answers
17 views

Is it possible to add more files in an already uploaded IPFS folder?

I have an already uploaded folder of JSON files on IPFS , HERE My question is can I add more files to this folder? It doesn't seem possible to use Pinata for this but is there any other method to do ...
Zartaj Afser's user avatar
  • 2,230
1 vote
1 answer
483 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 ...
NotToDevy's user avatar
1 vote
0 answers
21 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 ...
Usman Sharif's user avatar
1 vote
0 answers
43 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 ...
ChristianOConnor's user avatar
1 vote
0 answers
37 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 ...
Erik Skibinsky's user avatar
1 vote
0 answers
84 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 ...
Tiago Verissimo's user avatar
1 vote
0 answers
156 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 ...
sentiinex's user avatar
1 vote
0 answers
162 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....
Luex's user avatar
  • 51
1 vote
1 answer
918 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", &...
Luex's user avatar
  • 51
1 vote
0 answers
244 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 ...
zerb's user avatar
  • 31
1 vote
1 answer
124 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 ...
Arthur's user avatar
  • 194
1 vote
1 answer
118 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....
jonas's user avatar
  • 11
1 vote
0 answers
523 views

Can I get the IPFS hash from file (without uploading it & with java)?

As far as I'm concerned IPFS client uses the resulting SHA-256 hash from files, and also compatible with others, to index them in the IPFS Protocol. My problem is that I'm not sure how to consistently ...
Alexander Herranz's user avatar
1 vote
0 answers
53 views

update ENS subdomains based on votes

Let's say I use ENS to assign a domain name to an IPNS address. This address would point to a json object like the following: { "stakeholders": ["address_of_sh_1", "...
David J.'s user avatar
1 vote
0 answers
252 views

How to make static React site and put it to IPFS

I am using site build with Create React App and it all works fine when I run it on server. What I would like is to put it to IPFS and for that it needs to be a "generated static website" (no ...
Blissful's user avatar
  • 337
1 vote
1 answer
136 views

MIgrate a NFT to IPFS after minting?

Hi I would like to know if it is possible to migrate my NFT from a standard webserver to IPFS after minting it? I already generated and minted my NFTs and now I would like to call the basetokeURI and ...
Lorenzo's user avatar
  • 11
1 vote
1 answer
431 views

Using IPFS storage with ERC-1155 and id substitution

Is there a way to use the {id} substitution in ERC-1155 with IPFS storage? I'd like to host the metadata on ipfs and have the uri function return a link to it. A working example would be really ...
Andrei Rosca's user avatar
1 vote
0 answers
395 views

IPFS hash link keep loading without not responding

I'm trying to add many JSON files in IPFS using the following API from this liberary py-ipfs-http-client, after running locally ipfs daemon: client.add('item.json') And here is the output of the item....
penguin's user avatar
  • 133
1 vote
1 answer
333 views

IPFS add not working

I am working on a dapp and wish to upload a file on ipfs and retrieve its hash to be used further. The concerned code is as follows const ipfsClient = require(‘ipfs-http-client’) const ipfs = ...
Shrey Gupta's user avatar
1 vote
0 answers
138 views

How to look up IPFS url in Ethereum Bytecode meta data

I have a solidity contract that is deployed on the Ethereum mainnet. The contract's bytecode ended with (what I assume to be) an IPFS url {ipfs}64736f6c634300060c0033 How do I look up this URL on ipfs?...
Barney Chambers's user avatar
1 vote
0 answers
152 views

Create ERC721 with media file

I want to create an ERC721 smart-contract. The token will be associated to a png file. The users will see there tokens in metamask and i want to display there png files in metamask (this is very ...
Bob5421's user avatar
  • 1,463
1 vote
0 answers
44 views

Who is storing my data on IPFS when I upload the data and disconnect my node?

I am using IPFS desktop, is a very simple and visual tool to upload files to IPFS and get the public link (basically: "https://ipfs.io/ipfs/" + file hash) I was doing some research, and for ...
Alexander Herranz's user avatar
1 vote
0 answers
26 views

Who knows what a token collection interface is?

I'm new to blockchain development. I'm reading a tutorial on developing an NFT platform and it talks about a token collection interface. Can anyone explain to me what this is. Let's say you have a ...
Richard Omondi's user avatar
1 vote
0 answers
42 views

IPFS not returning anything

const ipfsClient = require('ipfs-http-client') const ipfs = ipfsClient({ host: 'ipfs.infura.io', port: 5001, protocol: 'https' }) uploadAsset = (cost) => { console.log("Submitting file ...
Shrey Gupta's user avatar
1 vote
0 answers
94 views

Stuck at "ipfs process started" after running embark

I ran the following commands, embark demo cd embark_demo embark run embark info invoked /home/k00lawn/.nvm/versions/node/v10.17.0/lib/node_modules/embark/bin/embark embark info located /home/k00lawn/...
k00lawn's user avatar
  • 11
1 vote
0 answers
74 views

webpack packing website and upload to ipfs but node_modules not found

After webpacking the website, I upload the dist folder to ipfs. The ethereum part is working fine, however no js files (except for app.js) and node modules can be found. But as you can see in the pics,...
LorinaG's user avatar
  • 11
1 vote
0 answers
194 views

ipfs with ethereum

Module not found: Can't resolve 'ipfs-api' in 'C:\Users.......\src' I have used this code //using the infura.io node, otherwise ipfs requires you to run a //daemon on your own computer/server. const ...
Ahmed's user avatar
  • 61
1 vote
2 answers
849 views

Upload a full directory to IPFS using ipfs (js-ipfs-http-client)

I want to upload a directory to ipfs on my browser using (js-ipfs-http-client) module. I found this old issue. https://github.com/ipfs/js-ipfs/issues/277 So I decided to use recursive way to add files ...
yehia tarek's user avatar
1 vote
1 answer
161 views

company using IPFS in their application

I am learning IPFS these days and curious about if any company is using IPFS to save data. When we upload file into IPFS, we get a hash and can use the hash to get access to the file content. But in ...
SSS's user avatar
  • 11
1 vote
2 answers
3k views

Uploading files on IPFS Infura

I am trying to make a dapp to upload files on IPFS Infura. I am using IpfsHttpClient in web browser by including the script <script src="https://unpkg.com/ipfs-http-client/dist/index.min.js">&...
ak07_'s user avatar
  • 153
1 vote
0 answers
239 views

Image and file storage in block chain

Is it possible to store a base64 image code as string in block chain? I know we can use IPFS or Swarm as a tool to store an image or a document, but if someone gets to know about the hash anyone can ...
Madhusudhan HM's user avatar
1 vote
0 answers
149 views

How to Connect IPFS client in xamarin forms.?

i need to start ipfs client in My xamarin forms app.Now with the emulator it is working but when it comes to device i don't know how to connect.?I want to connection for both platform(ios and android)....
Mosin Pathan's user avatar
1 vote
0 answers
51 views

IPFS Protocol upgrade or migrations

How would I migrate from IPFS, let says that I got 10M files linked by IPFS, and I want to migrate all of them to Swarm, how would I do that? The question in a different way: I want to use a new ...
David's user avatar
  • 65
1 vote
0 answers
28 views

Our vendor created the IPFS and Ethereum platform to store the PDF documents. How do i use the same code in Desktop Application

I am a quiet layman in IPFS and Ethereum. Our vendor created the web application which stores the documents IN IPFS (Ethereum). Now, we do need to do the same in the desktop application also. ...
PSS Chanel's user avatar
1 vote
2 answers
977 views

DApp using IPFS Ganache and MetaMask

I am following a tutorial (hosted by dappuniversity) on youtube regarding DApps using IPFS. I have done exactly everything as mentioned in the tutorial but i get this errors: GET https://ipfs.io/ipfs/...
Junior's user avatar
  • 45