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.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Does file metadata persist on IPFS?

I'm talking about the operating system specific file metadata e.g. an image file taken with a mobile phone would have some information like time of the shot, location, device etc. For simplicity ...
0
votes
1answer
14 views

Powergate and IPFS Keeps Failing to Create A Storage Deal

I am using WSL Ubuntu 20.04 on Windows 10. I installed lotus, ipfs-go, pow, and powd. I waited for the lotus daemon to finish syncing then I launched ipfs with ipfs daemon, then the pow daemon in a ...
0
votes
0answers
39 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
1answer
23 views

Storing thumbnail images in Ethereum c

I understand that its expensive impractical to store images directly in smart contracts, but I'm wondering if possible to store something like a thumbnail, say 50x50 with 8 bit color depth. Is that ...
0
votes
1answer
36 views

IPFS Desktop same base URL

I am trying to same URL Base for all my uploads on IPFS but if I upload a directory or one file at a time, each of them has a different base, which is then hard to use for a smart contract where I ...
0
votes
1answer
28 views

Is it possible to create a txt file directly on ipfs from a solidity function?

Here is my problem : I have an ERC721 contract where I mint NFTs. My NFT represent a watch and I need to create a little .txt file that serves as a certificate for the watch. Said certificate must be ...
0
votes
0answers
8 views

Keep the nft image secrete

I'm just a beginner, so I apologize if want I ask doesn't make sense. I know it's possible to associate a ERC721 with some metadata, such as an image (through IPFS), and this image is going to be ...
1
vote
1answer
33 views

TheGraph is not connecting to IPFS locally

I have a Graph local node set up using this tutorial. When I am trying to deploy it, its not going through with the following error message: Add file to IPFS build/schema.graphql ⠋ Upload subgraph to ...
0
votes
1answer
21 views

Fictitious use case to send confidential data

I am designing the network architecture of a Fictitious agency that needs to send confidential data. So my questions are: Is it possible to send images through the Ethereum network? I've read that, ...
1
vote
0answers
37 views

Having issue to upload 10,000 file into IPFS directly [closed]

I'm trying to upload a lot of JSON files (10,000 JSON file) in IPFS using the following API from py-ipfs-http-client package, and go-ipfs v0.7 and when I try to open the hash with localhost IPFS ...
1
vote
0answers
37 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....
0
votes
0answers
6 views

uPort new version and IPFS storage

I can't find an example showing how to use the new version of uPort. In particular, I need a recent example that deals with IPFS off-chain storage (with ERC 1056). The examples given on https://...
1
vote
1answer
140 views

How to find the IPFS address of an NFT on SuperRare?

The link to an NFT on SuperRare, an Ethereum-based NFT platform, is shown below. How can I find the IPFS address of the .mp4 file and view the video stand-alone? https://superrare.co/artwork-v2/the-...
2
votes
1answer
66 views

Is IPFS mandatory for NFT

Is it mandatory to use IPFS for file storage and use its hash in metadata for NFT, What if file is stored on s3 and we save its sha256 or md5 in metadata? Hash will be same until file content is ditto,...
1
vote
0answers
16 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 = ...
0
votes
0answers
15 views

Function to mint ERC-token with every nth-number of like

I need help with a function to reward user with erc777-token as soon as his content (Ipfs-Hash, see the program below) hit n-number of likes (lets say every 100th like), i.e., whenever the 'netLike' ...
0
votes
0answers
16 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?...
0
votes
1answer
31 views

Store a file on IPFS

I have tried to install an ipfs node on my computer. It works: I have stored files and i can get them with their hash. Now, what i want to do is to "publish" my files to the "full ...
1
vote
0answers
44 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
51 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 ...
0
votes
0answers
9 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 ...
0
votes
1answer
26 views

Scalability of uPort for millions of users scenarios

I am currently working on a project using Ethereum, IPFS off-chain storage and uPort for identity management in a private Blockchain. I fail to find any study/project that analyzes the scalability of ...
0
votes
0answers
134 views

How can i be sure a file is kept on IPFS

I want to understand how media files on NFT works. If i store a media file as a blob in a smart-contract's storage value, i will be sure the file will be kept forever on Ethereum blockchain. But it ...
0
votes
1answer
24 views

Data that can be accessed only when a payable function is executed

I have a contract that includes post(string memory title, data content) that will store the data to IPFS, returns an IPFS hash and a postId. postId and hash will be linked by a mapping. reveal(uint256 ...
1
vote
0answers
17 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
1answer
167 views

How to tell if an NFT jpg is stored on a legitimate IPFS domain?

usually URLs of NFTs point to well-known IPFS servers like ipfs.io and some gateway that bridges from the web to IPFS, but what about cases where an NFT is pointed towards something like https://f8n-...
3
votes
2answers
2k 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 ...
1
vote
0answers
23 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 ...
0
votes
1answer
49 views

ipfs.add TypeError: AbortController constructor: 'new' is required

I am using latest version "ipfs-http-client": "^48.2.2" <form onSubmit={ async (event) => { event.preventDefault() try{ ...
0
votes
0answers
16 views

Filecoin Forks and Finality Issue

How does file coin cope with forks? What if I ask to delete my file in some block, the node deletes it, and then the block is canceled.
0
votes
0answers
13 views

Ipfs.add not working v48.3.1

I have tried for await ipfs.files.add(this.state.buffer) I have tried ipfs.add(this.state.buffer, (error,result)=>{console.log('ipfsresult', result) I'm new to all this. Any help will be ...
0
votes
1answer
26 views

Attaching crypto to a message stored on IPFS

I want to send a message to another user and attach some eth with this message with the condition that the receiver should only be the person who can claim that crypto. Step1:Write a message, store it ...
0
votes
1answer
206 views

Storing hash on blockchain (hash of image stored on ipfs)

I am creating a dapp using react to store image on ipfs and the corresponding hash on blockchain. The purpose of storing hash on blockchain is timestamping, proof of ownership wtc and i wish to ...
0
votes
0answers
6 views

The value returned by command in peer_id is not unique. (ipfs name resolve peer_id)

The value returned by the command in peer_id is not unique. For example, if you do "ipfs daemon" and the peer id listed in "ipfs swarm peers" as a list of connections, the id of ...
4
votes
1answer
969 views

Storing ERC721 metadata on IPFS

I wanted to store the metadata of my ERC721 tokens on IPFS. Currently, I am inheriting from OpenZeppelin ERC721.sol contract, and I saw there is a tokenURI function which returns the URI of the ...
0
votes
0answers
132 views

How uploaded form in golang store files in ipfs?

I have uploaded form written in golang and I want that when user upload file, it goes to ipfs not save in local directory. I used daemon and go-ipfs-api package to upload directory in ipfs but how ...
0
votes
2answers
119 views

Can we enter our private key for decrypting a message in the react (frontend) part of a dapp?

We are planning to make a dapp in which we receive the encrypted hash of a file stored on ipfs. We need to decrypt it using our private key stored on the local computer. Is it safe to enter our ...
1
vote
0answers
77 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/...
0
votes
0answers
166 views

Storing access to encrypted data in non-fungible tokens

I am fairly new to ethereum, I want to develop a non-fungible token that can grant access to its owner access to encrypted data on IPFS. The way I am thinking this can be done is, first the owner of ...
0
votes
0answers
44 views

How to get a public IP address with IPFS-JS

With IPFS JS when I run this: const ipfsNode = await IPFS.create(); const addresses = await ipfsNode.swarm.localAddrs(); console.log(addresses); I get this: Swarm listening on /ip4/127.0.0.1/tcp/4002/...
0
votes
1answer
491 views

ipfs.add is not working

I am trying to upload my file to IPFS and save its hash to my Ethereum contract but neither ipfs.add nor ipfs.files.add is working for me... I have tried usin for loop i.e. for await (const result of ...
1
vote
1answer
58 views

Does IPFS use HTTP?

How do nodes communicate in the IPFS network? Aren't they still using HTTP? If not, how is JS-IPFS able to interact directly with the IPFS network without the need for a HTTP gateway server?
2
votes
1answer
92 views

What is the difference between IPDB and Blockchain Databases?

I wanted to know what are the differences between IPFS, interplanetary file system and a block chain database like IPDB and BigChainDB
1
vote
0answers
26 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
84 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 ...
5
votes
1answer
365 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 ...
0
votes
1answer
50 views

Trigger a payable function to send ipfsHash back to sender

I want to make a testnetwork, a supply chain, with 10 manufacturers/addresses. For that I want to make a function that sends the saved ipfsHash, which is the information about the product that will be ...
1
vote
1answer
177 views

ipfs files ls not showing all the files uploaded to it

When I am using ipfs files ls, it is not showing all the files which are being added. But when I am searching the files in ipfs explorer through the hash I am getting the file.
2
votes
2answers
571 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 ...
1
vote
0answers
129 views

IPFS file uploading issue [closed]

I just installed IPFS version 0.4.22 on my Mac. When I try to upload/add a file in TERMINAL - using the following command: ipfs add myLogo.jpg I get this error: Error: ipfs repo needs migration ...

1
2 3 4 5