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

Can I get the IPFS hash from file (without uploading it & with java)?

As far as I'm concerned IPFS client uses the resulting SHA-256 hash from files, and also compatible with others, to index them in the IPFS Protocol. My problem is that I'm not sure how to consistently ...
0
votes
0answers
9 views

'Invalid account name or access token' when deploying to Thegraph

I'm currently working on deploy a subgraph to the hosted service on thegraph. It's to track volume and liquidity of a new token on the bsc. The thing is, I'm using a v1 clone from PCS, and everything ...
0
votes
0answers
37 views

How to create a lazy minting nft place using ipfs

I want to create a site to perform lazy minting of NFTS using ERC-721. The site will allow users to mint NFTS which can be image, video, music, virtual game items, domains. The first part of questions ...
1
vote
0answers
38 views

update ENS subdomains based on votes

Let's say I use ENS to assign a domain name to an IPNS address. This address would point to a json object like the following: { "stakeholders": ["address_of_sh_1", "...
0
votes
1answer
61 views

Need help hosting NFTs metadata

I am creating a bunch of NFTs using ERC721. However I see that many other contracts just use centralized hosts to serve their metadata, which means one day these servers will be gone and so will the ...
1
vote
1answer
23 views

What file underlies a domain name NFT?

It's easy to understand that a jpeg, png, gif or mp4 file underlies an art NFT (ERC-721 token), which can be proved by looking up the artwork's IPFS address and seeing the filename extension there. ...
0
votes
1answer
52 views

Linking IPFS in ERC-721

Im currently onto developing my own NFT. It will be only one NFT in the contract with the ID "0". First of all, do you see problems in adding the URI to the NFT after minting it (it has to ...
0
votes
1answer
25 views

How to retrieve an IPFS file/json with Pinata?

I have been using Pinata API to pin new files and json objects in IPFS in a very easy way. I can see that the file is stored in IPFS when I access via browser with cloudflare: https://cloudflare-ipfs....
0
votes
0answers
15 views

leftpad token uri

I am trying to write a smart-contract in the solidity that references a directory of IPFS tokenURIs but I named all the files to have 5 characters and left pad with zeros (00001,00002,...00345,), but ...
0
votes
0answers
39 views

NFT data on database vs On-Chain/IPFS

First of all, I feel sorry because my doubt is more kind of philosophical, rather than technical. I'm developing an NFT based game, where items are ERC721 tokens, all of them with a different Index ID....
1
vote
1answer
86 views

Best practice for storing metadata on IPFS for non-deterministic number of NFTs?

I am making an contract that allows for unlimited minting of NFTs (they will be for identification purposes, not necessarily collecting). But since the number of NFTs, and therefore corresponding ...
0
votes
0answers
16 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
10 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
28 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
31 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 ...
1
vote
1answer
52 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
64 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
30 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 ...
1
vote
1answer
95 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"; ...
2
votes
0answers
75 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
373 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
29 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
4
votes
1answer
331 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
14 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
349 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
20 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 ...
1
vote
2answers
332 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
55 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
63 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
14 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
26 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
203 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
32 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
369 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
47 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
151 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
23 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
168 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
119 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
7 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
823 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
214 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
53 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
44 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
47 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
84 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
144 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 ...
1
vote
0answers
16 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
29 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 ...

1
2 3 4 5