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.

86 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
638 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....
4
votes
0answers
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&...
3
votes
0answers
178 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 ...
3
votes
0answers
358 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 ...
3
votes
2answers
6k views

See an NFT Token picture in metamask

I have followed step by step this tutorial: https://medium.com/pinata/how-to-build-erc-721-nfts-with-ipfs-e76a21d8f914 Everything works like a charm. I am working on ropsten Network. I have create ...
2
votes
0answers
135 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 ...
2
votes
1answer
547 views

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

I have a bunch of JSON files in a directory that I'm uploading to IPFS, to be used as NFT metadata. The problem is that after I upload them, the URI to access them looks like this: ipfs://<...
2
votes
2answers
947 views

IPFS add and read file from node

I am currently playing around with IPFS in a docker container. I am able to send HTTP requests to the API using curl. I created a small text file with some text. I would like to add the file with the ...
2
votes
0answers
268 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:...
2
votes
0answers
164 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 ...
2
votes
1answer
237 views

IPFS Config on windows 10

I'm trying to execute these commands on windows 10 ./ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]' ./ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods "[\"PUT\",...
2
votes
2answers
202 views

Possible to search swarm or blockchain?

I'm getting my feet wet in this blockchain world and looking to build a dapp based on Ethereum for maintaining an inventory of products. About 400,000 items that can be updated, removed or added to by ...
2
votes
0answers
781 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 ...
2
votes
1answer
608 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 ...
2
votes
1answer
972 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({ ...
1
vote
1answer
9 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....
1
vote
0answers
23 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
vote
0answers
41 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", "...
1
vote
1answer
60 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 ...
1
vote
0answers
239 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 ...
1
vote
0answers
172 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....
1
vote
1answer
80 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 = ...
1
vote
0answers
107 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 ...
1
vote
0answers
211 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 ...
1
vote
0answers
17 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 ...
1
vote
0answers
18 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 ...
1
vote
0answers
29 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 ...
1
vote
0answers
79 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/...
1
vote
0answers
54 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,...
1
vote
0answers
122 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 ...
1
vote
2answers
580 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 ...
1
vote
1answer
133 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 ...
1
vote
2answers
2k 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">&...
1
vote
0answers
166 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 ...
1
vote
0answers
116 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)....
1
vote
0answers
45 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 ...
1
vote
0answers
25 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. ...
1
vote
0answers
313 views

I get some “POST 404 (Not Found)” when I deploy the IPFS webui in production

I followed all the guidelines to deploy property this helpful tool. When I make it in my local machine, all works fine. But when I try to deploy the same in a production server, it shows me some 404 ...
1
vote
1answer
954 views

Where do you save the application data of a Dapp?

Let's say that I want to implement a Dapp similar to Facebook. Each user has its own profile, pictures and information. Usually you would use a database to store all this data. This guarantees that ...
1
vote
1answer
274 views

No output when writing data to IPFS and storing its hash through Solidity

So I am using truffle. Following from Creating a form in IPFS for users to enter data [check the code in answer], doing some changes: Contract name - IpfsContract.sol test.js uses the following JSON ...
1
vote
1answer
44 views

Best Practice for Arrays you will Write to Often

I want to build an App with an array data structure that I would like to keep private. So far, I've wanted to build it between IPFS and Ethereum. But what would be best practice for an array that I ...
0
votes
0answers
17 views

Mint failing on rinkeby with ethers and react. Help troubleshooting?

I've deployed a contract on Rinkeby with Truffle, and connected to it with Ethers.js and React. When I call the minting function defined in the smart contract, passing an address and token metadata ...
0
votes
1answer
16 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 ...
0
votes
0answers
53 views

Can I use a .json file to import arbitrary trait metadata to OpenSea when lazy minting?

I know how to manually add arbitrary traits to an NFT when lazy minting on OpenSea. I also know how to point to off-chain metadata, for instance with an IPFS hash, when deploying an ERC-721 contract (...
0
votes
0answers
23 views

How to use "classic" DNS domains to host websites on IPFS via ENS lookup?

Since it would now seem that one can use "classic" DNS domains on ENS, it would stand to reason that one could host a decentralized website on the IPFS much in the same way that one could ...
0
votes
0answers
48 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....
0
votes
0answers
310 views

How to use ERC1155 with files hosted on IPFS, when files are added regularly?

I'm looking to build an ERC1155 smart contract (I'm using OpenZeppelin) that will contain NFTs whose metadata will be hosted on IPFS. About 4,000 images for now, all unique (all amount of 1). An ...
0
votes
0answers
10 views

IPFS: Technical explanation of P2P overlay needed

TL;DR: How is the routing table in IPFS built and maintained exactly? Hi, I searched for a general "web3"-community on here, but couldn't find any. Hence, I'm posting this here in the hope ...
0
votes
1answer
44 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 ...
0
votes
1answer
84 views

'Invalid account name or access token' when deploying to Thegraph

I'm currently working on deploy a subgraph to the hosted service on thegraph. It's to track volume and liquidity of a new token on the bsc. The thing is, I'm using a v1 clone from PCS, and everything ...