Skip to content

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

License

Notifications You must be signed in to change notification settings

codetit4n/IPFS-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published