Welcome to the Pinata Midwest Blockathon cheat sheet! This doc will have everything you need to know about:

  • Getting Started with Pinata
  • Challenge and Prizes
  • Tutorials and Guides

What is Pinata?

Pinata makes decentralized file uploads easy for developers who need fast and zero-setup soltuions. Our primary product, the IPFS API and SDK, makes it as simple as one line of code to upload a file:

const { cid } = await pinata.upload.public.file(file)

// bafkreib4pqtikzdjlj4zigobmd63lig7u6oxlug24snlr6atjlmlza45dq

Retreiving files is just as easy!

const { data, contentType } = await pinata.gateways.public.get(
  "bafkreib4pqtikzdjlj4zigobmd63lig7u6oxlug24snlr6atjlmlza45dq"
)

Built on years of experience with IPFS, Pinata has scaled companies to serve high volumes of requests and bandwidth, as well as developers who are just starting out. We want to help build the future of the web through decentralizedd applications!

Pinata Challenge

Build the best use case of Pinata’s APIs or SDKs in combination with blockchain. Pinata will judge based on:

  • Real world usefulness of the app
  • How integral Pinata was to building the app
  • Extensive use of Pinata features
  • Pure creativity used in the final product

Prizes

1st Place: $1000

2nd Place: $400

Quickstart

Sign Up for a Free Account!

Almost all of our features are on the free account, but if you find yourself limited and need a paid account contact [email protected]

Example Apps

Built specially for UGA Hacks, thedappbook is an example of a fullstack decentralized application.

dweb.mypinata

thedappbook

One big wall of posts using Ethereum and IPFS through Pinata

Contracts

Smart contract handles creating posts and records data to the blockchain, including the author’s wallet address, the offchain IPFS URI, and the timestamp of the post.

Client

Client allows a user to connect their wallet and write on the wall. Each post has a message and an optional image which are both uploaded to Pinata as a json file. Returned is an IPFS URL that is stored on the contract to optimize space

Server

Server provides an API endpoint where the client can get a temporary Pinata API key to handle uploads so our admin API key is not exposed on the client.

Tutorials

More Tutorials

Need Help?

We got troops on the ground! 🫡 Come find us at our table, shoot us an email, or chat with us on Discord!

Steve Simkins

Head of Developer Relations, Resident Hillbilly

Email: [email protected]


Kyle Tut

CEO, Vibe Dreamer

Email: No email, v exclusive, find the cowboy hat to chat