This NodeJs app leverages IPFS protocol for exchanging encrypted data between two parties. (Created as part of paper https://arxiv.org/abs/2012.05141)
-
Clone the repo and git checkout to branch ipfs
-
Install
npm
packages by runningnpm i
in your terminal.(Must havenpm
installed beforehand) -
After you have completed Step 1, run
ipfs daemon
in a terminal to spin up the ipfs server. (A peer CID will be assigned to you automatically.) You can check your node server by navigating tolocalhost:5001/webui/
-
Run
npm run dev
in a separate terminal to start the Developement NodeJS server atlocalhost:3000
-
You can use sample file in
files/
-
You're all set!