Get up and running with the Pinata IPFS SDK
The IPFS SDK is an all-in-one tool for everything you might need, from uploading content, using Gateways, even user or group management!
Install with your package manager of choice
Import and initialize the SDK in your codebase with the following variables
PINATA_JWT
is a secret key, be sure to initialize the SDK in a secure environment and practice basic variable security practices. If you need to upload from a client environment, consider using signed JWTsThis will return an object like the following
Use the cid
of a file to fetch it through a Gateway or create a URL to access it
Get up and running with the Pinata IPFS SDK
The IPFS SDK is an all-in-one tool for everything you might need, from uploading content, using Gateways, even user or group management!
Install with your package manager of choice
Import and initialize the SDK in your codebase with the following variables
PINATA_JWT
is a secret key, be sure to initialize the SDK in a secure environment and practice basic variable security practices. If you need to upload from a client environment, consider using signed JWTsThis will return an object like the following
Use the cid
of a file to fetch it through a Gateway or create a URL to access it