Questions tagged [ipfs]

IPFS (InterPlanetary File System) is a distributed/P2P content and identity-addressed hypermedia distribution protocol.

IPFS logo

The InterPlanetary File System is a hypermedia distribution protocol, addressed by content and identities. It enables the creation of completely distributed applications.

IPFS aims to make the web faster, safer, and more open by connecting all computing devices with the same system of files.

Latest release of IPFS is v0.9.0. Read more about the latest release at https://github.com/ipfs/go-ipfs/releases

IPFS official documentation: https://docs.ipfs.io/

772 questions
-1
votes
1 answer

How to grant an access to IPFS file securely using NFT

Let's say I want to store and distribute some author's content (text or artwork). As an util for granting access to it I'd like to use NFT for instance. If any user will buy an NFT from specified collection he would have an access to published…
matterai
  • 3,246
  • 4
  • 17
  • 29
-1
votes
1 answer

Is there any way to hide ipfs addresses without using ipns?

For practical purposes, it is important that files can be deleted, so the ipfs address cannot be used as is. However, ipns is currently very slow. Is there any way to hide the ipfs address without using ipns?
nokemono
  • 1
  • 1
-1
votes
1 answer

I get CORS error when I try to access metadata stored on IPFS

I am trying to fetch the metadata I stored on NFT.storage using axios, but each time I get this error: Access to XMLHttpRequest at 'ipfs://bafyreib6hf354pwtnwxdmfllegogffvkv2dzsrgbithvjbzzewu757bxay/metadata.json' from origin…
bigfoot
  • 59
  • 2
  • 14
-1
votes
1 answer

how to show a fetch a string using javascript and display in html

I have Uploaded a fully string data in IPFS:- the URL is:- https://bafybeih3u62l664yz4ffpgrjci6ytl64rbivsgpovv6csty3j6kbx6natm.ipfs.infura-ipfs.io/ I put this URL in browser and it perfectly showing it, is there any way, I can fetch this URL using…
Suvi Negi
  • 31
  • 1
-1
votes
2 answers

image suddenly not loading anymore

I am working on decentragram. This was working fine a few days ago but now image not load anymore. Giving error as bafybeieq6nyhu7ilorb7dxepo6sexab6oqigkjhzc62dxio6x5xaurge7u.ipfs.infura-ipfs.io/:1 GET…
Jnilj
  • 51
  • 5
-1
votes
1 answer

when trying to connect to IPFS System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it

I am trying to upload a file to Ipfs below is my code sample. using (var ipfs = new IpfsClient()) { await ipfs.Swarm.Peers(); IpfsStream inputStream = new IpfsStream(filepath,…
-1
votes
1 answer

NFT Marketplaces and Storage

I am new to blockchain and NFT space, but with decentralization at the heart of it. How are NFT marketplaces providing capabilities like Stats and Searching, do we also have any decentralized storage for storing those types of data? I see that the…
Forkmohit
  • 733
  • 3
  • 12
  • 31
-1
votes
1 answer

Returning a promise object instead during retrieval

I have a mapping and in each mapping i want to get data in the file storage IPFS such as the name. Then I want to return the name on the interface. However, I get a "Error: Objects are not valid as a React child (found: [object Promise]). If you…
mathsmad
  • 55
  • 6
-1
votes
1 answer

Writing to file from cmd output

I am trying to write a small code in Go that will collect and save stats from IPFS. So my Go code will execute IPFS command and save its output in .txt file and keep updating that .txt file. I am having trouble doing that. This is my code: package…
-1
votes
1 answer

ipfs.cat(cid) in node js gives error "Error: Invalid version, must be a number equal to 1 or 0 at Function.validateCID"

I am using the ipfs-http-client module. This is my script async function main() { const ipfs_client = require('ipfs-http-client'); const client = ipfs_client({recursive: false}); async function addFile(file_data) { const cid = function (data)…
-1
votes
1 answer

Need an appropriate loader to handle this file type. | * @type {import(‘../../ipfs/src/core/components/add-all’).AddAll}

I downloaded source code from GitHub and try to run it. It ran but then came the issue with “ipfs-api” so then I install the latest version of “iphs-http-client” now it pops up a lot of error relating to PLEASE TELL ME IF THIS CAN BE SOLVE IF CANT…
Lionel Lim
  • 73
  • 1
  • 3
-1
votes
1 answer

Failed to compile ./node_modules/ipfs-http-client/src/add.js Module parse failed: Unexpected token (10:24)

I am using ipfs-http-client@44.0.3 library to upload a file to IPFS. below is the error I am getting while compiling the code I have also tried to reinstall the library with sudo yarn add ipfs-http-client. I even tried installing with npm package…
Vikas Bansal
  • 2,184
  • 2
  • 15
  • 18
-1
votes
1 answer

IPFS return file url

Im trying to do a file upload function to IPFS that returns the string of the url for where the file is located. But I cannot get it to return it. I have tried using var and window to declare the variable but it always returns undefined.Also defined…
Pablo Arriola
  • 334
  • 3
  • 15
-1
votes
2 answers

What is ipfs and ethereum?

I just got a chance to work on the block-chain based platform. Could anybody help me understand the differences between IPFS and Ethereum?
Avinash Ravi
  • 591
  • 4
  • 5
-2
votes
1 answer

Recommendation for IPFS gateway services

I have a project that needs to access and pin data through IPFS. Besides operating my own fleet of gateway nodes, what are the recommended public gateway services I could rely on? Thx I have used the official gateway ipfs.io but it does not seem to…
Max
  • 1
1 2 3
51
52