The following project(not really a project, but a functionality) demonstrates uploading any kind of document using ipfs(interplanetary file system) on truffle framework.
To run this project, you should have the following installed:
- Truffle v5.1.23 (core: 5.1.23)
- Solidity v0.5.16 (solc-js)
- Node v10.20.1
- Web3.js v1.2.1
- Metamask extension (on whaterver browser you are using)
- Ganache
After above all dependencies are installed, please follow these steps:
STEP 1: Open Ganache
STEP 2: run on terminal: truffle migrate --reset
STEP 3: run on terminal: cd client
STEP 4: run on terminal: npm install
STEP 5: run on terminal: npm run start
Please feel free to create issues, and PRs.