This package provides functionality to interact with the Pinata API and the Ethereum blockchain to upload NFTs.
npm install react-pinataimport Pinata from "react-pinata"
pinataJWT={}
buttonClassNames={}
formComponent={}
pinataOptions={}
pinataMetaData={}
nftDataJson={}
inputStyle={}
inputClassNames={}
buttonStyle={}
NFTContractInteraction={}
setMetaDataUrl={}
wrapperStyle={}
setFileURL={}
/>
pinataJWT - JWT token for authentication with Pinata API
buttonClassNames - class name for the List NFT button
formComponent - a React component that will be included in the form
pinataOptions - options for the file upload to Pinata IPFS
pinataMetaData - metadata for the file upload to Pinata IPFS
nftDataJson - metadata in JSON format for the NFT
inputStyle - style for the file input
inputClassNames - class name for the file input
buttonStyle - style for the List NFT button
NFTContractInteraction - function to interact with the NFT contract instance
setMetaDataUrl - function to set the metadata URL
wrapperStyle - style for the wrapper component
setFileURL - function to set the file URL