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
4 views

Error occurred while pinning file to IPFS: Error: Request failed with status code 403

I've deployed smart contract for nft , I'm using pinata to store my nft asset but it shows an error of Error occurred while pinning file to IPFS: Error: Request failed with status code 403. I've ...
0
votes
0answers
5 views

How to use Pinata API with jquery in WordPress

I am a beginner in NFT programming. currently i am trying to write a minter function on my WordPress page to mint an ERC1155 token and then take the selected image for that token and upload it to ...
0
votes
0answers
11 views

How to make static React site and put it to IPFS

I am using site build with Create React App and it all works fine when I run it on server. What I would like is to put it to IPFS and for that it needs to be a "generated static website" (no ...
0
votes
0answers
24 views

Storage systems for massive quantities of data

I'm creating a decentralized social media protocol and have begun trying to figure out the right data storage scheme. It feels like storing directly on chain would prove costly, inefficient, and ...
0
votes
1answer
27 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 ...
0
votes
0answers
14 views

IPFS error: failed to enable TCP keepalive

I had an ipfs daemon running, successfully uploaded files and metadata to pinata. I could see/retrieve the data by going to the name.mypinata.cloud/ipfs/etcetcetc. I believe it was pinned. Now I can't ...
1
vote
1answer
20 views

How to securely decrypt game data inside smart contract

I have a problem I haven't been able to figure out, as follows: Suppose I have a game running on the blockchain (a solidity/smart contract game) where there are a limited number of plots of land that ...
0
votes
1answer
27 views

Unable to upload images to IPFS using ipfs-http-client

I am having an issue with uploading images to IPFS after having switched to ipfs-http-client from ipfs-api. This is what my page code is like at the moment: import ipfs from "../utils/ipfs"; ...
1
vote
0answers
34 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 ...
0
votes
1answer
178 views

How to store a javascript animation as NFT

I have a generative "art" animation made with the JavaScript p5js library and I would like to upload the output of this perpetual infinite animation on pinata or another ipfs service and ...
0
votes
0answers
20 views

Get/copy multiple CID's from ipfs

Let's say I have 500 images stored on ipfs. Is there a way to get ALL of the CID's in one go for use later, or do I really need to copy each one by one? Thanks in advance Arnold
3
votes
0answers
140 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....
0
votes
0answers
11 views

calculate average from APi in solidity

I want to create a code that can calculate the average of numbers. the numbers should come from an API or IPFS in the JSON format file. Can anyone help me?
2
votes
1answer
183 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://<...
0
votes
0answers
15 views

How can I upload a file to IPFS with a trailing slash in the url using the js api?

I'm playing around with ipfs and made a small playground with the following: const IPFS = require('ipfs-api'); const ipfs = new IPFS({ host: 'ipfs.infura.io', port: 5001, protocol: 'https'}); const fs ...
0
votes
2answers
195 views

Is there any way to upload to IPFS or Swarm from inside a smart contract?

While the title pretty much sums up the question, let's go into a bit more detail. It would be very useful for a number of use cases if a function in a contract could directly upload to IPFS, Swarm, ...
0
votes
0answers
35 views

How do I change the data of my NFT?

I have a ERC-721 NFT with it's meta-data attached to a URI of the file on IPFS. Part of the game I'm designing requires the NFT to level up, and thus change data. How can I change or update data on an ...
0
votes
0answers
41 views

IPFS is not a constructor

I am using IPFS to upload images however it's not working In the console window it's giving me the following error in Jquery.PersistPlugin.js I am not sure where is this file and how to solve this ...
0
votes
0answers
11 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
23 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
168 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
27 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
248 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
39 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 ...
1
vote
1answer
102 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
121 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
86 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
629 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
150 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
1answer
30 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
34 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
42 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
63 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
93 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
10 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
28 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
183 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
35 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
210 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
4k 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
24 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
57 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
15 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
32 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
281 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 ...

1
2 3 4 5