HOW TO ADD FILES TO IPFS

preview_player
Показать описание
A computer running IPFS can ask all the peers it's connected to whether they have a file with a particular hash and, if one of them does, they send back the whole file. Without a short, unique identifier like a cryptographic hash, that wouldn't be possible.

#blockchain #ipfs #storage

MY BOOK
This book is a step by step guide for everyone who wants to start as a blockchain developer. It was designed for those who have never programmed anything in blockchain and want to get started. I will cover everything from installing basic requirements to writing, testing and deploying smart contracts. I also cover topics like IPFS, ENS, Chainlink, Truffle, Ganache, OpenZeppelin, Pinata, Fleek, Infura, Metamask, Opensea, among others.

OUTLINE

Adding the file

00:00 - ipfs daemon
00:30 - The file was added to ipfs resulting in a hash identifier

Viewing the file content on the console

00:33 - ipfs cat "hash"
00:42 - You will see the file content be displayed

Checking the file in the web ui

00:54 - Click on "files"
00:58 - Click on "pins"
01:02 - Copy the hash
01:04 - Find by this hash, you can see that this hash exists
Viewing the file content in the browser

01:10 - Open a new tab
01:12 - ipfs://"hash"
01:18 - Now you can see your file content in the browser

Рекомендации по теме
Комментарии
Автор

Are you interested in getting started as an ethereum blockchain developer?
My ebook is designed for those who have never programmed anything in blockchain and want to get started. I will cover everything from installing basic requirements to writing, testing and deploying smart contracts. I also cover topics like IPFS, ENS, Chainlink, Truffle, Ganache, OpenZeppelin, Pinata, Fleek, Infura, Metamask, Opensea, among others.

techtips