How to Save the Data in IPFS Using the Pinata(2023)

how-to-save-the-data-in-ipfs-using-the-pinata(2023)

Hello Everyone! Thank you for your interest in my article.
This is Crypto Ninja‘s first article.
And I hope my experience will help you.

In this guide you’ll learn how to create Pinata public and private Api keys and secret keys. We’ll also look at how to use these keys in NFT Marketplace.

Generally, developers save data in IPFS using the Infura.
But we can save the data using the Piñata.
If we use Piñata API, first we have to create account in Piñata Cloud.
If you create a piñata cloud account, you can see a screen as follows.
Image description

And then let’s create API Keys.
First click “Api keys” button on left slider bar and then click “New Key” button on right top.
You can see a screen as follows.

Image description

Type key name in “Key Name” field and then click “Create Key” button.
Now is important.
Image description

You can see three keys.(API Key, API Secret, JWT).
You have to copy and save these!

We just created piñata cloud account and API key, Secret key and JWT.
To be next, let’s see how to use these.

Image description

This is the Pinata.ts file.

Image description

This is the part that use Pinata API Key, Secret Key and JWT.

Image description

Image description

Until here, we saw how to create piñata cloud account and API Key, Secret Key and JWT and then how to use these.
Thank you again for your time to read my article.

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
new-product-launch-checklist:-how-to-plan-a-successful-launch

New Product Launch Checklist: How to Plan a Successful Launch

Next Post
road-map-to-become-a-web-developer

Road Map To Become a Web Developer

Related Posts