Questions tagged [ipfs]
IPFS (InterPlanetary File System) is a distributed/P2P content and identity-addressed hypermedia distribution protocol.
669
questions
0
votes
1
answer
15
views
@ipld/car - carReader for large files (Content Addressed Archive)
I'm trying to create a reader from a .car file (Content Addressed Archive) using @ipld/car. The documentation shows how to create a carReader when files are small as per below:
import { CarReader } ...
0
votes
0
answers
10
views
How to use ipfs properly while creating a Dapp?
I just created a blockchain based medical record storing system. In the patient/doctor page I can choose file from desktop as a prescription and it is uploading successfully by using metamask. But the ...
0
votes
0
answers
31
views
How to setup IPFS public gateway?
Hello all community members and developers,
I am trying to set up the public IPFS gateway on my AWS server.
I have installed the Golang and IPFS successfully on the server. and as I try running the ...
0
votes
1
answer
39
views
Module not found: Can't resolve 'ipfs-http-client' in 'D:\Pro\src\components'
I am trying to send files to ipfs using a website in node-js. I am using the ipfs-http-client module. When i try to access the module using require I keep getting this error :
Module not found: Can't ...
0
votes
0
answers
12
views
Unable to replicate data in ipfs-core
I am unable to replicate Orbit-DB data across different peers. I am using IPFS-CORE and have my application open in two different browsers but the data that is created in one browser is not showing up ...
-2
votes
0
answers
21
views
Why my IPFS node gateway is not responding?
I am trying to deploy the IPFS node on my AWS server, I have downloaded and installed the IPFS on my server and successfully initialized the node using the IPFS init command.
run the IPFS daemon as ...
-1
votes
0
answers
20
views
Does IPFS require Internet access? [closed]
I am new to IPFS. As HTTP works with client-server protocol on World wide web. Does IPFS require Internet Access mandatorily ?
0
votes
0
answers
20
views
NestJS and IPFS - no connection on the server instance
I am struggling with binding IPFS node with NestJS instance on the server. All was working fine on the local machine, but on the server, I have a working instance of the IPFS. I know that it works as ...
0
votes
0
answers
16
views
How to configure Authentication Bearer Token for Urllib3 pool manager reuest
This is a copy of my heroku support request for their featured addon ipfs
i have been given a 'username', which i have included as the bearer token
but when i use the following code to upload:
http = ...
0
votes
0
answers
13
views
Node.JS IPFS identify the most recent message received from a peer
I'm building a P2P messaging platform using Node.JS, IPFS (the web3 decentralized blockchain module), and ipfs-http-client.
I'm trying to identify and print only the most recent message sent to an ...
0
votes
0
answers
9
views
Get the IPFS/contractURI of a contract through Etherscan's API
I'm trying to get the IPFS of a verified contract from Etherscan through their API, but I'm having trouble getting a correct response. I figured that I could get this from using the get contract ABI ...
0
votes
0
answers
29
views
Using Private IPFS networks for data storage with Hyperledger Fabric
Has anyone tried creating a full storage solution with IPFS private networks, and interfacing them with your client application based on a Hyperledger Fabric network for data exchange? Are there any ...
0
votes
0
answers
29
views
How to automate smart contract execution based on IPFS hash?
I want to add a functionality using Provable in solidity that when a certain document is uploaded in IPFS, a certain function is called in my smart contract.
I know from before what the name of the ...
-2
votes
1
answer
26
views
upload an object on IPFS with JavaScript
I tried to upload an object into IPFS but there was an error
Input not supported. Expected Buffer|ReadableStream|PullStream|File|Array<Object> got object
this is my javascript code :
let ...
0
votes
0
answers
13
views
jvm-libp2p how to achieve programs communicating over pubsub on the level of go-ipfs or js-ipfs nodes?
if we connect two jvm-libp2p hosts to a public ipfs node and send pubsub messages between them - messages are not passed
only if we connect them directly they receive each other's pubsub messages - ...
0
votes
1
answer
22
views
ACI IPFS node connection issues
I have followed this tutorial for how to set up an IPFS node in an Azure container to set up two IPFS nodes, one in Europe and one in the US to do some benchmarking on how long it takes to retrieve a ...
1
vote
0
answers
21
views
Node.JS IPFS ENOENT: no such file or directory, open 'C:\Users\..\.jsipfs\blocks\LD\CI...Q.data'
I'm trying to create an IPFS peer to peer chat app using Node.JS.
The app starts up fine and prints the swarm listening message below.
generating Ed25519 keypair...
to get started, enter:
...
0
votes
2
answers
134
views
Unhandled Rejection (TypeError): Cannot read properties of undefined (reading 'hash')
I am trying to make a solution to store the file in IPFS , and then put the hash on the blockchain.
But when I try to upload the file to IPFS here comes the error message
Unhandled Rejection (...
0
votes
0
answers
32
views
Change IPFS repo location in daemon service
I'm working to create a service that maintains an IPFS daemon, as part of a private IPFS network.
To try & keep the IPFS into available to all users easily, I chose to initialize the IPFS repo in ...
0
votes
0
answers
19
views
I have ipfs-core loaded on the client side, how can i update the url with the hash
I'm trying to input the hash into the ipfs inner html and then also the ipfs href
<script src="https://cdn.jsdelivr.net/npm/ipfs-core/dist/index.min.js"></script>
<...
0
votes
1
answer
20
views
How can I use IPFS images as twitter card image?
I want to be able to allow clients to set there own twitter card data with image sourced from there own site or from IPFS. as a test I made a page with the following meta tags(copied from a market)
&...
0
votes
1
answer
24
views
how to implement user identity within program with orbitb-db? ownership and granting/revoking writes? decentralized, no 3d-party services and no ipns?
orbitdb says it cant do it https://github.com/orbitdb/field-manual/blob/684c7a1aa427c9acfe4d73cd28d64880e072b086/01_Tutorial/06_Identity_Permission.md#on-security
but users want to give/take writing ...
0
votes
1
answer
68
views
How to display an ipfs image in Flutter
Getting an exception when using an ipfs url in Image.network return Image.network(nftData.result[index].metadata.image); in Flutter. How can I fix it?
════════ Exception caught by image resource ...
0
votes
1
answer
18
views
Infura shows only file names instead of picture
Could you help mw to figure out why Infura IPFS shows only file names. I'd like to see the picture.
This is how I generate a picture:
from randimage import get_random_image, show_array
import ...
0
votes
0
answers
38
views
How to mint 3d model (.glb file) with metadata
How can i mint 3d model in blockchain with metadata.Model is minted successfully and its showing in my wallet.
for generating metadata i am using NFT.storage.Code is working fine when i mint image but ...
0
votes
0
answers
73
views
net::ERR_SSL_PROTOCOL_ERROR uploading image to pinata
I created a next.js app to upload json
try {
const url = `https://api.pinata.cloud/pinning/pinFileToIPFS`;
const fileRes = await axios.post(url, formData, {
maxBodyLength: ...
0
votes
0
answers
40
views
how to interact go-rest-api & go-ipfs on the docker
docker-compose.yaml is like this
version: '3'
volumes:
peer.hyperism.com:
server.hyperism.com:
networks:
hyperism_net:
ipam:
config:
- subnet: ${PUBLIC_DATA_NETWORKS}
...
-1
votes
1
answer
231
views
ERC721 NFT not showing in opensea (related to the metadata)
I was creating the DApp and succeeded to mint NFT in Rinkeby using IPFS (pinata) & Nethereum (C#).
Now, I can get TokenURI using tokenURI function in ERC721URIStorage.sol, like ipfs://...
1
vote
1
answer
51
views
IPFS: Duplicate Pinning- Pin a file in two different locations?
I'm currently using Filebase - a paid IPFS pinning service - to pin my IPFS files. Filebase are still in beta, so the prices are low but could rise in the future.
Therefore I'd like to keep copies of ...
0
votes
0
answers
37
views
Is docker daemon of ipfs connecting to peers?
Good day!
This is the situation.
We developed an application with IPFS using its container version on docker. But there is a suspicion that it does not connect to peers, because if you run the search ...
0
votes
0
answers
64
views
Use ipfs-core to set up node in browser with reactjs
I'm trying to set up a local ipfs node for frontend users. I came across the "ipfs-core" module: https://www.npmjs.com/package/ipfs-core?activeTab=readme
When trying to instantiate the ipfs ...
1
vote
1
answer
453
views
list all token IDs by owner at ERC721
I have a simple ERC721 smart contract used for testing purposes, I was wondering if it is possible to query the token IDs a specific wallet owns in that smart contract.
eventually I would like to ...
0
votes
1
answer
117
views
How to upload one more file in same hash of IPFS
I have created a website to upload a single image on IPFS and generate hash for it .
Now I want to upload a folder of 2 or more images, I did with pinata but I want to upload it through my website
...
0
votes
1
answer
84
views
Run PowerShell command with parameters in C#
I am trying to run a PowerShell command and having problems with it. Here is the code:
PowerShell ps = PowerShell.Create();
ps.AddScript("ipfs 'pin ls'");
var result = await ps.InvokeAsync();...
0
votes
0
answers
75
views
What is the fastest way to access ipfs jsons that are not mine?
I am building a python bot for which I need to access thousands of json files on the ipfs.io server in a matter of seconds, at the moment my bot takes a few minutes to load all the files, I would like ...
1
vote
1
answer
238
views
Why do openSea fetching data from IPFS all of a sudden?
This the validation json I got for my nft toke 34
HTTP 200 OK
Allow: GET, OPTIONS
Content-Type: application/json
Vary: Accept
{
"valid": true,
"token_uri": "https://...
0
votes
1
answer
92
views
Unable to pin CID to remote pinning service (Pinata) from Docker container
I am having trouble using the IPFS CLI to pin a CID to a remote service (Pinata) from within a Docker container. This works fine when running from the host.
I am calling the following from the ...
0
votes
1
answer
161
views
How am I able to access my file with IPFS, with no peers?
I'm new to ipfs, so I've been running some tests. What I did is, I created a simple text file and added to ipfs, I deleted my local file and I used ipfs cat and was able to read the contents of the ...
1
vote
0
answers
84
views
Use IPFS-JS to download images, and render them in the DOM [duplicate]
I am trying to get IPFS-JS to download images, and display them in the browser. The use-case is serving images off of the IPFS network, and having a browser directly fetch it from IPFS, instead of my ...
1
vote
1
answer
135
views
How to find MIME type of IPFS (no extension given) using Javascript?
If I have an IPFS CID address (with no extension), of a
file like this for instance https://ipfs.infura.io/ipfs/QmNhq4hx1KfTw1a5pTtudGXm9Q4xhWdeuWtPSSG19SSZeU , how can I find its MIME type using ...
0
votes
0
answers
39
views
See files previously stored in IPFS
I'm working with IPFS, and have added a couple objects / directories to IPFS.
$ ipfs add -r ipfs/
added <dirHash> ipfs/helloWorld.txt
added <fHash> ipfs
14 B / 14 B [======================...
0
votes
0
answers
7
views
go-ipfs get api path for ipfs-html-client
How can I get API path from cloud server with go-ipfs, for ipfs-http-client in frontend?
Basically I try to make create from url, gateway api link works fine, but when I try pass cloud IP where is go-...
0
votes
0
answers
64
views
curl: (28) Failed to connect to dist.ipfs.io port 443: Operation timed out
I am trying to install ipfs using the following command from this link
enter link description here
curl -O https://dist.ipfs.io/go-ipfs/v0.9.1/go-ipfs_v0.9.1_darwin-arm64.tar.gz
but every time when I ...
1
vote
0
answers
19
views
How to get the identity of the storing peers in IPFS private network?
We are building a Decentralized Storage Renting System using IPFS and we want to get the peers who are storing the chunks after adding a file in the network?
Is there any method that can provide us ...
2
votes
0
answers
239
views
How Upload JPEG Image To IPFS - Golang
I am trying to upload an image from inside the code to IPFS. I am running daemon on my machine. Steps: Open the file, Decode it, Convert to bytes, Upload to IPFS using localhost 5001.
In fact I get ...
0
votes
0
answers
44
views
js-ipfs angular cloudflare, ipfs sometimes got 502 Error
I am using angular, js-ipfs and links from cloudflare.
I am getting data from IPFS in two ways:
First: ipfs.cat(cid),
Second: https://cloudflare-ipfs.com/ipfs/{{ cid }}
Thing is sometimes I get data ...
0
votes
1
answer
113
views
Node.JS IPFS sending message TypeError: Cannot read properties of undefined (reading 'publish')
I'm trying to send a message through an IPFS network but I keep getting the error TypeError: Cannot read properties of undefined (reading 'publish').
The error occurs at line node.pubsub.publish(topic,...
0
votes
2
answers
24
views
Why MongoDB saves Hash value in different format?
I am learning IPFS and trying to save IPFS file info in MongoDB. After uploading, I get one hash value
ex: {fileHash: CID(QmbCaWPi9tSqcnykvBUMaH2M1d5PiVPLEfPwhJksSSeMak)}
And in MongoDB, I see ...
0
votes
0
answers
47
views
failed to negotiate security protocol: privnet: could not read full nonce
First post on stackoverflow so sorry if this question is lacking any necessary information.
I am trying to setup a private ipfs swarm that is hosted on GCP. I have a bootstrap node that creates the ...
0
votes
0
answers
37
views
IPFS No swarm peers when deployed on EC2
Setting up an IPFS DApp using Express-Node on AWS EC2 instance running NGINX.
I keep on getting an empty list on ipfs swarm peers despite having a non-empty ipfs bootstrap list and an active daemon. I'...