codetit4n / IPFS-upload

Simple react app to upload files to IPFS and get the IPFS hash - Using Infura APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPFS Upload - Using Infura API

  • This is a simple React App using which you can upload any file to IPFS and it will generate an IPFS hash and a link which can be then shared with people or used however you want.
  • Since, Infura discontinued its free IPFS service you will need an API key to use it.

Note

For WindowsOS use some linux based terminal emulator like WSL or GitBash

🎬 Demo Video

final.mov

🔧 Setting up Local Development

Required:

  1. Clone the repo and install node_modules
git clone https://github.com/codeTIT4N/IPFS-upload.git
cd IPFS-upload
yarn
  1. Rename the .env.example file to .env and set the secret variables accordingly.

You can get these by signing up for the infura IPFS service. It requires a credit card but they won't charge you until you cross the free 5GB limit.

  1. Run the application:
yarn start

The site is now running at http://localhost:3000! Open the source code and start editing!

About

Simple react app to upload files to IPFS and get the IPFS hash - Using Infura APIs

License:MIT License


Languages

Language:JavaScript 52.8%Language:HTML 30.7%Language:CSS 16.5%