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.

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
68 views

How do I redirect my .eth domain with eth.link?

Let's say I want to redirect somewebsite.eth.link to www.otherdomainiown.com. http://spacex.eth.link/ does this and the redirect works on chrome. However, I don't see an A record and I do see IPFS ...
3
votes
0answers
141 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
324 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 ...
2
votes
1answer
135 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
113 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
182 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
136 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
655 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
528 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
688 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
0answers
13 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
20 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
1answer
69 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
0answers
122 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:...
1
vote
2answers
742 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
96 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
91 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
39 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
23 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
1answer
90 views

What would an Etheruem-like blockchain look like if each block were just an IPFS hash?

I see a lot of people tout the enormous benefits of using IPFS as a store of data. Meanwhile, the Ethereum blockchain is over 1TB in size, with quesitonable need to keep the earlier blocks. In ...
1
vote
2answers
378 views

Storing data on IPFS using KMS and ethereum

I am trying to build a blockchain on ethereum but keeping the data related to blocks in some distributed file storage system like IPFS or Storj and storing the hash of data in blocks. But we need our ...
1
vote
0answers
235 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
336 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
229 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
32 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 ...
1
vote
1answer
869 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&...
0
votes
0answers
30 views

Error: IPFSInbox has not been deployed to detected network

It's my first time writing smart contract in solidity and using IPFS to develop my dapp. I don't know how to solve it and why it pops up this errorNo web3 instance injected, using Local web3. Error: ...
0
votes
1answer
223 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 ...
0
votes
0answers
72 views

How to use the ipfs.add() function?

Here is a function that I have written to add a file on clicking a button, which calls the function 'onSubmit' onSubmit = async (event) => { event.preventDefault() await ipfs.add(this.state....
0
votes
0answers
77 views

How to use the ipfs.get()?

I am new to IPFS. I added a file in IPFS and then, pinned it. Now, I am trying to retrieve the file. I am writing the code in React. Hence I used the following code: ipfs.get('/ipfs/...
0
votes
0answers
45 views

Hosting pet-shop DApp on IPFS - JSON Files problem

I am trying to host DApp "pet-shop" which one of the truffle boxes on IPFS. rsyncing of src, build/contracts and ipfs add files went very well and there are plenty of peers as seeders on the network ...
0
votes
1answer
85 views

Ethereum & IPFS Storage Question

Etherum vs IPFS for Long Terms Storage of Critical document files? Storing high priority files on the blockchain. I am also writing a smart contract for the files on Etherum. I have concerns about ...
0
votes
1answer
115 views

IPFS dapp hosting

I have uploaded the dapp frontend folder along with contracts json files on the IPFS using ipfs add <path> ipfs name publish <hash> commands. I am running Ganache for in-memory virtual ...
0
votes
1answer
197 views

ipfs.files.add(Buffer) function causing TypeError: Cannot read property 'add' of undefined

I am trying to upload an image to ipfs using ipfs.files.add() function but it is causing me this error Uncaught TypeError: Cannot read property 'add' of undefined at App.onSubmit (App.js:70) at ...
0
votes
0answers
84 views

Migrating or representing a Microsoft SQL Database on the Chain

I am wondering what is the best way to migrate or represent a massive, 50 table, Medical Health Records SQL Database on the Blockchain. Is it best done with IPFS hash on Ethereum or is Hyperledger a ...
0
votes
2answers
359 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/...
0
votes
1answer
157 views

How can I connect my static page (Dapp) to my ipfs node?

The very naive way I'm going about it is: const node = new Ipfs({ host: "xxx.ip.address.xxx"}); When I save an image from the static page, it does give me an ipfs hash back and save it to the local ...
0
votes
2answers
924 views

Upload file to IPFS from HTML page

I am trying to upload the file to IPFS from HTML page and below is my code but I am getting below error. Uncaught ReferenceError: Buffer is not defined I have imported below statements <script ...
0
votes
3answers
218 views

Ethereum vs InterPlanetary

I've been reading about Ethereum and it's fundamentals for a while now. I wonder what is difference between Ethereum and InterPlanetary File System ?
0
votes
4answers
2k views

How do I implement buffer/readable stream in order to add a file to IPFS?

I'm trying to upload a file from my directory to IPFS. Below is what they require from API: const files = [ { path: '/tmp/myfile.txt', content: (Buffer or Readable stream) } ] ipfs....
0
votes
1answer
81 views

Does LemonEmail Support Perfect Forward Secrecy

LemonEmail looks like a very interesting implementation of 100% decentralized messaging system with end-to-end encryption. From what I understand from the information available, it uses the Ethereum ...
0
votes
1answer
508 views

Implement Web3 and IPFS on server side (backend)

How do I implement Web3 and IPFS on the server side (backend)? I am able to implement on client-side (using web3.js and ipfs.js in HTML script tags) for localhost. However, it fails when I run the ...