Uploading files to IPFS - how to do it in a react app?

Опубликовано: 16 Март 2026
на канале: moderndev
2,646
28

Uploading files to IPFS

IPFS has developed a huge amount of files deployed there, as an excellent decentralised solution of storing data. Centralized databases with files as images and other meta data of NFTs are not a quite good way of performing web3 trend. True decentralisation gives ownership to the people, creators, not for the institutions which owns storages. These entities only can censor or delete any material pushed to their service.
IPFS prevents it, by implementing a fully distributed storage protocol, which allows to serve files peer-to-peer.
Let's see how implement a simple feature of uploading files to IPFS in react application.

⏰ Chapters
0:00 - Intro
0:32 - Preview
1:45 - Infura
3:40 - Template from GitHub
4:18 - env variables
5:10 - frontend
18:56 - Finish

Github repo:
https://github.com/Kacper-Hernacki/IP...