Skip to content

imestin/DP-IPFS-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DP-IPFS-hello-world

Hello World application for the DP-IPFS Library research

Clicking "Upload Image" will run the equivalent of ipfs add picture.jpg in a temporary node that is created in the NodeJS application. The IPFS network is not obligated to store the file, so the picture might not be accessible after upload.

If we add the same file to our local IPFS repository the application will be able to load the picture, but it might take some 10-15 minutes for ipfs-desktop or other IPFS client to be fully functional.

There is an ipfs node running on the backend and the pictures that are in the example_images folder are pinned in that instance. The newly uploaded images won't be pinned, they exist only in the temporary js-ipfs instance.

The data contract creation is written in the README of the server folder.

There is a known bug about, limit parameter is used in utils/getDocument.js. I rewrote limit: 2 to limit: 1 (the docs says limit: 2), it does not seem to cause problems.

About

Hello World application for the DP-IPFS Library research

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published