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

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
7 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
0answers
16 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
21 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
11 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
5 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
0answers
16 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
31 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
14 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
75 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-...
2
votes
1answer
1k 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
16 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
35 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
13 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
12 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
24 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
87 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 ...
1
vote
1answer
588 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
69 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
71 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
61 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
98 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
36 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
292 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
49 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?
0
votes
0answers
20 views

I’m trying to build a versioning System using IPLD and IPFS .Is it possible to publish hashes from multiple users to the same IPLD object?

I’m using Ipfs-api from Infura for interaction .I’m able to create and upload files to the Ipld object .I want to store different versions of the same file on the object.These versions can be ...
0
votes
0answers
40 views

How to deploy my java web app on ipfs?

How to host my java web app onto decentrailsed network like ipfs as my web need a web server like tomcat to run and serve the dynamic content so how can i install tomcat on ipfs and push my war in it ...
2
votes
1answer
66 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
19 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
43 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
0answers
248 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
48 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
108 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
1answer
402 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
106 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 ...
2
votes
1answer
487 views

ipfs.infura.io for IPFS gateway and pinning

I'm using Infura API for initializing IPFS. IPFS uses garbage collector to clean 2 weeks old unpinned data in public gateway. So, if I'll pin my hash is it possible that IPFS will still delete my ...
0
votes
1answer
58 views

dApp design and security question

I'm designing a dApp where users can submit work they've done (files) to ipfs/swarm. To get credit for the work they then reference the hash of the files when calling a smart contract. What are some ...
1
vote
1answer
780 views

Replication of Files across a Private IPFS Network

I want to create a private IPFS Network in which nodes should be able to add data and share the Hash with other nodes in the network so that they will be able to access the files and make them ...
0
votes
1answer
304 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 ...
1
vote
1answer
41 views

Does it align with the base concept of blockchain, if one stores the hash value generated from IPFS network in a database?

A friend of mine utilized IPFS to store data files regarding some user info.But for an android application of the same, he retrieved all hash values(same user but different files) and stored it in a ...
1
vote
1answer
181 views

Implementing a state channel

I am trying to build a platform to play TicTacToe using DApps. The players invite others by placing a stake and then opponents accept it. The first turn is recorded on chain by calling a function in ...
1
vote
1answer
100 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
1answer
88 views

is it possible to use IPFS Hash to ensure file integrity?

My question is if i can use the IPFS Reference/Hash to ensure file integrity. In other words if i have a file can i use a specific Hashfunction to ensure that the generated Hash of that file is equal ...
0
votes
0answers
215 views

How to use the ipfs.get()?

I am new to IPFS. I added a file in IPFS and then, pinned it. Now, I am trying to retrieve the file. I am writing the code in React. Hence I used the following code: ipfs.get('/ipfs/...
0
votes
1answer
161 views

What's the difference between ipfs.infura.io vs ipfs.io

When saving ipfs hash, i find that ipfs.infura.io is x10 faster than ipfs.io. If the public gateway (ipfs.io) has a negative impact on user experience due to its slowness, why people would use that ...
1
vote
2answers
42 views

Does it align to the base concept of blockchain, if one stores the hash value generated from IPFS network in a database?

A friend of mine utilized IPFS to store data files regarding some user info.But for an android application of the same, he retrieved all hash values(same user but different files) and stored it in a ...
2
votes
1answer
112 views

Error while importing Libp2p package in blockchain

I have installed some js-libp2p's packages on my Ethereum Blockchain-ipfs project and I wrote some codes like below. const TCP = require('libp2p-tcp'); const MulticastDNS = require('libp2p-mdns'); ...
0
votes
1answer
81 views

Asymmetric encryption with master Key

Is there any way i can derive private and public keypairs from a Master Key? The Master Key should be able to decrypt every encryption made with the generated Keypairs. to explain a bit further i ...

1
2 3 4 5