DEV Community

Cover image for How to Save the Data in IPFS Using the Pinata(2023)
Jerome Pangilinan
Jerome Pangilinan

Posted on • Edited on

7 6 6 6 5

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 them.

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
Here is the repo
Until here, we saw how to create piñata cloud account and API Key, Secret Key and JWT and then how to use these Keys.
Thank you again for your time to read my article.

Image of Wix Studio

2025: Your year to build apps that sell

Dive into hands-on resources and actionable strategies designed to help you build and sell apps on the Wix App Market.

Get started

Top comments (8)

Collapse
 
pottoku profile image
Jason Aloyan

It really helped me

Collapse
 
vriusninja profile image
Kendy Wong

Your article is very useful.

Collapse
 
cryptoninja1210 profile image
Jerome Pangilinan

Thank you.

Collapse
 
jellyfish9629 profile image
jellyfish9629

Wow. Excellent, Brilliant, In a nutshell, your first blog is very good. Will see your after life successful. Good luck.
Image description

Collapse
 
sweetcoding115 profile image
Happy Coding • Edited

Congratulations on successfully building your first Open Source idea ! It's impressive to see how you did it in a short time. Your blog post provides valuable insights into your journey and the challenges you faced. Keep up the great work, and I look forward to seeing your future article!
Image description

Collapse
 
cryptoninja1210 profile image
Jerome Pangilinan

Thank you for your image.

Collapse
 
aokinorio profile image
AokiNorio

Thank you, Ninja.
It's so helpful. I hope your next article.

Collapse
 
cryptoninja1210 profile image
Jerome Pangilinan

Thank you for you reply. I will

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay