This Package is Used to Save any Type of File into IPFS.

dev-main 2022-08-08 12:01 UTC

This package is not auto-updated.

Last update: 2025-06-25 00:10:04 UTC


README

Note: This repository contains the core code of the hossein/ipfs package code.

Main Classes

StoreFileToIpfs

(methods: store, getCid)

RetrieveFileFromIpfs

(methods: getStoreData)

Methods Parameters:

1. store:

Accepts a file as input and returns a CID

2. getStoreData:

Receives a CID and returns the file content