Skip to content

krypc-code/ipfs-file-manager-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPFS File Manager Demo DApp

Introduction

Welcome to the IPFS File Manager Demo DApp, powered by KrypCore. This decentralized application (DApp) enables users to upload and retrieve files by implementing and demonstrating the capabilities of the InterPlanetary File System (IPFS), providing a seamless experience for decentralized file storage.

About

This project is part of a series dedicated to building decentralized applications (DApps) with KrypCore Web3. By leveraging Krypcore's IPFS Infrastructure APIs, developers can create applications that store files in a decentralized manner, ensuring data integrity and availability.

Features

  • Upload multiple files to IPFS
  • Display the hashes of uploaded files
  • Retrieve files from IPFS using their hash
  • Provide feedback on invalid files during the upload process

Getting Started

Prerequisites

  • Create an account on Krypcore Web3 to obtain the necessary Authorization Token and IPFS Endpoint URLs for your project.
  • Ensure Node.js v12 is installed on your system.
  • Familiarize yourself with React.js.

Installation

  1. Clone this repository:
git clone https://github.com/krypc-code/ipfs-file-manager-demo.git
  1. Navigate to the project directory:
cd ipfs-file-manager-demo
  1. Install dependencies:
npm install
  1. Create a .env file based on the .env.example file and replace the variables with the IPFS Endpoint URLs and Auth Token from your Krypcore Web3 dashboard.

Usage

  1. Start the development server:
npm start
  1. Access the application at localhost:3000.

IPFS HTTP API Used

  • add: Adds a file to IPFS and returns its hash.
  • get: Retrieves a file from IPFS using its hash.

Conclusion

We hope this guide helps you get started with creating your IPFS File Manager with Krypcore Web3. Feel free to customize it further or add any other APIs from our documentation for additional functionality. Join our developer community on Discord to discuss any DApp ideas you're building!

About

A sample React App that demonstrates the potential of IPFS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published