xternet / ipfs_upload

A direct way to publish file on IPFS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🔧 Instructions:

1. Enter project directory and install dependencies(works with node v14.17.0)

cd ipfs_upload && npm i

2. Install IPFS globally

npm i -g ipfs

3. In 1st terminal window run IPFS node

jsipfs daemon

if will not work, then:

ipfs daemon

4. In 2nd terminal window enter project directory and execute the script

cd ipfs_upload && node upload

More advanced example

About

A direct way to publish file on IPFS


Languages

Language:JavaScript 100.0%