Questions tagged [pinata]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
49 views

I am trying to display image on frontend using pinata and ipfs but facing this error

import { useState } from "react"; import "./Display.css"; const Display = ({ contract, account }) => { const [data, setData] = useState("") const getdata = ...
Indul's user avatar
  • 9
0 votes
1 answer
36 views

Running in a isssue with tokenURI

I am running in a issue related to tokenURI(). This is my function: function initialize(string memory _baseUri) public initializer { __ERC721_init("GAME", "GM"); ...
Hacek 's user avatar
  • 665
0 votes
1 answer
13 views

Is there a problem with Pinata Discord Server?

I want to access their server but I am not able to do it. The link they have on their website keeps failing: https://discord.com/invite/pinata. Does anybody have a valid invite I can use?
Falcon Stakepool's user avatar
0 votes
1 answer
116 views

CORS policy error when trying to render image from pinata ipfs

pinata.js file const FormData = require("form-data"); export const uploadJSONToIPFS = async (JSONBody) => { const url = `https://api.pinata.cloud/pinning/pinJSONToIPFS`; //making ...
soumyadeep.eth's user avatar
0 votes
1 answer
21 views

Question on tokenUri

suppose I have 10 images in a folder, I got the CID of that folder by uploading it on pinata, what is the fastest way to get tokenURI for each images?
Hacek 's user avatar
  • 665
0 votes
0 answers
68 views

IPFS Node: when should I run my own node vs. using a third party service like Pinata?

I work for a gaming company and we will be managing thousands of in-game assets for our titles. This means we will need to store both the media and the metadata in IPFS for immutability. Each metadata ...
Falcon Stakepool's user avatar
0 votes
0 answers
640 views

JsonRpcEngine: Response has no error or result for request

I have an NFT marketplace project deployed on Vercel. I am having issue when minting the token. I upload them to Pinata without issue, the only thing when I call const tx = contract?.mintToken( ...
Yilmaz's user avatar
  • 1,540
0 votes
1 answer
96 views

fetching pinata works in dev environment but in production it does not?

I have an Nft contract and this is fetching on react.js const fetchNfts=async () => { const nfts = [] as Nft[]; const onSaleNfts = await contract!.getAllNftsOnSale(); for (let i = 0; i ...
Yilmaz's user avatar
  • 1,540
2 votes
1 answer
82 views

Is dedicated gateway a need for marketplace projects?

I am developing an NFT marketplace. It has a section showing images of NFTs ( NFTCards with some information ) of a specific contract address. Since the number of minted NFTs by the contract is high, ...
Sina Rahimi's user avatar
1 vote
2 answers
922 views

Access to XMLHttpRequest at pinata from origin blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

I was working on a NFT marketplace app using NextJS as frontend and Solidity as backend. When I tried to sell an NFT using the frontend UI, I encountered this error: Access to XMLHttpRequest at 'https:...
Will-Up-Vote-If-Good's user avatar
0 votes
1 answer
71 views

How to setup metadata on IPFS for newly generated metadata?

I've been studying on how devs usually go about handling the metadata for NFT collections and from what I've seen, this reply on this post sums up the whole process: Best way to set metadata in ERC721 ...
Rohac's user avatar
  • 1
0 votes
1 answer
197 views

I am facing issues with pinata upload, please could anyone help me?

Is there a problem with this code? const axios = require('axios'); const FormData = require('form-data'); export const uploadJSONToIPFS = async(JSONBody) => { const url = `https://api.pinata....
Vidhan Mangla's user avatar
0 votes
1 answer
182 views

What does pinning mean in Pinata and how is it different from Filecoin?

I recently came across pinata that is used for pinning the nfts and uses IPFS in the backend. My question is: what does that pinning actually mean? And if it is keeping pieces of the data in multiple ...
Aniket Kumar Paul's user avatar
0 votes
1 answer
804 views

How to pin a file to Pinata and also pin json to Pinata using next js

I am just wandering arround to find a way to pin the file to Pinata Though I have a method to do it from server side but don't know how to do it from client side like React.js: This is server side ...
ShoaibShebi's user avatar
0 votes
1 answer
155 views

Pinata doesn't work

I found that my images and metadata which uploaded to Pinata can't be showed currently. The website shows The images and metadata still can be viewed on Opensea. But I know that Opensea has its own ...
Emily Li's user avatar
1 vote
3 answers
1k views

How to upload folder of images using pinata - ipfs?

How to upload a folder of images, by giving only path using npm's pinata sdk ? I only want to give folder's path. using javascript.
Syed Murtaza Ali Shah's user avatar
0 votes
1 answer
438 views

How to upload NFT Metadata of multiple images after you get base-URI of folder using coding instead of manually doing it?

How to upload NFT Metadata of multiple images after you get base-URI of folder using coding instead of manually doing it ? So, After I upload my Image through Pinata/IPFS, I get a Base-URI. Now I want ...
Syed Murtaza Ali Shah's user avatar
1 vote
0 answers
161 views

IPFS: Add file in frontend through public gateway, pin file in backend by its CID

This is more of a generic question. I want to give people the chance to upload their file through my front-end using "ipfs-http-client": var ipfs = ipfsHttpClient.create('https://ipfs.infura....
Luex's user avatar
  • 51
1 vote
1 answer
915 views

Upload metadata as JSON to IPFS

I am uploading NFT-metadata files to the IPFS using Pinata-API and axios: var metadata = { "title": "Asset Metadata", "type": "object", &...
Luex's user avatar
  • 51
0 votes
1 answer
117 views

Piñata files not being found

I have uploaded two folders, one with .mp4 files and one with .png files. The name of each file ranges from 1 to 10000. But for some reason I can't access the files with this link pattern: ipfs://[...
n3n3's user avatar
  • 598