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

How to use ERC1155 with files hosted on IPFS, when files are added regularly?

I'm looking to build an ERC1155 smart contract (I'm using OpenZeppelin) that will contain NFTs whose metadata will be hosted on IPFS. About 4,000 images for now, all unique (all amount of 1). An ...
2
votes
1answer
606 views

Ethereum IPFS Integration

By now i have developed few basic example apps to execute Ethereum contracts using truffle based web application in a private blockchain. I have setup an IPFS node in my local. Able to upload files ...
5
votes
2answers
598 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....
1
vote
1answer
8 views

DNSLINK for ERC721

I'm working on a dynamic NFT project where the images will periodically be updated and I would like to do this with DNSLINK but I'm not sure how to link my tokenURI to the IPFS CID returned by DNSLINK....
0
votes
1answer
13 views

Accidentally published a useless contract when working in Remix. How can I withdraw the contract from IPFS? Should I care?

I am working on a versity exercise, a small and basic contract. Beginner as I am and tired as I was, I accidentally pressed Publish to IPFS instead of the Deploy button. How would I withdraw that ...
0
votes
1answer
13 views

Is it necessary to convert a file into a "Buffer or Readable stream" before adding it to IPFS?

I've uploaded some files using js-ipfs without converting it into Buffer or Readable stream, and it works just fine. since IPFS converts the file into blocks anyway, why use buffer/stream! what are ...
0
votes
4answers
2k views

How do I implement buffer/readable stream in order to add a file to IPFS?

I'm trying to upload a file from my directory to IPFS. Below is what they require from API: const files = [ { path: '/tmp/myfile.txt', content: (Buffer or Readable stream) } ] ipfs....
0
votes
1answer
71 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 ...
2
votes
2answers
930 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 ...
0
votes
0answers
48 views

Can I use a .json file to import arbitrary trait metadata to OpenSea when lazy minting?

I know how to manually add arbitrary traits to an NFT when lazy minting on OpenSea. I also know how to point to off-chain metadata, for instance with an IPFS hash, when deploying an ERC-721 contract (...
1
vote
1answer
75 views

How to create directory to IPFS by using "ipfs-http-client"?

Now I am trying to create new directory to ipfs by using "ipfs-http-client"? const auth = 'Basic ' + Buffer.from(projectId + ':' + projectSecret).toString('base64') const ipfs = new ipfsAPI({...
1
vote
0answers
18 views

read data from ipfs in a solidity contract

Is there a way to read data from an IPFS address inside of a solidity contract? I found questions about writing to ipfs, which isn't what solidity should be used for, but I can't find anything ...
0
votes
0answers
22 views

How to use "classic" DNS domains to host websites on IPFS via ENS lookup?

Since it would now seem that one can use "classic" DNS domains on ENS, it would stand to reason that one could host a decentralized website on the IPFS much in the same way that one could ...
0
votes
1answer
422 views

IPFS dapp hosting

I have uploaded the dapp frontend folder along with contracts json files on the IPFS using ipfs add <path> ipfs name publish <hash> commands. I am running Ganache for in-memory virtual ...
1
vote
1answer
132 views

company using IPFS in their application

I am learning IPFS these days and curious about if any company is using IPFS to save data. When we upload file into IPFS, we get a hash and can use the hash to get access to the file content. But in ...
0
votes
0answers
44 views

Pin file to IPFS using pinata

I'm using pinata and trying to pin some files to ipfs. These files are coming from user input and not readed from the fs. Having this code: export const deployFile = async ( file: Express.Multer....
0
votes
2answers
657 views

DApp using IPFS Ganache and MetaMask

I am following a tutorial (hosted by dappuniversity) on youtube regarding DApps using IPFS. I have done exactly everything as mentioned in the tutorial but i get this errors: GET https://ipfs.io/ipfs/...
3
votes
2answers
6k 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 ...
0
votes
1answer
533 views

ipfs.files.add(Buffer) function causing TypeError: Cannot read property 'add' of undefined

I am trying to upload an image to ipfs using ipfs.files.add() function but it is causing me this error Uncaught TypeError: Cannot read property 'add' of undefined at App.onSubmit (App.js:70) at ...
1
vote
2answers
480 views

IPFS and Filecoin

Hows IPFS and Filecoin different? IPFS on Ethereum is Filecoin I believe. Currently IPFS is free, will there be a situation to pay for transaction and storage fees?
0
votes
0answers
10 views

IPFS: Technical explanation of P2P overlay needed

TL;DR: How is the routing table in IPFS built and maintained exactly? Hi, I searched for a general "web3"-community on here, but couldn't find any. Hence, I'm posting this here in the hope ...
0
votes
0answers
35 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 ...
1
vote
1answer
116 views

What would an Etheruem-like blockchain look like if each block were just an IPFS hash?

I see a lot of people tout the enormous benefits of using IPFS as a store of data. Meanwhile, the Ethereum blockchain is over 1TB in size, with quesitonable need to keep the earlier blocks. In ...
0
votes
1answer
213 views

Ethereum & IPFS Storage Question

Etherum vs IPFS for Long Terms Storage of Critical document files? Storing high priority files on the blockchain. I am also writing a smart contract for the files on Etherum. I have concerns about ...
1
vote
0answers
41 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
0answers
137 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 ...
2
votes
2answers
200 views

Possible to search swarm or blockchain?

I'm getting my feet wet in this blockchain world and looking to build a dapp based on Ethereum for maintaining an inventory of products. About 400,000 items that can be updated, removed or added to by ...
0
votes
0answers
162 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 ...
0
votes
1answer
369 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
24 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
3answers
241 views

Ethereum vs InterPlanetary

I've been reading about Ethereum and it's fundamentals for a while now. I wonder what is difference between Ethereum and InterPlanetary File System ?
1
vote
2answers
2k views

Uploading files on IPFS Infura

I am trying to make a dapp to upload files on IPFS Infura. I am using IpfsHttpClient in web browser by including the script <script src="https://unpkg.com/ipfs-http-client/dist/index.min.js">&...
0
votes
1answer
125 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
42 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. ...
1
vote
1answer
266 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
374 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
75 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....
0
votes
2answers
145 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
2answers
572 views

Upload a full directory to IPFS using ipfs (js-ipfs-http-client)

I want to upload a directory to ipfs on my browser using (js-ipfs-http-client) module. I found this old issue. https://github.com/ipfs/js-ipfs/issues/277 So I decided to use recursive way to add files ...
0
votes
1answer
542 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 ...
1
vote
1answer
274 views

No output when writing data to IPFS and storing its hash through Solidity

So I am using truffle. Following from Creating a form in IPFS for users to enter data [check the code in answer], doing some changes: Contract name - IpfsContract.sol test.js uses the following JSON ...
1
vote
1answer
221 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 ...
4
votes
1answer
2k 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 ...
2
votes
1answer
237 views

IPFS Config on windows 10

I'm trying to execute these commands on windows 10 ./ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]' ./ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods "[\"PUT\",...
0
votes
1answer
187 views

How can I connect my static page (Dapp) to my ipfs node?

The very naive way I'm going about it is: const node = new Ipfs({ host: "xxx.ip.address.xxx"}); When I save an image from the static page, it does give me an ipfs hash back and save it to the local ...
0
votes
0answers
45 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
13 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
48 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
34 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
59 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 ...

1
2 3 4 5 6